int QSopt_pivotin_row (QSprob p, int rcnt, int *rlist)
/* p is an initialized QSprob, a handle to an existing LP problem. */ /* Delete rows 1 and 3 from the LP, but to keep a basis for the */ /* modified problem, first pivot into the basis the logical */ /* variables associated with the two rows. */ int rval; int dellist[2] = { 1, 3 }; rval = QSopt_pivotin_row (p, 2, dellist); if (rval) { fprintf(stderr, "QSopt_pivotin_row failed with return code %d\n", rval); } else { rval = QSdelete_rows (p, 2, dellist); if (rval) { fprintf(stderr, "QSdelete_rows failed with return code %d\n", rval); } }