. The currently defined fields in the structure are shown
in Table
. The use of structure arrays make advanced result
presentation and statistics possible.
Results from many runs may be collected in an array of structures,
making postprocessing on all results easy.
-files, to enable fast restart (warm start) of the
solver. It is seldom the case that one knows that the solver
actually converged for a particular problem. Therefore one does
restarts until the optimum does not change, and one is satisfied
with the results. The information stored in the mat-file
. The information stored in the mat-file
. Different information is stored when using
glbFast and glcFast, see the solver reference.
Information stored in the optimization result structure Result . |
|
Field |
Description |
|
|
|
Name |
Problem name. |
|
P |
Problem number. |
probType |
TOMLAB problem type, according to Table 2.2. |
|
Solver |
Solver used. |
SolverAlgorithm |
Solver algorithm used. |
solvType |
TOMLAB solver type. |
|
ExitFlag |
0 if convergence to local min. Otherwise errors. |
ExitText |
Text string describing the result of the optimization. |
Inform |
Information parameter, type of convergence. |
|
CPUtime |
CPU time used in seconds. |
REALtime |
Real time elapsed in seconds. |
|
Iter |
Number of major iterations. |
MinorIter |
Number of minor iterations (for some solvers). |
|
maxTri |
Maximum rectangle size. |
|
FuncEv |
Number of function evaluations needed. |
GradEv |
Number of gradient evaluations needed. |
HessEv |
Number of Hessian evaluations needed. |
ConstrEv |
Number of constraint evaluations needed. |
ConJacEv |
Number of constraint Jacobian evaluations needed. |
ConHessEv |
Number of nonlinear constraint Hessian evaluations needed. |
|
ResEv |
Number of residual evaluations needed (least squares). |
JacEv |
Number of Jacobian evaluations needed (least squares). |
|
x_k |
Optimal point. |
f_k |
Function value at optimum. |
g_k |
Gradient value at optimum. |
B_k |
Quasi-Newton approximation of the Hessian at optimum. |
H_k |
Hessian value at optimum. |
|
y_k |
Dual parameters. |
v_k |
Lagrange multipliers for constraints on
variables, linear and nonlinear constraints. |
|
r_k |
Residual vector at optimum. |
J_k |
Jacobian matrix at optimum. |
|
Ax |
Value of linear constraints at optimum. |
c_k |
Value of nonlinear constraints at optimum. |
cJac |
Constraint Jacobian at optimum. |
|
x_0 |
Starting point. |
f_0 |
Function value at start i.e. f(x_0). |
c_0 |
Value of nonlinear constraints at start. |
Ax0 |
Value of linear constraints at start. |
|
xState |
State of each variable,
described in Table 26. |
bState |
State of each linear constraint, described in
Table 27. |
cState |
State of each general constraint, described in Table 28. |
|
p_dx |
Matrix where each column is a search direction. |
alphaV |
Matrix where row i stores the step lengths tried
for the i:th iteration. |
x_min |
Lowest x-values in optimization. Used for plotting. |
x_max |
Highest x-values in optimization. Used for plotting. |
LS |
Structure with statistical information for least squares problems, see Table 29. |
F_X |
F_X is a global matrix with rows: [iter_no f(x)]. |
SepLS |
General result variable with fields z and Jz .
Used when running separable nonlinear least squares problems. |
|
QP |
Structure with special fields for QP problems. Used for warm
starts, see Table 16. |
|
SOL |
Structure with some of the fields in the Prob.SOL
structure, the ones needed to do a warm start of a SOL solver,
see Table 21.
The routine WarmDefSOL moves the relevant fields back to
Prob.SOL for the subsequent call. |
|
DUNDEE |
Structure with special result fields from TOMLAB /MINLP solvers. |
|
plotData |
Structure with plotting parameters. |
|
Prob |
Problem structure, see Table A. Please note
that certain solvers that do reformulations of the problem, e.g.
L1Solve , infSolve and slsSolve ,
return the Prob structure of the reformulated problem in this field, not the original one. |
describes the state of each of the variables. In
Table
the different values are described. The different
conditions for linear constraints are defined by the state variable in field
. In Table
the different values are
described.