Originally posted by: Doal90
Dear All,
I'm new with the use of Cplex library. I'm using Cplex with C in a computer with windows.
My programm modelling a MIP problem.
|
IloEnv env; IloModel model(env); IloNumVar d(env, 0, INFINITY, ILOINT); IloNumVarArray Array(env); IloCplex cplex(model); IloObjective ObjFunc(env);
Array.add(IloNumVarArray(env, m*CAlf, 0.0 , 1.0 , ILOINT));
model.add (....);
model.add(IloMinimize(env, d));
cplex.solve();
|
I'm interested to see if my instances generate trees with many nodes (if b&c has difficulty to find the optimal solution).
My problem is that the algorithms that analyze the root node find immediately the solution of the instance. So I get a solution like this:
Root node processing (before b&c):
Real time = 0.20 sec. (30.32 ticks)
Parallel b&c, 4 threads:
Real time = 0.00 sec. (0.00 ticks)
Sync time (average) = 0.00 sec.
Wait time (average) = 0.00 sec.
-------
Total (root+branch&cut) = 0.20 sec. (30.32 ticks)
How can I change my programm to have Real time of Root node processing = 0.00 sec.(or something like that)? And to generate subproblems with primal simplex b&c after Cplex identifies a solution of the relaxed problem?
Best,
Alex
#CPLEXOptimizers#DecisionOptimization