Previous Page: CPXordwriteFirst PageNext Page: CPXpreslvwrite

CPXpperwrite


Description

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 CPXpperwrite() routine writes a similarly perturbed problem to a binary SAV format file.

Return Value

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

Synopsis

int CPXpperwrite (CPXENVptr env,
                  CPXLPptr lp,
                  char *filename,
                  double epsilon);

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

double epsilon
The perturbation constant.

Example

status = CPXpperwrite (env, lp, "myprob.ppe", epsilon);

Previous Page: CPXordwriteFirst PageNext Page: CPXpreslvwrite