Overview | Group | Tree | Graph | Index | Concepts |
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 CPXcrushx
crushes a solution for the original
problem to a solution for the presolved problem.
Example
status = CPXcrushx (env, lp, origx, reducex);
env | A pointer to the CPLEX environment, as returned by |
lp | A pointer to a CPLEX LP problem object, as returned by |
x | An array that contains primal solution (x) values for the original problem, as returned by routines such as |
prex | An array to receive the primal values corresponding to the presolved problem. The array must be of length at least the number of columns in the presolved problem object. |
See admipex6.c
in the CPLEX User's Manual.