NO FRAMES

CPXuncrushpi

int CPXPUBLIC CPXuncrushpi(CPXCENVptr env, CPXCLPptr lp, double * pi, const double * prepi)
Definition file: cplex.h
Include files: cplex.h
Note

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

The routine CPXuncrushpi uncrushes a dual solution for the presolved problem to a dual solution for the original problem. This routine is for linear programs. Use CPXqpuncrushpi for quadratic programs.

Example

 status = CPXuncrushpi (env, lp, pi, prepi);

Parameters:

env

A pointer to the CPLEX environment, as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX LP problem object, as returned by CPXcreateprob.

pi

An array to receive dual solution (pi) values for the original problem as computed from the dual values of the presolved problem object. The array must be of length at least the number of rows in the LP problem object.

prepi

An array that contains dual solution (pi) values for the presolved problem, as returned by routines such as CPXgetpi and CPXsolution when applied to the presolved problem object. The array must be of length at least the number of rows in the presolved problem object.

Returns:

The routine returns zero on success and nonzero if an error occurs.