ROL
ROL::AlgorithmState< Real > Struct Template Reference

State for algorithm class. Will be used for restarts. More...

#include <ROL_Types.hpp>

Public Member Functions

 AlgorithmState (void)
virtual ~AlgorithmState ()
void reset (void)

Public Attributes

int iter
int minIter
int nfval
int ncval
int ngrad
Real value
Real minValue
Real gnorm
Real cnorm
Real snorm
Real aggregateGradientNorm
Real aggregateModelError
bool flag
ROL::Ptr< Vector< Real > > iterateVec
ROL::Ptr< Vector< Real > > lagmultVec
ROL::Ptr< Vector< Real > > minIterVec
EExitStatus statusFlag

Detailed Description

template<class Real>
struct ROL::AlgorithmState< Real >

State for algorithm class. Will be used for restarts.

Definition at line 109 of file ROL_Types.hpp.

Constructor & Destructor Documentation

◆ AlgorithmState()

template<class Real>
ROL::AlgorithmState< Real >::AlgorithmState ( void )
inline

◆ ~AlgorithmState()

template<class Real>
virtual ROL::AlgorithmState< Real >::~AlgorithmState ( )
inlinevirtual

Definition at line 138 of file ROL_Types.hpp.

Member Function Documentation

◆ reset()

template<class Real>
void ROL::AlgorithmState< Real >::reset ( void )
inline

Member Data Documentation

◆ iter

template<class Real>
int ROL::AlgorithmState< Real >::iter

Definition at line 110 of file ROL_Types.hpp.

Referenced by ROL::CompositeStep< Real >::accept(), AlgorithmState(), ROL::BundleStatusTest< Real >::check(), ROL::ConstraintStatusTest< Real >::check(), ROL::FletcherStatusTest< Real >::check(), ROL::StatusTest< Real >::check(), StatusTest_PDAS< Real >::check(), ROL::BundleStep< Real >::compute(), ROL::AugmentedLagrangianStep< Real >::initialize(), ROL::CompositeStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::PrimalDualActiveSetStep< Real >::initialize(), ROL::Step< Real >::initialize(), ROL::TrustRegionStep< Real >::initialize(), main(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::FletcherStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::LineSearchStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::PrimalDualRisk< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::BundleStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), ROL::TrustRegionStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::updateState(), and ROL::MoreauYosidaPenaltyStep< Real >::updateState().

◆ minIter

template<class Real>
int ROL::AlgorithmState< Real >::minIter

Definition at line 111 of file ROL_Types.hpp.

Referenced by AlgorithmState(), main(), and reset().

◆ nfval

template<class Real>
int ROL::AlgorithmState< Real >::nfval

Definition at line 112 of file ROL_Types.hpp.

Referenced by AlgorithmState(), ROL::BundleStep< Real >::compute(), ROL::CompositeStep< Real >::compute(), ROL::AugmentedLagrangianStep< Real >::initialize(), ROL::CompositeStep< Real >::initialize(), ROL::FletcherStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::MoreauYosidaPenaltyStep< Real >::initialize(), ROL::MoreauYosidaPenaltyStep< Real >::initialize(), ROL::PrimalDualActiveSetStep< Real >::initialize(), ROL::Step< Real >::initialize(), ROL::TrustRegionStep< Real >::initialize(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::LineSearchStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), ROL::TrustRegionStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::updateState(), and ROL::MoreauYosidaPenaltyStep< Real >::updateState().

◆ ncval

◆ ngrad

template<class Real>
int ROL::AlgorithmState< Real >::ngrad

Definition at line 114 of file ROL_Types.hpp.

Referenced by AlgorithmState(), ROL::BundleStep< Real >::compute(), ROL::CompositeStep< Real >::compute(), ROL::AugmentedLagrangianStep< Real >::initialize(), ROL::CompositeStep< Real >::initialize(), ROL::FletcherStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::MoreauYosidaPenaltyStep< Real >::initialize(), ROL::MoreauYosidaPenaltyStep< Real >::initialize(), ROL::PrimalDualActiveSetStep< Real >::initialize(), ROL::Step< Real >::initialize(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::LineSearchStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), ROL::TrustRegionStep< Real >::update(), ROL::TrustRegionStep< Real >::updateGradient(), ROL::MoreauYosidaPenaltyStep< Real >::updateState(), and ROL::MoreauYosidaPenaltyStep< Real >::updateState().

◆ value

template<class Real>
Real ROL::AlgorithmState< Real >::value

Definition at line 115 of file ROL_Types.hpp.

Referenced by AlgorithmState(), ROL::BundleStep< Real >::compute(), ROL::LineSearchStep< Real >::compute(), ROL::AugmentedLagrangianStep< Real >::initialize(), ROL::CompositeStep< Real >::initialize(), ROL::FletcherStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::PrimalDualActiveSetStep< Real >::initialize(), ROL::Step< Real >::initialize(), ROL::TrustRegionStep< Real >::initialize(), main(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::FletcherStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::PrimalDualRisk< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::BundleStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::LineSearchStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), ROL::TrustRegionStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::updateState(), and ROL::MoreauYosidaPenaltyStep< Real >::updateState().

◆ minValue

template<class Real>
Real ROL::AlgorithmState< Real >::minValue

Definition at line 116 of file ROL_Types.hpp.

Referenced by AlgorithmState(), main(), and reset().

◆ gnorm

template<class Real>
Real ROL::AlgorithmState< Real >::gnorm

Definition at line 117 of file ROL_Types.hpp.

Referenced by AlgorithmState(), ROL::ConstraintStatusTest< Real >::check(), ROL::FletcherStatusTest< Real >::check(), ROL::PH_StatusTest< Real >::check(), ROL::StatusTest< Real >::check(), StatusTest_PDAS< Real >::check(), ROL::PrimalDualRisk< Real >::checkStatus(), ROL::LineSearchStep< Real >::compute(), ROL::PrimalDualActiveSetStep< Real >::compute(), ROL::ProjectedNewtonKrylovStep< Real >::compute(), ROL::ProjectedNewtonStep< Real >::compute(), ROL::ProjectedSecantStep< Real >::compute(), ROL::TrustRegionStep< Real >::compute(), ROL::AugmentedLagrangianStep< Real >::initialize(), ROL::BundleStep< Real >::initialize(), ROL::CompositeStep< Real >::initialize(), ROL::FletcherStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::InteriorPointStep< Real >::initialize(), ROL::PrimalDualActiveSetStep< Real >::initialize(), ROL::Step< Real >::initialize(), ROL::TrustRegionStep< Real >::initialize(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::FletcherStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::PrimalDualRisk< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::BundleStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), ROL::TrustRegionStep< Real >::updateGradient(), ROL::MoreauYosidaPenaltyStep< Real >::updateState(), and ROL::MoreauYosidaPenaltyStep< Real >::updateState().

◆ cnorm

◆ snorm

template<class Real>
Real ROL::AlgorithmState< Real >::snorm

Definition at line 119 of file ROL_Types.hpp.

Referenced by AlgorithmState(), ROL::ConstraintStatusTest< Real >::check(), ROL::FletcherStatusTest< Real >::check(), ROL::StatusTest< Real >::check(), StatusTest_PDAS< Real >::check(), ROL::BundleStep< Real >::compute(), ROL::TrustRegionStep< Real >::compute(), ROL::TrustRegionStep< Real >::initialize(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::BundleStep< Real >::print(), ROL::CompositeStep< Real >::print(), ROL::GradientStep< Real >::print(), ROL::InteriorPointStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), ROL::NewtonKrylovStep< Real >::print(), ROL::NewtonStep< Real >::print(), ROL::NonlinearCGStep< Real >::print(), ROL::PrimalDualActiveSetStep< Real >::print(), ROL::ProjectedNewtonKrylovStep< Real >::print(), ROL::ProjectedNewtonStep< Real >::print(), ROL::ProjectedSecantStep< Real >::print(), ROL::SecantStep< Real >::print(), ROL::TrustRegionStep< Real >::print(), reset(), ROL::AugmentedLagrangianStep< Real >::update(), ROL::BundleStep< Real >::update(), ROL::CompositeStep< Real >::update(), ROL::FletcherStep< Real >::update(), ROL::GradientStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::InteriorPointStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::NewtonKrylovStep< Real >::update(), ROL::NewtonStep< Real >::update(), ROL::NonlinearCGStep< Real >::update(), ROL::PrimalDualActiveSetStep< Real >::update(), ROL::ProjectedNewtonKrylovStep< Real >::update(), ROL::ProjectedNewtonStep< Real >::update(), ROL::ProjectedSecantStep< Real >::update(), ROL::SecantStep< Real >::update(), and ROL::TrustRegionStep< Real >::update().

◆ aggregateGradientNorm

◆ aggregateModelError

template<class Real>
Real ROL::AlgorithmState< Real >::aggregateModelError

◆ flag

◆ iterateVec

◆ lagmultVec

◆ minIterVec

template<class Real>
ROL::Ptr<Vector<Real> > ROL::AlgorithmState< Real >::minIterVec

Definition at line 125 of file ROL_Types.hpp.

Referenced by AlgorithmState(), main(), and reset().

◆ statusFlag


The documentation for this struct was generated from the following file: