NO FRAMES

CPXreadcopytree

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

The routine CPXreadcopytree is used to read branch & cut progress information from a prior run, contained in a TRE format file, into a CPLEX problem object. The parameter CPX_PARAM_ADVIND must be set to CPX_ON (its default value), in order for the tree to be used for starting a subsequent optimization.

Example

 status = CPXreadcopytree (env, lp, "myprob.tre");

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 tree information should be read.

Returns:

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