|
TOMLAB OPTIMIZATION ENVIRONMENT: minosLPTL |
minosLPTL
Purpose
TOMLAB MINOS LP Interface
Syntax
Result = minosLPTL(Prob);
Description
For a problem description, see lpAssign.
MINOS creates a print file (print.dat) and a summary
file (summary.dat).
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 from previous run.
hs State for solution and slacks from previous run.
nS Number of superbasics from previous run (always 0 for LP).
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 s tructure with optimization parameters.
MINOS keywords in optPar(#) - and the fields used in
optParam
# SPECS keyword text Lower Default Upper Comment
Printing
1. PRINT LEVEL 0 0 1 0=brief 1=LU stats
3. PRINT FILE 0 0 99 Fortran Unit #
4. SUMMARY FILE 0 0 99 Fortran Unit #
5. PRINT FREQUENCY 0 100
6. SUMMARY FREQUENCY 0 100
7. SOLUTION YES/NO 0 1 1 1 = YES; 0 = NO
8. SUPPRESS PARAMETERS 0 0 1 1 = True
Convergence Tolerances
10. OPTIMALITY TOLERANCE <0 1E-6
-optParam.eps_x
11. FEASIBILITY TOLERANCE <0 1E-6
-optParam.bTol
Scaling
18. SCALE OPTION 0 2 2 0,1,2
19. SCALE TOLERANCE <0 0.9 >1
20. SCALE PRINT 0 0 1 1 = True
Other Tolerances
21. CRASH TOLERANCE 0 0.1 >1
23. LU FACTOR TOLERANCE 1 100.0
24. LU UPDATE TOLERANCE 1 10.0
25 LU DENSITY TOLERANCE <0 0.5
26. LU SINGULARITY TOLERANCE <0 3.25E-11 eps^(0.67)
27. PIVOT TOLERANCE <0 3.25E-11 eps^(0.67)
-optParam.eps_Rank
LP parameters
28. CRASH OPTION 0 3 3 {0,1,2,3}
29. WEIGHT ON LINEAR OBJECTIVE 0.0 0.0 during Phase 1
30. ITERATION LIMIT 0 3m
-optParam.MaxIter
31. PARTIAL PRICE 1 10
Solve with tight or loose tols (applies to LP but probably not useful)
44. COMPLETION 0 1 1 0=PARTIAL 1=FULL
Frequencies
51. CHECK FREQUENCY <0 60
52. EXPAND FREQUENCY <0 10000
53. FACTORIZATION FREQUENCY <0 100
54. SAVE FREQUENCY <0 100
BASIS files
55. OLD BASIS file 0 0
56. NEW BASIS file 0 0
57. BACKUP BASIS file 0 0
58. INSERT file 0 0
59. PUNCH file 0 0
60. LOAD file 0 0
61. DUMP file 0 0
62. SOLUTION file 0 0
63. LU COMPLETE PIVOTING 0 0 1 1=complete,0=partial
or LU PARTIAL PIVOTING
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 Gradient c (linear objective).
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 minos.m (similar to TOMLAB).
Inform MINOS information parameter.
rc Reduced costs. If ninf=0, last m == -v_k.
Iter Number of iterations.
FuncEv Number of function evaluations. Set to Iter.
GradEv Number of gradient 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 (minos).
SolverAlgorithm Description of the solver.
The following output are set in the Result.SOL sub field
xs Solution and slack variables. hs State for variables and slacks in xs. nS # of superbasics. nInf # of infeasibilities. sInf Sum of infeasibilities.
See Also
lpAssign, LP-MINOS