CPXXunscaleprob and CPXunscaleprob

The routine CPXXunscaleprob/CPXunscaleprob removes any scaling that CPLEX has applied to the resident problem and its associated data.

int CPXXunscaleprob( CPXCENVptrenv, CPXLPptrlp )

int CPXunscaleprob( CPXCENVptrenv, CPXLPptrlp )

Description

Warning:

This is an advanced routine. Advanced routines typically demand a thorough understanding of the algorithms used by CPLEX. Thus they incur a higher risk of incorrect behavior in your application, behavior that can be difficult to debug. Therefore, the team encourages you to consider carefully whether you can accomplish the same task by means of other Callable Library routines instead.

The routine CPXXunscaleprob/CPXunscaleprob removes any scaling that CPLEX has applied to the resident problem and its associated data. A side effect is that if there is a resident solution, any associated factorization is discarded and the solution itself is deactivated, meaning that it can no longer be accessed with a call to CPXXsolution/CPXsolution, nor by any other query routine. However, any starting point information for the current solution (such as an associated basis) is retained.

Arguments

env
The pointer to the CPLEX environment, as returned by CPXXopenCPLEX/CPXopenCPLEX.
lp
A pointer to a CPLEX LP problem object, as returned by CPXXcreateprob/CPXcreateprob.

Return

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