Utility classes#
These classes are used by the optimizers in PDFO.
The bound, linear, and nonlinear constraints are represented by the Bounds
, LinearConstraint
, and NonlinearConstraint
classes, respectively.
Similar classes are also available in scipy.optimize
, except that the ones below do not have derivative arguments, as PDFO does not use derivatives.
You can use either these classes or those provided by SciPy when calling pdfo
, bobyqa
, lincoa
, and cobyla
.
|
Simple bound constraints. |
|
Linear inequality and equality constraints. |
|
Nonlinear inequality and equality constraints. |
Result structure of the DFO algorithms. |