NO FRAMES

CPXvecwrite

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

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

Example

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

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

A character string containing the name of the file to which the solution information is to be written.

Returns:

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