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 CPXcopyprotected
is used to specify a set of
variables that should not be substituted out of the problem. If presolve can
fix a variable to a value, it is removed, even if it is specified in the
protected list.
Example
status = CPXcopyprotected (env, lp, cnt, indices);
env | A pointer to the CPLEX environment, as returned by |
lp | A pointer to a CPLEX LP problem object, as returned by |
cnt | The number of variables to be protected. |
indices | An array of length |