Originally posted by: SystemAdmin
>
> I sometime get error such as IloExtractable is not extractable... before I call getValue(myvar) (concert).
>
> my question is if myvar is used in objective function but not in constraints, is myvar extractable?
When you say "extractable" do you mean "extracted"? If myvar is used in the objective function but not in constraints, it
will be extracted when you create the instance of IloCplex from your IloModel (C++ API).
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)
#CPLEXOptimizers#DecisionOptimization