NO FRAMES

CPXdperwrite

int CPXPUBLIC CPXdperwrite(CPXCENVptr env, CPXLPptr lp, const char * filename_str, double epsilon)
Definition file: cplex.h
Include files: cplex.h

When solving degenerate linear programs with the dual simplex method, CPLEX may initiate a perturbation of the objective function of the problem in order to improve performance. The routine CPXdperwrite writes a similarly perturbed problem to a binary SAV format file.

Example

 status = CPXdperwrite (env, lp, "myprob.dpe", epsilon);

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 perturbed LP problem should be written.

epsilon

The perturbation constant.

Returns:

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