NO FRAMES

CPXreadcopyorder

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

The routine CPXreadcopyorder reads an ORD file and copies the priority order information into a CPLEX problem object. The parameter CPX_PARAM_MIPORDIND must be set to CPX_ON (its default value), in order for the priority order to be used for starting a subsequent optimization.

Example

 status = CPXreadcopyorder (env, lp, "myprob.ord");

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

The name of the file from which the priority order and start values should be read.

Returns:

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