grsmoptimset
Specify the grsm optimization function options.
Syntax
options = grsmoptimset('option1', value1, 'option2', value2, ...)
Inputs
- optionN
- The name of option N.
- valueN
- The value of option N.
Outputs
- options
- A struct containing the options.
Examples
options = grsmoptimset('MaxIter', 200, 'Display', 'iter')
options = struct [
Display: iter
MaxIter: 200
]
Comments
The default value for MaxIter is 50.
The default value for MaxFail is 20000.
The default value for InitSamPnts is min(20,n+2)
, where n
is the number of variables.
The default value for TolCon is 0.5 (%).
The default value for MaxFail is 20000 (%).
The default value for PntsPerIter is 2.
The default value for StopNoImpr is 1000.
The default value for Seed is 0 (unrepeatable).
The default value for Display is 'off'.
TolCon only applies when grsm cannot find a feasible solution. In such cases, the function will return the best infeasible solution found within the allowed violation, along with a warning. The algorithm does not attempt to minimize the utilized violation. The TolCon value is applied as a percent of the constraint bound, with an absolute minimum of 1.0e-4 applied when the bound is zero or near zero.