Originally posted by: yokito
Hello,
I have coded a program in CPLEX for the knasack problem. I would like to ask you about how to use the tuning tool because I have read the manual and I do not have much idea. Do I have to include an instruction to the solver? Or before? Does the tuning tool print me which parameter I should use?
void Solver::Solve(IloEnv& aEnv, IloModel& aMod)
{
IloCplex cplex(aMod);
try {
CreateVariables(aEnv,aMod);
CreateObjective(aEnv,aMod);
CreateConstraints(aEnv,aMod);
cplex.exportModel("model.lp");
cplex.setParam(IloCplex::TiLim, 7200); // 2 horas de límite
.....}
Thank you in advance and sorry so many questions
#CPLEXOptimizers#DecisionOptimization