Previous Page: CPXtreewriteFirst PageNext Page: CPXversion

CPXvecwrite


Usage

Barrier Users Only

Description

The routine CPXvecwrite() is used to write solution information from a Barrier optimization (without crossover, using CPXbaropt()) into a VEC format file. The VEC file can later be read back into CPLEX for a crossover.

Return Value

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

Synopsis

int CPXvecwrite (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 solution information should be written.

Example

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

Previous Page: CPXtreewriteFirst PageNext Page: CPXversion