IBM Support

Parameter settings and reoptimizations.

Technote (FAQ)


When I reoptimize a model with a parameter value (e.g. CPX_PARAM_EPINT) changed, CPLEX doesn't seem to take into consideration this effect. Why?


CPLEX's behavior regarding reoptimizations and parameter settings depends on the algorithm and problem type. For MIPs, changing a parameter and reoptimizing typically invalidates the branch and bound tree associated with the previous optimization. So, if the advanced start indicator is on, CPLEX must choose between respecting the advanced start indicator and the new parameter settings. CPLEX chooses the advanced start indicator, so a previously optimal solution remains optimal. In contrast, with continuous models solved by the simplex method, the new parameter settings do not invalidate the previous optimization. Instead, CPLEX can apply them to the optimal basis and proceed. So, CPLEX will use the new settings as it reoptimizes. For the barrier method, CPLEX will always restart from scratch, as the barrier method currently lacks the restarting capabilities of the simplex method.

Therefore, this question only pertains to CPLEX's MIP optimizer. As long as the advanced start indicator is on, CPLEX will not start the second optimization if the first problem solved has not been changed. So, when you reoptimize the same MIP model with a changed parameter setting, you need to either turn the advance indicator parameter off (set CPX_PARAM_ADVIND to 0) or, remove the problem object from memory and re-load it. This way you will ensure that CPLEX solves the problem again.

Cross reference information
Segment Product Component Platform Version Edition
Commerce IBM ILOG CPLEX Optimization Studio General AIX, HP-UX, Linux, Solaris, Windows, Mac OS 12.2 All Editions

Historical Number


Document information

More support for: IBM ILOG CPLEX Optimization Studio
Callable Library

Software version: 6.6, 7.0, 7.1, 7.5, 8.0, 8.1, 9.0, 9.1, 9.1.2, 9.1.3, 9.2, 10.0, 10.1, 10.1.1, 10.2, 10.2.1, 10.3, 11.0, 11.0.1, 11.1, 11.1.1, 11.2, 11.2.1, 12.0, 12.1, 12.2, 12.3, 12.4, 12.5

Operating system(s): Platform Independent

Reference #: 1399964

Modified date: 02 January 2013

Translate this page: