NO FRAMES

CPXpperwrite

int CPXPUBLIC CPXpperwrite(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 primal simplex method, CPLEX may initiate a perturbation of the bounds of the problem in order to improve performance. The routine CPXpperwrite writes a similarly perturbed problem to a binary SAV format file.

Example

 status = CPXpperwrite (env, lp, "myprob.ppe", 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 problem should be written.

epsilon

The perturbation constant.

Returns:

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