Reaktoro A unified framework for modeling chemically reactive systems
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

 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
 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
 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
 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
 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/dp of the objective gradient grad(f) with respect to the parameters p dbdp The derivatives db/dp of the vector b with respect to the parameters p

The documentation for this class was generated from the following files: