 |
/* p is an initialized QSprob, a handle to an existing LP problem. */
int rval, nrows;
double *pi;
nrows = QSget_rowcount (p);
pi = (double *) malloc (nrows * sizeof (double));
rval = QSget_infeas_array (p, pi);
if (rval) {
fprintf (stderr,
"Could not get certificate, error code %d\n", rval);
}
free (pi);
|