A base class for optimization of an equation of multiple variables.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(in) | :: | this |
The equation_optimizer object. |
The maximum number of function evaluations.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(in) | :: | this |
The equation_optimizer object. |
True if the iteration status should be printed; else, false.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(in) | :: | this |
The equation_optimizer object. |
The tolerance.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(inout) | :: | this |
The equation_optimizer object. |
||
| integer(kind=int32), | intent(in) | :: | n |
The maximum number of function evaluations. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(inout) | :: | this |
The equation_optimizer object. |
||
| logical, | intent(in) | :: | x |
True if the iteration status should be printed; else, false. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(inout) | :: | this |
The equation_optimizer object. |
||
| real(kind=real64), | intent(in) | :: | x |
The tolerance. |
Describes the interface of a routine for optimizing an equation of N variables.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equation_optimizer), | intent(inout) | :: | this |
The equation_optimizer object. |
||
| class(fcnnvar_helper), | intent(in) | :: | fcn |
The fcnnvar_helper object containing the equation to optimize. |
||
| real(kind=real64), | intent(inout), | dimension(:) | :: | x |
On input, the initial guess at the optimal point. On output, the updated optimal point estimate. |
|
| real(kind=real64), | intent(out), | optional | :: | fout |
An optional output, that if provided, returns the value of the function at x. |
|
| type(iteration_behavior), | optional | :: | ib |
An optional output, that if provided, allows the caller to obtain iteration performance statistics. |
||
| class(errors), | intent(inout), | optional, | target | :: | err |
An error handling object. |