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

Detailed Description

A type that represents a regularized optimization problem.

#include <Regularizer.hpp>

Public Member Functions

 Regularizer ()
 Construct a default Regularizer instance.
 
 Regularizer (const Regularizer &other)
 Construct a copy of an Regularizer instance.
 
virtual ~Regularizer ()
 Destroy this instance.
 
auto operator= (Regularizer other) -> Regularizer &
 Assign an Regularizer instance to this instance.
 
auto setOptions (const RegularizerOptions &options) -> void
 Set the options for regularizing linear constraints.
 
auto regularize (OptimumProblem &problem, OptimumState &state, OptimumOptions &options) -> void
 Regularize the optimum problem, state, and options before they are used in an optimization calculation. More...
 
auto regularize (Vector &dgdp, Vector &dbdp) -> void
 Regularize the vectors dg/dp and db/dp, where g = grad(f).
 
auto recover (OptimumState &state) -> void
 Recover an optimum state to an state that corresponds to the original optimum problem. More...
 
auto recover (Vector &dxdp) -> void
 Recover the sensitivity derivative dxdp.
 

Member Function Documentation

auto Reaktoro::Regularizer::regularize ( OptimumProblem problem,
OptimumState state,
OptimumOptions options 
) -> void

Regularize the optimum problem, state, and options before they are used in an optimization calculation.

Parameters
problemThe optimum problem to be regularized.
stateThe optimum state to be regularized.
optionsThe optimum options to be regularized.
auto Reaktoro::Regularizer::recover ( OptimumState state) -> void

Recover an optimum state to an state that corresponds to the original optimum problem.

Parameters
state[in,out]The optimum state regularized in method regularize.

The documentation for this class was generated from the following files:
  • Reaktoro/Optimization/Regularizer.hpp
  • Reaktoro/Optimization/Regularizer.cpp