OptimumSolver Class Reference
The friendly interface to all optimisation algorithms. More...
#include <OptimumSolver.hpp>
Public Member Functions | |
| OptimumSolver () | |
| Construct a default OptimumSolver instance. | |
| OptimumSolver (OptimumMethod method) | |
| Construct an OptimumSolver instance with given method. | |
| OptimumSolver (const OptimumSolver &other) | |
| Construct a copy of an OptimumSolver instance. | |
| virtual | ~OptimumSolver () |
| Destroy this OptimumSolver instance. | |
| auto | operator= (OptimumSolver other) -> OptimumSolver & |
| Assign a copy of an OptimumSolver instance. | |
| auto | setMethod (OptimumMethod method) -> void |
| Set the optimisation method. | |
| auto | approximate (const OptimumProblem &problem, OptimumState &state) -> OptimumResult |
| Find an initial guess for an optimisation problem. More... | |
| auto | approximate (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult |
| Find an initial guess for an optimisation problem with given options. More... | |
| auto | solve (const OptimumProblem &problem, OptimumState &state) -> OptimumResult |
| Solve an optimisation problem. More... | |
| auto | solve (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult |
| Solve an optimisation problem with given options. More... | |
| auto | dxdp (const Vector &dgdp, const Vector &dbdp) -> Vector |
Return the sensitivity dx/dp of the solution x with respect to a vector of parameters p. More... | |
Detailed Description
The friendly interface to all optimisation algorithms.
Member Function Documentation
◆ approximate() [1/2]
| auto approximate | ( | const OptimumProblem & | problem, |
| OptimumState & | state | ||
| ) | -> OptimumResult |
Find an initial guess for an optimisation problem.
- Parameters
-
problem The definition of the optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation
◆ approximate() [2/2]
| auto approximate | ( | const OptimumProblem & | problem, |
| OptimumState & | state, | ||
| const OptimumOptions & | options | ||
| ) | -> OptimumResult |
Find an initial guess for an optimisation problem with given options.
- Parameters
-
problem The definition of the optimisation problem state[in,out] The initial guess and the final state of the optimisation approximation options The options for the optimisation calculation
◆ solve() [1/2]
| auto solve | ( | const OptimumProblem & | problem, |
| OptimumState & | state | ||
| ) | -> OptimumResult |
Solve an optimisation problem.
- Parameters
-
problem The definition of the optimisation problem state[in,out] The initial guess and the final state of the optimisation calculation
◆ solve() [2/2]
| auto solve | ( | const OptimumProblem & | problem, |
| OptimumState & | state, | ||
| const OptimumOptions & | options | ||
| ) | -> OptimumResult |
Solve an optimisation problem with given options.
- Parameters
-
problem The definition of the optimisation problem state[in,out] The initial guess and the final state of the optimisation calculation options The options for the optimisation calculation
◆ dxdp()
| auto dxdp | ( | const Vector & | dgdp, |
| const Vector & | dbdp | ||
| ) | -> Vector |
Return the sensitivity dx/dp of the solution x with respect to a vector of parameters p.
- Parameters
-
dgdp The derivatives dg/dpof the objective gradientgrad(f)with respect to the parameterspdbdp The derivatives db/dpof the vectorbwith respect to the parametersp
The documentation for this class was generated from the following files:
- Reaktoro/Optimization/OptimumSolver.hpp
- Reaktoro/Optimization/OptimumSolver.cpp