CPLEX Appendix G

From TomWiki
Revision as of 10:02, 17 August 2011 by Elias (talk | contribs) (Created page with "{{Part Of Manual|title=the CPLEX Manual|link=CPLEX}} ==CPLEX Parameters Interface== ===Setting CPLEX Parameters in Matlab=== The behavior of the CPLEX solver is contr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Notice.png

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.

The CPLEX Parameter Table

Parallel mode