The performance of DNOPT is controlled by a number of options. Each option has a keyword and default value that should be appropriate for most problems, but can be initialized directly by the user. The user can specify options in two ways:
by calling subroutine
dnSpecFto read an options file, or
by calling option-setting routines
Current values of an option may be examined by calling one of the
Major print level
Controls the amount of output for the PRINT and SUMMARY files at each major iteration (default: 1).
Minor print level
Controls the amount of output for the PRINT and SUMMARY files at each minor iteration (default: 1).
Specify the PRINT file unit number. A value of 0 suppresses output to the PRINT file.
Specify the SUMMARY file unit number. A value of 0 suppresses output to the SUMMARY file.
A line of the QP iteration log is output every specified iteration to the PRINT file. Suppressed if Minor Print Level = 0 (default: 100).
A line of the QP iteration log is output every specified minor iteration to the SUMMARY file. Suppressed if Minor Print Level = 0 (default: 100).
Print the solution to the PRINT file (default: yes).
Suppress options listings
Options are normally listed in the PRINT file. This option will suppress that output.
A ‘Yes’ setting will provide additional information on the progress of the iteration (default: no).
Specify that the problem is a minimization (or maximization) problem (default: minimize).
The objective function is ignored and the solver attempts to find a feasible point for the linear and nonlinear constraints.
Define the value for an “infinite” bound (default: 1.0d+20).
Major feasibility tolerance
Tolerance for feasibility of the nonlinear constraints (default: 1.0e-6).
Major optimality tolerance
Tolerance for the dual variables (default: 1.0e-6).
Minor feasibility tolerance
Tolerance for the variables and their bounds. General linear constraints should satisfy their bounds within this tolerance (default: 1.0e-6).
Specify the level of the finite-difference checks on the derivatives computed by the user-defined routines. “-1” turns off checking. “0” performs a “cheap” check. “1” checks objective gradient. “2” checks the columns of the Jacobian. “3” checks everything. (default: 0)
Start objective check at col
Specify the starting point for the derivative checks on the objective gradient (default: 1).
Stop objective check at col
Specify the end point for the derivative checks on the objective gradient (default: n).
Start constraint check at col
Specify the starting point for the derivative checks on the Jacobian columns (default: 1).
Stop constraint check at col
Specify the end point for the derivative checks on the Jacobian columns (default: n).
Specify the scaling algorithm. “0” means no scaling. “1” scales the linear constraints and variables. “2” scales all constraints and variables. Scaling is done by an iterative procedure controlled by the Scale Tolerance (default: 0).
The scale tolerance controls the iterative procedure (default: 0.9).
If this option is specified, then the row and column scales are printed to the PRINT file.
The CRASH procedure selects an initial basis from the constraint matrix. This option determines which rows and columns of the matrix are eligible initially. “0” means the initial basis contains only slack variables. “1” means CRASH is called once and looks for a triangular basis in all rows and columns of (A). “2” means CRASH is called twice if there are nonlinear constraints. Each call looks for a triangular basis in the linear rows and then the nonlinear rows. “3” calls CRASH three times - the first two calls treat linear equalities and linear inequalities separately. The last call treats the nonlinear rows. (default: 3)
This tolerance controls whether “small” columns of the constraint matrix are ignored (default: 0.1)
Determines the initial weight associated with the “elastic” problem solved by DNOPT. Please refer to the user’s guide for more info. (default: 1.0e+4)
Maximum number of minor iterations (iterations in the LP/QP algorithm) allowed (summed over all major iterations). (default: 10000 or 20m)
Cold Start/Warm Start
Takes precedence over Start argument. A Cold Start means no basis information is provided by the user and the CRASH procedure is used to find the initial basis. A Warm start means basis information is provided to DNOPT. (default: Cold)
Specify a time limit in seconds. “0” means no time limit. The time is checked every 20 minor iterations so this limit may not be strictly met. (default: 0)
Major iterations limit
Limit on the number of major iterations in the SQP method. (default: 1000 (or m if larger))
Minor iterations limit
Specify the limit on minor iterations in the QP subproblems. Iterations limit specifies an independent <i>absolute</i> limit on the total number of minor iterations. (default: 500 (or 3m if larger))
Specifies which nonlinear function gradients are known and supplied to DNOPT by the user. “0” means some components of the objective gradient and constraint gradients are unknown. “1” means the objective gradient is known, but some or all constraint gradients are unknown. “2” means the constraint gradient is known, but some or all objective gradients are unknown. “3” means all gradients are known. Unknown components are estimated via finite differences (default: 3).
Derivative linesearch uses function and gradient values to compute the step value. Nonderivative linesearch will use quadratic interpolation, which does not require gradient evaluations. (default: Derivative)
Intended to be a measure of the relative accuracy of the nonlinear functions. (default: 3.0e-13)
Specifies the interval used to estimate gradients by forward differences. (default: 5.5e-7)
Central difference interval
Specifies the interval used to estimate gradients by central differences. (default: 6.7e-5)
Defines unboundedness in the objective function. (default: 1.0e+15)
Unbounded step size
Used to detect unboundedness in the step size computed by a linesearch. (default: 1.0e+18)
Hessian quasi/exact memory
Specify whether a quasi-Newton BFGS method will be used to approximate the Hessian of the Lagrangian or the exact Hessian will be used.
If “Hessian quasi” is specified, then this specifies the number of BFGS updates done before the Hessian approximation is reset. (default: 999999)
If “Hessian quasi” is specified, then this specifies the number of BFGS updates done before all but the diagonal elements of the Hessian approximation are discarded. (default: 10)
Row residuals (Ax - s) are checked every specified iteration. (default: 60)
Part of the EXPAND anti-cycling procedure designed to make progress even on highly degenerate problems. (default: 10000)
Specifies the limit on basis changes that will occur between factorizations of the basis matrix. (default: 50 (100 for LPs))
User-defined parameters may be modified so that they lie in a sensible range. If this option is set to “Yes”, then these values are returned at the end of a run. A value of “No” means the original user-defined values are saved and returned. (default: No)
Controls printing of times. A value of “0” suppresses the output. (default: 3).