Changing a CPLEX parameter value
Explains how to change a mathematical programming option in the IDE.
Changing CPLEX parameters is useful to experiment with
different values. The convenient way is to create a settings file
and a different run configuration for each value, or set of values,
you want to test. However, if you decide eventually that a particular
setting is always needed for the model concerned, you can even set
the parameter within the model by writing an execute IBM
ILOG Script block. For an example, see Changing CPLEX parameters in the Language User’s Manual.
In the scalableWarehouse example, if you increase the relative MIP gap tolerance to 0.05 (5%), the first solution found is immediately considered to be the final solution because it is at most 3.3333% from the optimal solution (as displayed in the notification message).
To set a CPLEX parameter in the IDE:
There are fewer solutions in the Solutions tab and in the Problem Browser list than when the gap tolerance was not user-defined.
You can now close the warehouse example.

