NO FRAMES

CPXreadcopymipstart

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

The routine CPXreadcopymipstart reads a MST file and copies the MIP start information into a CPLEX problem object. The parameter CPX_PARAM_ADVIND must be set to 1 (one), its default value, or 2 (two) in order for the MIP start to be used.

Example

 status = CPXreadcopymipstart(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 if successful and nonzero if an error occurs.