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);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *filenameA character string containing the name of the file to which the perturbed LP problem should be written.
double epsilonThe perturbation constant.
status = CPXdperwrite (env, lp, "myprob.dpe", epsilon);