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 CPXcrushform
crushes a linear formula of the
original problem to a linear formula of the presolved problem.
Example
status = CPXcrushform (env, lp, len, ind, val, &plen, &poffset, pind, pval);
env | A pointer to the CPLEX environment, as returned by |
lp | A pointer to a CPLEX LP problem object, as returned by |
len | The number of entries in the arrays |
ind | An array to hold the column indices of coefficients in the array |
val | The linear formula in terms of the original problem. Each entry, |
plen_p | A pointer to an integer to receive the number of nonzero coefficients, that is, the true length of the arrays |
poffset_p | A pointer to a double to contain the value of the linear formula corresponding to variables that have been removed in the presolved problem. |
pind | An array to hold the column indices of coefficients in the presolved problem in the array |
pval | The linear formula in terms of the presolved problem. Each entry, |