Previous Page: CPXreadcopytreeFirst PageNext Page: CPXrealloc

CPXreadcopyvec


Usage

Barrier Users Only

Description

Reads a file containing Barrier solution information which has been saved in a VEC file and copies the information into a CPLEX LP problem object. This routine is typically used to initiate a crossover from the Barrier solution.

Return Value

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

Synopsis

int CPXreadcopyvec (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 for the VEC file to be read.

Example

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

Previous Page: CPXreadcopytreeFirst PageNext Page: CPXrealloc