Initializing help system before first use

XPRBreadslxsol

XPRBreadslxsol


Purpose
Read a solution from an ASCII solution file (.slx), loading it into the Optimizer.
Synopsis
int XPRBreadslxsol(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 .slx 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 XPRSreadslxsol 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.slx.
XPRBprob expl2;
expl2 = XPRBnewprob("example2");
 ...
XPRBreadslxsol(expl2, "", "");
Related topics