XSLPgetslpsol
XSLPgetslpsol |
int XPRS_CC XSLPgetslpsol(XSLPprob Prob, double *x, double *slack, double *dual, double *dj);
Prob
|
The current SLP problem.
|
x
|
Double array of length
XSLP_ORIGINALCOLS to hold the values of the primal variables. May be
NULL if not required.
|
slack
|
Double array of length
XSLP_ORIGINALROWS to hold the values of the slack variables. May be
NULL if not required.
|
dual
|
Double array of length
XSLP_ORIGINALROWS to hold the values of the dual variables. May be
NULL if not required.
|
dj
|
Double array of length
XSLP_ORIGINALCOLS to hold the recuded costs of the primal variables. May be
NULL if not required.
|
XSLPprob prob; int nCol; double *val, *dj; XSLPgetintattrib(prob,XSLP_ORIGINALCOLS,&nCol); val = malloc(nCol*sizeof(double)); dj = malloc(nCol*sizeof(double)); XSLPgetslpsol(prob,val,NULL,NULL,dj);
© 2001-2019 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.