XPRSgetinfeas
XPRSgetinfeas |
int XPRS_CC XPRSgetinfeas(XPRSprob prob, int *npv, int *nps, int *nds, int *ndv, int mx[], int mslack[], int mdual[], int mdj[]);
prob
|
The current problem.
|
npv
|
Pointer to an integer where the number of primal infeasible variables is returned.
|
nps
|
Pointer to an integer where the number of primal infeasible rows is returned.
|
nds
|
Pointer to an integer where the number of dual infeasible rows is returned.
|
ndv
|
Pointer to an integer where the number of dual infeasible variables is returned.
|
mx
|
Integer array of length
npv where the primal infeasible variables will be returned. May be
NULL if not required.
|
mslack
|
Integer array of length
nps where the primal infeasible rows will be returned. May be
NULL if not required.
|
mdual
|
Integer array of length
nds where the dual infeasible rows will be returned. May be
NULL if not required.
|
mdj
|
Integer array of length
ndv where the dual infeasible variables will be returned. May be
NULL if not required.
|
A current problem is not available.
|
|
A solution is not available.
|
Tolerance on RHS.
|
|
Reduced cost tolerance.
|
int npv, nps, nds, ndv, *mx, *mslack, *mdual, *mdj; ... XPRSgetinfeas(prob, &npv, &nps, &nds, &ndv, NULL, NULL, NULL, NULL); mx = malloc(npv * sizeof(*mx)); mslack = malloc(nps * sizeof(*mslack)); mdual = malloc(nds * sizeof(*mdual)); mdj = malloc(ndv * sizeof(*mdj)); XPRSgetinfeas(prob, &npv, &nps, &nds, &ndv, mx, mslack, mdual, mdj);
© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.