CPXXpperwrite and CPXpperwrite

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.

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

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

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 routine CPXXpperwrite/CPXpperwrite 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 problem should be written.
epsilon
The perturbation constant.

Return

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

Example


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