# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

3  Setting XA Options

All XA control parameters are possible to set from Matlab.

3.1  Setting options using the xaControl structure

The parameters can be set as subfields in the Prob.MIP.xaControl structure. The following example shows how to set a limit on the maximum number of iterations.
Prob = mipAssign(...)     % Setup problem, see help mipAssign for more information

Prob.MIP.xaControl.ITERATION = 20000; % Setting maximum number of iterations

The maximum number of iterations can also be done through the TOMLAB parameter MaxIter:
Prob.optParam.MaxIter = 20000;
In the cases where a solver specific parameter has a corresponding TOMLAB general parameter, the latter is used only if the user has not given the solver specific parameter.

A complete description of the available XA parameters can be found in Section 4.3.

3.2  IIS

Irreducible Infeasible Sets (IIS) can be found with TOMLAB /XA. There are two options available to the user. The first one delivers the infeasible rows from the last simplex tableau. The second one will try to find a minimal number of constraints that need to be removed or corrected to make the model feasible. There may be more sets that the one delivered. The inputs and outputs are explained in Section 4.2.




« Previous « Start » Next »