CPXXdperwrite and CPXdperwrite

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.

int  CPXXdperwrite( CPXCENVptr env, CPXLPptr lp, char const * filename_str, double epsilon )

int  CPXdperwrite( CPXCENVptr env, CPXLPptr lp, char const * filename_str, double epsilon )

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 CPXXdperwrite/CPXdperwrite writes a similarly perturbed problem to a binary SAV format file.

Arguments

env
A pointer to the CPLEX environment as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX problem object as returned by CPXXcreateprob/CPXcreateprob.
filename_str
A character string containing the name of the file to which the perturbed LP problem should be written.
epsilon
The perturbation constant.

Return

The routine returns 0 (zero) if successful and nonzero if an error occurs.

Example


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