Initializing help system before first use

XPRBreadbinsol

Purpose
Read a solution from a binary solution, loading it into the Optimizer.
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

© 2001-2024 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.