XPRBreadbinsol
XPRBreadbinsol |
Purpose
Synopsis
int XPRBreadbinsol(XPRBprob prob, const char *fname, const char *flags);
Arguments
prob
|
Reference to a problem.
|
fname
|
Name of the solution file. May be
NULL or the empty string if the problem name is to be used. If omitted, the extension .sol will be appended.
|
flags
|
Flags to control solution import. If no flags need to be specified, use either
NULL or the empty string. Refer to function
XPRSreadbinsol in the `Xpress Optimizer Reference Manual' for details.
|
Return value
0 if function executed successfully, 1 otherwise.
Example
This example reads a solution from file
example2.sol.
XPRBprob expl2; expl2 = XPRBnewprob("example2"); ... XPRBreadbinsol(expl2, "", "");
Related topics