Tuning an Optimizer 
Top Previous Next 
There are a number of properties on the Optimizer object and related objects that can be adjusted to customize the optimization process, some of which will be discussed here. For a full list of properties and methods, see the object pages for the Optimizer, OptimizationStateVariable, and OptimizationConstraint objects.
Tuning Parameters The following tuning parameters can be tailored to specific optimization processes to improve the Optimizer object's performance.
ScalingThere are a number of properties related to scaling the optimization problem that can be used to preserve better matrix conditioning and improve chances of convergence for the process. State variables and constraints that have been added to an optimization process have a Scale property that the user can adjust as needed so that the partial derivatives that will populate the scaled Jacobian will be on the order of 1.
Note that the Scale set for each constraint or state variable will affect the entire row or column, respectively, of the Jacobian. Each element of the scaled Jacobian matrix is calculated as follows:
When these elements are on or near the scale of 1, the matrix is considered to be wellconditioned, meaning that its inverse can be computed with good accuracy and the problem is more likely to be able to converge on a solution.
The same concept can be applied to the gradient with the ObjectiveFunctionScale property on the Optimizer object:
These scales are reflected in the readonly ScaledGradient and ScaledJacobian properties on the Optimizer, which can be reported during the optimization process.
FeasibilityToleranceThis property is used to set the tolerance for determining a feasible solution, and is applied slightly differently depending on which thirdparty optimization engine is loaded (see the FeasibilityTolerance property page for more information). Note that this tolerance is applied to the scaled bounds.
MaximumNominalEvaluationCountThis property sets the maximum number of nominal evaluations that will be performed before the optimization process is terminated.
See Also
