|
ROL
|
Contains definitions of custom data types in ROL. More...
#include <algorithm>#include <complex>#include <exception>#include <string>#include <sstream>#include <limits>#include <type_traits>#include <ROL_stacktrace.hpp>#include "ROL_ScalarTraits.hpp"#include <ROL_Ptr.hpp>#include <ROL_Vector.hpp>#include <ROL_config.h>Go to the source code of this file.
Classes | |
| struct | ROL::ROL::AlgorithmState< Real > |
| State for algorithm class. Will be used for restarts. More... | |
| struct | ROL::ROL::StepState< Real > |
| State for step class. Will be used for restarts. More... | |
| struct | ROL::ROL::removeSpecialCharacters |
| struct | ROL::ROL::TypeCaster< Real, Element > |
| struct | ROL::ROL::TypeCaster< Real, std::complex< Real > > |
| struct | ROL::ROL::TypeCaster< double, float > |
| class | ROL::Exception::NotImplemented |
Namespaces | |
| namespace | ROL |
| namespace | ROL::Finite_Difference_Arrays |
| namespace | ROL::Exception |
Macros | |
| #define | ROL_VALIDATE(A) |
| #define | ROL_NUM_CHECKDERIV_STEPS 13 |
| Number of steps for derivative checks. | |
Typedefs | |
| template<bool B, class T = void> | |
| using | ROL::Exception::enable_if_t = typename std::enable_if<B,T>::type |
Variables | |
| 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 |
| ROL::Ptr< Vector< Real > > | gradientVec |
| ROL::Ptr< Vector< Real > > | descentVec |
| ROL::Ptr< Vector< Real > > | constraintVec |
| Real | searchSize |
| int | SPiter |
| int | SPflag |
| const int | ROL::Finite_Difference_Arrays::shifts [4][4] |
| const double | ROL::Finite_Difference_Arrays::weights [4][5] |
Contains definitions of custom data types in ROL.
Definition in file ROL_Types.hpp.
| #define ROL_VALIDATE | ( | A | ) |
Definition at line 56 of file ROL_Constraint_SerialSimOpt.hpp.
| #define ROL_NUM_CHECKDERIV_STEPS 13 |
Number of steps for derivative checks.
Definition at line 74 of file ROL_Constraint_SerialSimOpt.hpp.
| int iter |
Definition at line 144 of file ROL_Types.hpp.
| int minIter |
Definition at line 145 of file ROL_Types.hpp.
| int nfval |
Definition at line 146 of file ROL_Types.hpp.
Referenced by ROL::TRUtils::initialRadius(), ROL::ScalarMinimizationLineSearch< Real >::run(), ScalarMinimizationLineSearch_U::run(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), and ROL::TrustRegion< Real >::update().
| int ncval |
Definition at line 147 of file ROL_Types.hpp.
| int ngrad |
Definition at line 148 of file ROL_Types.hpp.
Referenced by ROL::ScalarMinimizationLineSearch< Real >::run(), ScalarMinimizationLineSearch_U::run(), ROL::Reduced_Objective_SimOpt< Real >::summarize(), ROL::MoreauYosidaPenaltyStep< Real >::update(), ROL::MoreauYosidaPenaltyStep< Real >::update(), and ROL::TrustRegion< Real >::update().
| Real value |
Definition at line 149 of file ROL_Types.hpp.
Referenced by ROL::ROL::Constraint< Real >::applyAdjointJacobian(), Constraint_SimOpt::applyAdjointJacobian_1(), Constraint_SimOpt::applyAdjointJacobian_2(), ROL::ROL::Constraint< Real >::applyJacobian(), Constraint_SimOpt::applyJacobian_1(), Constraint_SimOpt::applyJacobian_2(), ROL::DynamicObjectiveCheck< Real >::check(), ROL::ROL::Constraint< Real >::checkApplyAdjointJacobian(), ROL::ROL::Constraint< Real >::checkApplyJacobian(), Constraint_SimOpt::checkApplyJacobian_1(), ROL::Constraint_TimeSimOpt< Real >::checkApplyJacobian_1_new(), Constraint_SimOpt::checkApplyJacobian_2(), ROL::ROL::Objective< Real >::checkGradient(), ROL::Objective_SimOpt< Real >::checkGradient_1(), ROL::Objective_SimOpt< Real >::checkGradient_2(), Constraint_SimOpt::checkSolve(), ROL::Constraint_TimeSimOpt< Real >::checkSolve(), ROL::ColemanLiModel< Real >::computeCauchyPoint(), ROL::ScalarMinimizationLineSearch_U::Phi< Real >::deriv(), ROL::ZOO::Objective_DiodeCircuit< Real >::generate_plot(), ROL::getValidROLParameters(), ROL::FletcherStep< Real >::getValueString(), ROL::ROL::Objective< Real >::gradient(), ROL::StdObjective< Real >::gradient(), ROL::Objective_SimOpt< Real >::gradient_1(), ROL::Objective_SimOpt< Real >::gradient_2(), ROL::BoundFletcher< Real >::hessVec(), main(), ROL::ColemanLiModel< Real >::primalTransform(), ROL::setParameter(), Constraint_BurgersControl< Real >::solve(), Constraint_SimOpt::solve(), DiffusionConstraint< Real >::solve(), ROL::DynamicConstraint< Real >::solve(), testRandomInputs(), ROL::tierParameterList(), Constraint_SimOpt::value(), ROL::Constraint_TimeSimOpt< Real >::value(), ROL::Objective_SimOpt< Real >::value(), ROL::StdConstraint< Real >::value(), ROL::StdObjective< Real >::value(), and ROL::value().
| Real minValue |
Definition at line 150 of file ROL_Types.hpp.
| Real gnorm |
Definition at line 151 of file ROL_Types.hpp.
Referenced by ROL::CauchyPoint< Real >::cauchypoint_unc(), ROL::AugmentedLagrangianStep< Real >::computeGradient(), ROL::TypeB::TrustRegionSPGAlgorithm< Real >::computeGradient(), ROL::FletcherStep< Real >::computeProjGradientNorm(), ROL::TypeB::TrustRegionSPGAlgorithm< Real >::dpsg(), ROL::TypeB::TrustRegionSPGAlgorithm< Real >::dpsg_simple(), ROL::TypeB::SpectralGradientAlgorithm< Real >::initialize(), ROL::TRUtils::initialRadius(), ROL::DogLeg< Real >::run(), ROL::DoubleDogLeg< Real >::run(), ROL::TruncatedCG< Real >::run(), ROL::TypeB::KelleySachsAlgorithm< Real >::run(), CauchyPoint_U::solve(), DogLeg_U::solve(), DoubleDogLeg_U::solve(), SPGTrustRegion_U::solve(), and TruncatedCG_U::solve().
| Real cnorm |
Definition at line 152 of file ROL_Types.hpp.
Referenced by ROL::Problem< Real >::checkLinearity(), Constraint_SimOpt::checkSolve(), ROL::Constraint_TimeSimOpt< Real >::checkSolve(), ROL::ROL::ReduceLinearConstraint< Real >::feasible(), main(), ROL::TypeE::StabilizedLCLAlgorithm< Real >::run(), ROL::TypeG::StabilizedLCLAlgorithm< Real >::run(), Constraint_SimOpt::solve(), ROL::DynamicConstraint< Real >::solve(), ROL::ROL::Constraint< Real >::solveAugmentedSystem(), ROL::ReducedDynamicObjective< Real >::solveState(), ROL::FletcherStep< Real >::update(), and ROL::ReducedDynamicObjective< Real >::updateSketch().
| Real snorm |
Definition at line 153 of file ROL_Types.hpp.
Referenced by ROL::CauchyPoint< Real >::cauchypoint_unc(), Gradient_U::compute(), QuasiNewton_U::compute(), ROL::Newton_U< Real >::compute(), ROL::NewtonKrylov_U< Real >::compute(), ROL::NonlinearCG_U< Real >::compute(), ROL::LinMore< Real >::dcauchy(), ROL::TypeB::LinMoreAlgorithm< Real >::dcauchy(), ROL::TypeB::LSecantBAlgorithm< Real >::dcauchy(), ROL::TypeB::TrustRegionSPGAlgorithm< Real >::dcauchy(), ROL::ScalarMinimizationLineSearch_U::Phi< Real >::deriv(), LineSearch_U::dirDeriv(), ROL::LinMore< Real >::dprsrch(), ROL::TypeB::LinMoreAlgorithm< Real >::dprsrch(), ROL::TypeB::TrustRegionSPGAlgorithm< Real >::dpsg_simple(), ROL::TypeB::LSecantBAlgorithm< Real >::dsrch(), ROL::TRUtils::interpolateRadius(), ROL::ColemanLiModel< Real >::primalTransform(), ROL::CauchyPoint< Real >::run(), ROL::DogLeg< Real >::run(), ROL::DoubleDogLeg< Real >::run(), ROL::LinMore< Real >::run(), ROL::TruncatedCG< Real >::run(), ROL::TypeB::ColemanLiAlgorithm< Real >::run(), ROL::TypeB::LinMoreAlgorithm< Real >::run(), ROL::TypeB::LSecantBAlgorithm< Real >::run(), ROL::TypeB::PrimalDualActiveSetAlgorithm< Real >::run(), CauchyPoint_U::solve(), DogLeg_U::solve(), DoubleDogLeg_U::solve(), SPGTrustRegion_U::solve(), TruncatedCG_U::solve(), ROL::Bundle_AS< Real >::solveDual_arbitrary(), QuasiNewton_U::update(), ROL::NewtonKrylov_U< Real >::update(), ROL::TrustRegion< Real >::update(), TrustRegionModel_U::update(), lSR1::updateStorage(), and Secant::updateStorage().
| Real aggregateGradientNorm |
Definition at line 154 of file ROL_Types.hpp.
| Real aggregateModelError |
Definition at line 155 of file ROL_Types.hpp.
| int flag |
Definition at line 156 of file ROL_Types.hpp.
Referenced by ROL::CompositeStep< Real >::accept(), ROL::TypeE::CompositeStepAlgorithm< Real >::accept(), ROL::TRUtils::analyzeRatio(), CombinedStatusTest::check(), ROL::FDivergence< Real >::check(), ROL::PrimalDualRisk< Real >::checkStatus(), Gradient_U::compute(), QuasiNewton_U::compute(), ROL::BundleStep< Real >::compute(), ROL::Newton_U< Real >::compute(), ROL::NewtonKrylov_U< Real >::compute(), ROL::NonlinearCG_U< Real >::compute(), ROL::StochasticProblem< Real >::finalize(), ROL::ROL::ScalarController< Real, Key >::get(), ROL::ROL::VectorController< Real, Key >::get(), ROL::ROL::VectorController< Real, Key >::get(), ROL::SampledScalar< Real, Key >::get(), ROL::SampledVector< Real, Key >::get(), ROL::TypeB::GradientAlgorithm< Real >::initialize(), ROL::Bundle_AS< Real >::isNonnegative(), ROL::Sketch< Real >::LSsolver(), main(), ROL::Sketch< Real >::mgs2(), ROL::TrustRegionStep< Real >::printHeader(), ROL::SemismoothNewtonProjection< Real >::project_ssn(), ROL::Sketch< Real >::reconstruct(), ROL::ROL::VectorController< Real, Key >::reset(), ROL::ROL::VectorController< Real, std::vector< Real > >::reset(), ROL::SampledScalar< Real, Key >::reset(), ROL::SampledVector< Real, Key >::reset(), ROL::ConvexCombinationRiskMeasure< Real >::resetStorage(), ROL::RandVarFunctional< Real >::resetStorage(), ROL::SpectralRisk< Real >::resetStorage(), ROL::ConjugateGradients< Real >::run(), ROL::ConjugateResiduals< Real >::run(), ROL::details::MINRES< Real >::run(), ROL::GMRES< Real >::run(), ROL::ProgressiveHedging< Real >::run(), ROL::SemismoothNewtonProjection< Real >::solve_newton_system(), Constraint_SimOpt::update(), Constraint_SimOpt::update(), Objective_PoissonInversion< Real >::update(), QuadraticPenalty::update(), ROL::AlmostSureConstraint< Real >::update(), ROL::AugmentedLagrangian< Real >::update(), ROL::AugmentedLagrangian_SimOpt< Real >::update(), ROL::BlockOperator2Determinant< Real >::update(), ROL::BoundConstraint_Partitioned< Real >::update(), ROL::BoundConstraint_SimOpt< Real >::update(), ROL::BoundFletcher< Real >::update(), ROL::Bundle< Real >::update(), ROL::CompositeConstraint_SimOpt< Real >::update(), ROL::CompositeObjective< Real >::update(), ROL::CompositeObjective_SimOpt< Real >::update(), ROL::Constraint_Partitioned< Real >::update(), ROL::Constraint_TimeSimOpt< Real >::update(), ROL::Constraint_TimeSimOpt< Real >::update(), ROL::ConstraintFromObjective< Real >::update(), ROL::Fletcher< Real >::update(), ROL::InteriorPoint::PenalizedObjective< Real >::update(), ROL::InteriorPointPenalty< Real >::update(), ROL::LinearCombinationObjective< Real >::update(), ROL::LinearCombinationObjective_SimOpt< Real >::update(), ROL::LinearOperatorProduct< Real >::update(), ROL::LinearOperatorSum< Real >::update(), ROL::MeanValueConstraint< Real >::update(), ROL::MeanValueObjective< Real >::update(), ROL::MoreauYosidaPenalty< Real >::update(), ROL::Objective< Real >::update(), ROL::Objective_SimOpt< Real >::update(), ROL::Objective_TimeSimOpt< Real >::update(), ROL::ObjectiveFromConstraint< Real >::update(), ROL::ObjectiveMMA< Real >::update(), ROL::PH_bPOEObjective< Real >::update(), ROL::PH_DeviationObjective< Real >::update(), ROL::PH_ErrorObjective< Real >::update(), ROL::PH_Objective< Real >::update(), ROL::PH_ProbObjective< Real >::update(), ROL::PH_RegretObjective< Real >::update(), ROL::PH_RiskObjective< Real >::update(), ROL::PrimalDualInteriorPointBlock11< Real >::update(), ROL::PrimalDualInteriorPointResidual< Real >::update(), ROL::ProjectedObjective< Real >::update(), ROL::QuadraticPenalty_SimOpt< Real >::update(), ROL::Reduced_AugmentedLagrangian_SimOpt< Real >::update(), ROL::Reduced_Constraint_SimOpt< Real >::update(), ROL::Reduced_Objective_SimOpt< Real >::update(), ROL::ReducedDynamicObjective< Real >::update(), ROL::RiskBoundConstraint< Real >::update(), ROL::RiskLessConstraint< Real >::update(), ROL::RiskLessObjective< Real >::update(), ROL::RiskNeutralConstraint< Real >::update(), ROL::RiskNeutralObjective< Real >::update(), ROL::ROL::AffineTransformConstraint< Real >::update(), ROL::ROL::AffineTransformObjective< Real >::update(), ROL::ROL::NonlinearLeastSquaresObjective< Real >::update(), ROL::SampledScalar< Real, Key >::update(), ROL::SampledVector< Real, Key >::update(), ROL::SimulatedConstraint< Real >::update(), ROL::SimulatedObjective< Real >::update(), ROL::SimulatedObjectiveCVaR< Real >::update(), ROL::SlacklessConstraint< Real >::update(), ROL::SlacklessObjective< Real >::update(), ROL::StdConstraint< Real >::update(), ROL::StdLinearOperator< Real >::update(), ROL::StdObjective< Real >::update(), ROL::StochasticConstraint< Real >::update(), ROL::StochasticObjective< Real >::update(), ROL::update(), ROL::CompositeConstraint_SimOpt< Real >::update_1(), ROL::CompositeConstraint_SimOpt< Real >::update_2(), ROL::ReducedDynamicObjective< Real >::updateSketch(), ROL::TypeB::ColemanLiAlgorithm< Real >::writeHeader(), ROL::TypeB::KelleySachsAlgorithm< Real >::writeHeader(), ROL::TypeB::LinMoreAlgorithm< Real >::writeHeader(), ROL::TypeB::NewtonKrylovAlgorithm< Real >::writeHeader(), ROL::TypeB::PrimalDualActiveSetAlgorithm< Real >::writeHeader(), and ROL::TypeB::TrustRegionSPGAlgorithm< Real >::writeHeader().
| ROL::Ptr<Vector<Real> > iterateVec |
Definition at line 157 of file ROL_Types.hpp.
| ROL::Ptr<Vector<Real> > lagmultVec |
Definition at line 158 of file ROL_Types.hpp.
| ROL::Ptr<Vector<Real> > minIterVec |
Definition at line 159 of file ROL_Types.hpp.
| EExitStatus statusFlag |
Definition at line 160 of file ROL_Types.hpp.
Referenced by ROL::PrimalDualRisk< Real >::run(), and ROL::ProgressiveHedging< Real >::run().
| ROL::Ptr<Vector<Real> > gradientVec |
Definition at line 204 of file ROL_Types.hpp.
Referenced by Step::initialize().
| ROL::Ptr<Vector<Real> > descentVec |
Definition at line 205 of file ROL_Types.hpp.
| ROL::Ptr<Vector<Real> > constraintVec |
Definition at line 206 of file ROL_Types.hpp.
| Real searchSize |
Definition at line 209 of file ROL_Types.hpp.
Referenced by ROL::BundleStep< Real >::initialize(), ROL::AugmentedLagrangianStep< Real >::print(), ROL::FletcherStep< Real >::print(), ROL::MoreauYosidaPenaltyStep< Real >::print(), Step::reset(), ROL::TypeB::InteriorPointAlgorithm< Real >::run(), and ROL::TypeG::InteriorPointAlgorithm< Real >::run().
| int SPiter |
Definition at line 211 of file ROL_Types.hpp.
| int SPflag |
Definition at line 212 of file ROL_Types.hpp.