int QSnew_row (QSprob p, double rhs, char sense, const char *name)
/* Assume p is initialized to the problem in the QSload_prob example. */ /* Add a >= constraint, with right-hand-side value 6.0 (and no name */ /* specified for the row). */ int rval; rval = QSnew_row (p, 6.0, 'G', (const char *) NULL); if (rval) { fprintf (stderr, "QSnew_row failed with return code %d\n", rval); }