 |
 |
 |
 |
Purpose |
 |
 |
Return the number of non-zeros in the constraint matrix.
|
 |
Synopsis |
 |
 |
int QSget_nzcount (QSprob p)
|
 |
Arguments |
 |
p |
 |
a handle to an initialized problem. |
|
 |
Returns |
 |
 |
The number of non-zero entries in the constraint matrix. If p has not been initialized, QSget_nzcount will return 0.
|
 |
Description |
 |
 |
The value returned by QSget_nzcount is the number of non-zero entries in the constraint matrix, it does not include the non-zero coefficients in the objective function.
|
 |
Example |
 |
 |
/* p is an initialized QSprob, a handle to an existing LP problem */
int nzcount;
nzcount = QSget_nzcount (p);
printf ("Number of non-zero constraint coefficients: %d\n", nzcount);
|
 |