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 routine CPXdperwrite() 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 (CPXCENVptr env,
                    CPXLPptr lp,
                    const char *filename_str,
                    double epsilon);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXLPptr lp

A pointer to a CPLEX problem object as returned by CPXcreateprob().

const char *filename_str

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: CPXdisplayiis Return to Top Next Page: CPXdualopt