NO FRAMES

CPXmstwritesolnpool

public int CPXmstwritesolnpool(CPXCENVptr env, CPXCLPptr lp, int soln, const char * filename_str)
Definition file: cplex.h

The routine CPXmstwritesolnpool writes a MIP start, using either the current MIP start or a MIP start from the solution pool, to a file in MST format.

The MST format is an XML format and 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.

See Also:

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to the CPLEX problem object as returned by CPXcreateprob.

soln

An integer specifying the index of the solution pool MIP start which should be written. A value of -1 specifies that the current MIP start should be used instead of a solution pool member.

filename_str

A character string containing the name of the file to which the MIP start information should be written.

Returns:

The routine returns zero if successful and nonzero if an error occurs.