Originally posted by: SystemAdmin
I am not a C# expert but it
seems to me like this could work:
// Create the "foundation" model.
Cplex foundation = new Cplex();
...
// Now create a copy in a new cplex object.
Cplex cplex = new Cplex();
cplex.SetModel((IModel)cplex.GetClone(foundation.GetModel()));
I did not try it myself though.
#CPLEXOptimizers#DecisionOptimization