Previous Page: CPXstrlenFirst PageNext Page: CPXvecwrite

CPXtreewrite


Usage

Mixed Integer Users Only

Description

The routine CPXtreewrite() is used to save a TRE file containing information about the branch-and-bound path or "tree" for the current problem.

Return Value

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

Synopsis

CPXtreewrite (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
A character string containing the name of the file to which the tree information should be written.

Example

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

Previous Page: CPXstrlenFirst PageNext Page: CPXvecwrite