Originally posted by: SystemAdmin
>
> Assume you are given a set of models which you want to solve with given parameters in an iterative procedure.
> One knows which variables are zero and not required in such huge model and which are not BUT this changes iteration to iteration.
> How can one efficiently preprocess the model while NOT putting additional burden of returning the removed columns to model later on at the next iterations.
C++ API? You can set the bounds of the corresponding variables to zero with the IloNumVar::setBounds method (or the same method for integer/boolean variables). The model will communicate that to the extracted CPLEX object.
/Paul
Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
#DecisionOptimization#MathematicalProgramming-General