Previous Page: CPXdisplayiisFirst PageNext Page: CPXdualopt

CPXdperwrite


Description

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 CPXdperwrite() 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 CPXdperwrite (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 LP problem should be written.

double epsilon
The perturbation constant.

Example

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

Previous Page: CPXdisplayiisFirst PageNext Page: CPXdualopt