« Previous « Start » Next »
2 Using the Matlab Interface
The main routines in the two-layer design of the interface are
shown in Table
2. Page and section references
are given to detailed descriptions on how to use the routines.
The interface routines. |
|
Function |
Description |
Section |
|
minos |
The layer one Matlab interface routine, calls the
MEX-file interface minos.dll |
3.1.1 |
minosTL |
The layer two interface routine called by the
TOMLAB driver routine tomRun. This routine then calls minos.m.
|
3.1.2 |
|
minosLPTL |
The layer two TOMLAB interface routine that
calls minosLPTL.m. Converts the input Prob format before
calling minos.m and converts back to the output Result
structure. This option only handles linear programming problems |
3.2.1 |
minosQPTL |
The layer two TOMLAB interface routine that
calls minosQPTL.m. Converts the input Prob format before
calling minos.m and converts back to the output Result
structure. This option only handles quadratic programming
problems |
3.3.1 |
|
lpopt |
The layer one Matlab interface routine, calls the
MEX-file interface lpopt.dll |
3.4.1 |
lpoptTL |
The layer two interface routine called by the
TOMLAB driver routine tomRun. This routine then calls lpopt.m.
|
3.4.2 |
|
qpopt |
The layer one Matlab interface routine, calls the
MEX-file interface qpopt.dll |
3.5.1 |
qpoptTL |
The layer two interface routine called by the
TOMLAB driver routine tomRun. This routine then calls qpopt.m.
|
3.5.2 |
|
snopt |
The layer one Matlab interface routine, calls the
MEX-file interface snopt.dll |
3.6.1 |
snoptTL |
The layer two interface routine called by the
TOMLAB driver routine tomRun. This routine then calls snopt.m.
|
3.6.2 |
|
sqopt |
The layer one Matlab interface routine, calls the
MEX-file interface sqopt.dll |
3.7.1 |
sqoptTL |
The layer two interface routine called by the
TOMLAB driver routine tomRun. This routine then calls sqopt.m.
|
3.7.2 |
|
|
The SOL control parameters are possible to set from Matlab.
They can be set as inputs to the interface routine
minos for
example and the others. The user sets fields in a structure called
Prob.SOL.optPar, where the subfield names follow the SOL
standard for setting solver options. The following example shows
how to set the maximum number of iterations.
Prob.SOL.optPar(30) = 500; % Setting maximum number of iterations
« Previous « Start » Next »