Overview | Group | Index | Concepts |
The routine CPXsolwrite
is used to write a solution file
for the selected CPLEX problem object. The routine can write files in
SOL format, which is an XML format.
The XML format is documented in the stylesheet
solution.xsl
and schema solution.xsd
in the include
directory of the CPLEX distribution.
ILOG CPLEX File Formats also documents this format briefly.
Examples of its use appear in the examples distributed with the product and
in the ILOG CPLEX User's Manual.
Example
status = CPXsolwrite (env, lp, "myfile.sol");
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
filename_str | A character string containing the name of the file to which the solution should be written. |