Skip to content
Advertisement

Tag: cplex

How to obtain all IloNumVar from IloModeler or IloCplex

we have a client who gives us a IloModeler and we use that to solve the optimization problem doing this: and, at the end we would like to return to the client a map with all IloNumVar and their value: Map<IloNumVar, Double>. But the issue is: How can we obtain from the original IloModeler the list of all IloNumVar in

Advertisement