CPLEX Appendix G
From TomWiki
Jump to navigationJump to search
This page is part of the CPLEX Manual. See CPLEX. |
CPLEX Parameters Interface
Setting CPLEX Parameters in Matlab
The behavior of the CPLEX solver is controlled by means of a large number of parameters. It is possible to set all of these parameters from Matlab.
If using the cplexTL interface for solving problems defined in a TOMLAB Prob structure, the field Prob.MIP.cpxControl is used to set values for parameters. The user needs to set only those parameters that he/she wants to change. The non-TOMLAB format cplex.m interface has a corresponding input parameter, cpxControl.
When setting parameter values in the cpxControl structure, this prefix should be omitted. For example, to set the iterations for the dual simplex optimizer do:
>> cpxControl.ITLIM = 1000; >> cpxControl.LPMETHOD = 2;
The complete list of CPLEX parameters are given in below.