NO FRAMES

CPXreadcopymipstart

int CPXPUBLIC CPXreadcopymipstart(CPXCENVptr env, CPXLPptr lp, const char * filename_str)
Definition file: cplex.h
Include files: cplex.h

The routine CPXreadcopymipstart reads a MST file and copies the MIP start information into a CPLEX problem object. The parameter CPX_PARAM_MIPSTART must be set to CPX_ON, in order for the MIP start information to be used for starting a subsequent optimization. The default value for the parameter is CPX_OFF.

Example

 status = CPXreadcopystart(env, lp, "myprob.mst");

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

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

filename_str

A string containing the name of the MST file.

Returns:

The routine returns zero on success and nonzero if an error occurs.