Usage
Barrier Users OnlyDescription
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);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *filenameA character string containing the name of the file to which the solution information should be written.
status = CPXvecwrite (env, lp, "myprob.vec");