@@ -85,8 +85,8 @@ const LinearConstraints = Tuple{AbstractMatrix{<:Real},AbstractVector{<:Real}}
85
85
86
86
# Default settings.
87
87
default_npt (x:: AbstractVector{<:Real} ) = 2 * length (x) + 1
88
- const default_maxfun_dim_relative = 500
89
- default_maxfun (x:: AbstractVector{<:Real} ) = default_maxfun_dim_relative * length (x)
88
+ const default_maxfun_relative = 500
89
+ default_maxfun (x:: AbstractVector{<:Real} ) = default_maxfun_relative * length (x)
90
90
const default_scale = nothing
91
91
const default_rhobeg = 1.0
92
92
const default_rhoend_relative = 1e-6
@@ -139,10 +139,10 @@ Allowed keywords are (`n = length(x)` is the number of variables):
139
139
algorithm is stopped as soon as `f(x) ≤ ftarget` and the status
140
140
`PRIMA.FTARGET_ACHIEVED` is returned.
141
141
142
- - `maxfun` (default `$default_maxfun_dim_relative *n`) is the maximum number of function evaluations
143
- allowed for the algorithm. If the number of calls to `f(x)` exceeds this
144
- value, the algorithm is stopped and the status `PRIMA.MAXFUN_REACHED` is
145
- returned.
142
+ - `maxfun` (default `$default_maxfun_relative *n`) is the maximum number of
143
+ function evaluations allowed for the algorithm. If the number of calls to
144
+ `f(x)` exceeds this value, the algorithm is stopped and the status
145
+ `PRIMA.MAXFUN_REACHED` is returned.
146
146
147
147
- `iprint` (default value `PRIMA.MSG_NONE`) sets the level of verbosity of the
148
148
algorithm. Possible values are `PRIMA.MSG_EXIT`, `PRIMA.MSG_RHO`, or
0 commit comments