Reaktoro 
A unified framework for modeling chemically reactive systems
Reaktoro::OptimumSolverRefiner Class Reference

Detailed Description

The class that implements a refinement operation of the optimal solution.

#include <OptimumSolverRefiner.hpp>

Inheritance diagram for Reaktoro::OptimumSolverRefiner:
Collaboration diagram for Reaktoro::OptimumSolverRefiner:

Public Member Functions

 OptimumSolverRefiner ()
 Construct a default OptimumSolverRefiner instance.
 
 OptimumSolverRefiner (const OptimumSolverRefiner &other)
 Construct a copy of an OptimumSolverRefiner instance.
 
virtual ~OptimumSolverRefiner ()
 Destroy this OptimumSolverRefiner instance.
 
auto operator= (OptimumSolverRefiner other) -> OptimumSolverRefiner &
 Assign an OptimumSolverRefiner instance to this.
 
virtual auto solve (const OptimumProblem &problem, OptimumState &state) -> OptimumResult
 Solve an optimisation problem. More...
 
virtual auto solve (const OptimumProblem &problem, OptimumState &state, const OptimumOptions &options) -> OptimumResult
 Solve an optimisation problem with given options. More...
 
virtual 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...
 
virtual auto clone () const -> OptimumSolverBase *
 Return a clone of this instance.
 
- Public Member Functions inherited from Reaktoro::OptimumSolverBase
virtual ~OptimumSolverBase ()=0
 Pure virtual destructor.
 

Member Function Documentation

auto Reaktoro::OptimumSolverRefiner::solve ( const OptimumProblem problem,
OptimumState state 
) -> OptimumResult
virtual

Solve an optimisation problem.

Parameters
problemThe definition of the optimisation problem
state[in,out]The initial guess and the final state of the optimisation calculation

Implements Reaktoro::OptimumSolverBase.

auto Reaktoro::OptimumSolverRefiner::solve ( const OptimumProblem problem,
OptimumState state,
const OptimumOptions options 
) -> OptimumResult
virtual

Solve an optimisation problem with given options.

Parameters
problemThe definition of the optimisation problem
state[in,out]The initial guess and the final state of the optimisation calculation
optionsThe options for the optimisation calculation

Implements Reaktoro::OptimumSolverBase.

auto Reaktoro::OptimumSolverRefiner::dxdp ( const Vector dgdp,
const Vector dbdp 
) -> Vector
virtual

Return the sensitivity dx/dp of the solution x with respect to a vector of parameters p.

Parameters
dgdpThe derivatives dg/dp of the objective gradient grad(f) with respect to the parameters p
dbdpThe derivatives db/dp of the vector b with respect to the parameters p

Implements Reaktoro::OptimumSolverBase.


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