Originally posted by: an_drade
Dear friends,
I have a question that sounds a little silly but, in fact, I could not find the proper answer (I am using the C++ interface, Cplex 12.6.0/1).
I would like to make copies/clones from a given model and, for each one, set bounds for different variables for each one and then, solve them. The trivial way to do that is to load my model (MPS file) multiple times, creating multiple copies of the variables. In this way, when setting the bounds for a variable, the bounds will be enforced in the model that that variable belongs.
Is there a way to not create the multiple copies of the variables? For example, for a given model, I may query for a variable of index i, set its bounds for that model specifically, without afftecing the other models.
Thanks in advance.
My best,
Carlos
#CPLEXOptimizers#DecisionOptimization