Constructor
encapsulated function constructor import Modelica; import Optimisers; extends Modelica.Icons.Function; input Integer method = 1 "Method"; input Integer n = 2 "Problem dimension"; input Integer m = 0 "Number of constraints"; input Real rhobeg = 1e-2 "Initial trust region"; input Real rhoend = 1e-6 "End trust region"; input Integer maxfun = 5000 "Maximum evaluations"; input Integer npt = 2*n + 1 "Number of points (NEWUOA only)"; output Optimisers.Types.OptimiserObject opt; end constructor;