Originally posted by: SystemAdmin
Hi
I am trying to solve a MIP by using Lagrangian decomposition. To implement the lagrangian decomposition I have to create four model. Part of the main Pseodocode could be look like this:
try
{
Create model1; //LP relaxation of generic model
Solve.model1;
Create model2; // model based on generic model to calculate upper bound
Solve.model2;
Create model3.// subproblem1
Solve.model3;
Create.model4// subproblem 2
}
catch(IloException& e) {
cerr << " ERROR: " << e << endl;
}
catch(...) {
cerr << " ERROR" << endl;
}
env.end();
return 0;
}
I can solve each model individually within a minuet for my dataset but I can't solve all these model together. Since I have to use output of model as input to another model, I need to run all these models together. The cplex error says “out of memory”.
Can anyone please tell me what could be reason behind it?
Thanks in advance.
Roni
#CPLEXOptimizers#DecisionOptimization