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

A type that represents a regularized optimization problem. More...

#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.
 

Detailed Description

A type that represents a regularized optimization problem.

Member Function Documentation

◆ regularize()

auto 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.

◆ recover()

auto 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