functionconstructor
Constructor
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | method | 1 | Method |
| Integer | n | 2 | Problem dimension |
| Integer | m | 0 | Number of constraints |
| Real | rhobeg | 1e-2 | Initial trust region |
| Real | rhoend | 1e-6 | End trust region |
| Integer | maxfun | 5000 | Maximum evaluations |
| Integer | npt | 2*n + 1 | Number of points (NEWUOA only) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Optimisers.Types.OptimiserObject | opt |