Originally posted by: gear
Hello:
I'm new to CPLEX. I'm trying to use setnames for about one million variables. And
it takes for a long time. The code is following:
IloNumVarArray z(env,1,000,000,-IloInfinity,IloInfinity);
z.setNames("z");
I'm wondering if this is normal? Is there some way to speed this up?
Thanks!
#CPLEXOptimizers#DecisionOptimization