XPRSgetmipsolval
XPRSgetmipsolval |
Purpose
Used to obtain a single solution value of the last MIP solution that was found.
Synopsis
int XPRS_CC XPRSgetmipsolval(XPRSprob prob, int col, int row, double *x, double *slack);
Arguments
prob
|
The current problem.
|
col
|
Column index of the variable for which to return the solution value.
|
row
|
Row index of the constraint for which to return the solution value.
|
x
|
Double pointer where the value of the primal variable will be returned. May be
NULL if not required.
|
slack
|
Double pointer where the value of the slack variable will be returned. May be
NULL if not required.
|
Related topics