|
TOMLAB OPTIMIZATION ENVIRONMENT: lpoptTL |
|
lpoptTL
Purpose
TOMLAB LPOPT LP Interface
Syntax
Result = lpoptTL(Prob);
Description
For a problem description, see lpAssign.
Input Parameters
Prob Problem structure in TOMLAB format.
Fields used in input structure Prob (call
Prob=lpAssign(...) or Prob=ProbDef; to define
Prob).
x_L, x_U Bounds on variables. b_L, b_U Bounds on linear constraints. A Linear constraint matrix. QP.c Linear coefficients in objective function. PriLevOpt Print Level. WarmStart If true, use warm start, otherwise cold start.
Fields used in Prob.SOL:
xs Solution (and slacks not used) from previous run (Warm start).
iState State for the constraints from previous run (Warm start).
SpecsFile Name of user defined SPECS file, read BEFORE optPar() is used.
PrintFile Name of SOL Print file. Amount and type of printing determined
by SPECS parameters or optPar parameters.
SummFile Name of SOL Summary File.
optPar Elements > -999 takes precedence over corresponding TOMLAB
params.
Description of the optPar vector
optPar is a structure with optimization parameters.
Fields not defined in optParam is defined by a call to
SOLSet.m
LPOPT keywords in optPar(#) - and the fields used in
optParam
# SPECS keyword text Lower Default Upper Comment
Printing
1. PRINT LEVEL 0 10 {0,1,5,10,20,30}
3. PRINT FILE 0 0 Fortran Unit #
SET BY INTERFACE IF PrintFile is given
4. SUMMARY FILE 0 0 Fortran Unit #
SET BY INTERFACE IF SummFile is given
10. OPTIMALITY TOLERANCE >0 1.1E-8 sqrt(eps)
-optParam.eps_x;
11. FEASIBILITY TOLERANCE >0 1.1E-8 sqrt(eps)
-optParam.bTol;
21. CRASH TOLERANCE >0 0.01 <1
27. RANK TOLERANCE >0 1.1E-14 100*eps
-optParam.eps_Rank;
30. ITERATION LIMIT >0 max(50,5(n+m))
-optPar(30)=optParam.MaxIter;
33. MIN SUM YES (or NO) 0 0 1 1=min infeas
IF 1 (MIN SUM YES), minimize the infeasibilities before return
36. FEASIBILITY PHASE ITERATIONS >0 max(50,5(n+m))
-optPar(36)=optParam.MaxMinorIter;
45. INFINITE STEP SIZE >0 1E20
51. CHECK FREQUENCY >0 50
52. EXPAND FREQUENCY >0 5
Output Parameters
Result Structure with results (see ResultDef.m):
f_k Function value at optimum.
x_k Solution vector.
x_0 Initial solution vector.
g_k Exact gradient (trivially c).
xState State of variables. Free == 0; On lower == 1; On upper == 2;
Fixed == 3;
bState State of linear constraints. Free == 0; Lower == 1; Upper == 2;
Equality == 3;
v_k Lagrangian multipliers (for bounds + dual solution vector).
ExitFlag Exit status from lpopt.m (similar to TOMLAB).
Inform LPOPT information parameter.
rc Reduced costs. If ninf=0, last m == -v_k.
Iter Number of iterations.
FuncEv Number of function evaluations. Set to Iter.
ConstrEv Number of constraint evaluations. Set to 0.
QP.B Basis vector in TOMLAB QP standard.
MinorIter Number of minor iterations. NOT SET.
Solver Name of the solver (LPOPT).
SolverAlgorithm Description of the solver.
The following output are set in the Result.SOL sub field
xs Solution and slack variables. iState State for variables and constraints in iState.
See Also
lpAssign, LPOPT, lpopt
![]() |
lpopt |