NO FRAMES

CPXreadcopyvec

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

The routine CPXreadcopyvec reads Barrier solution information from a VEC format file and copies this information into a CPLEX problem object. This routine is typically used to initiate a crossover from the Barrier solution. The parameter CPX_PARAM_ADVIND must be set to 1 (one), its default value, in order for the vector file to take effect for starting a crossover.

Example

 status = CPXreadcopyvec (env, lp, "myprob.vec");

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 VEC file to be read.

Returns:

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