Originally posted by: Zacharie_ALES
Hello,
To avoid memory leaks, I only use one cplex object that I reinitialize via the clearModel() and clearCallback() methods each time I want to solve a new problem.
However the parameters of the cplex object do not seem to be reinitialized. Do you know if it's possible to set all the parameters to their default value ?
I tried to use IloCplex.getParameterSet(), but it does not seem to work. Indeed, the following code throw an exception at the third line : "Parameter not in ParameterSet" :
IloCplex c = new IloCplex();
ParameterSet s = c.getParameterSet();
System.out.println(s.getParam(IloCplex.DoubleParam.TiLim));
Thanks in advance.
#CPLEXOptimizers#DecisionOptimization