Reaktoro A unified framework for modeling chemically reactive systems
OptimumSolverIpOpt Class Reference

The class that implements the IpOpt algorithm using an interior-point method. More...

#include <OptimumSolverIpOpt.hpp>

Inheritance diagram for OptimumSolverIpOpt:
[legend]
Collaboration diagram for OptimumSolverIpOpt:
[legend]

## Public Member Functions

OptimumSolverIpOpt ()
Construct a default OptimumSolverIpOpt instance.

OptimumSolverIpOpt (const OptimumSolverIpOpt &other)
Construct a copy of an OptimumSolverIpOpt instance.

virtual ~OptimumSolverIpOpt ()
Destroy this OptimumSolverIpOpt instance.

auto operator= (OptimumSolverIpOpt other) -> OptimumSolverIpOpt &
Assign an OptimumSolverIpOpt 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 (VectorConstRef dgdp, VectorConstRef 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 OptimumSolverBase
virtual ~OptimumSolverBase ()=0
Pure virtual destructor.

## Detailed Description

The class that implements the IpOpt algorithm using an interior-point method.

This method is implemented based on some strategies of the optimization code IPOPT.

## ◆ solve() [1/2]

 auto solve ( const OptimumProblem & problem, OptimumState & state ) -> OptimumResult
virtual

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

Implements OptimumSolverBase.

## ◆ solve() [2/2]

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

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

Implements OptimumSolverBase.

## ◆ dxdp()

 auto dxdp ( VectorConstRef dgdp, VectorConstRef dbdp ) -> Vector
virtual

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

Implements OptimumSolverBase.

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