Previous Page: CPXreadcopysosFirst PageNext Page: CPXreadcopyvec

CPXreadcopytree


Usage

Mixed Integer Users Only

Description

The routine CPXreadcopytree() is used to read branch-and-bound progress information from a prior run, contained in a TRE format file, into a CPLEX LP problem object.

Return Value

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

Synopsis

int CPXreadcopytree (CPXENVptr env,
                     CPXLPptr lp,
                     char *filename);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXLPptr lp
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

char *filename
The name of the file from which the tree information should be read.

Example

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

Previous Page: CPXreadcopysosFirst PageNext Page: CPXreadcopyvec