ROL
ROL::ROL::Step< Real > Class Template Reference

#include <ROL_Constraint_SerialSimOpt.hpp>

Inheritance diagram for ROL::ROL::Step< Real >:

Public Member Functions

virtual ~Step ()
 Step (void)
virtual void initialize (Vector< Real > &x, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state)
 Initialize step with bound constraint.
virtual void initialize (Vector< Real > &x, const Vector< Real > &s, const Vector< Real > &g, Objective< Real > &obj, BoundConstraint< Real > &con, AlgorithmState< Real > &algo_state)
 Initialize step with bound constraint.
virtual void initialize (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, Constraint< Real > &con, AlgorithmState< Real > &algo_state)
 Initialize step with equality constraint.
virtual void initialize (Vector< Real > &x, const Vector< Real > &g, Vector< Real > &l, const Vector< Real > &c, Objective< Real > &obj, Constraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state)
 Initialize step with equality constraint.
virtual void compute (Vector< Real > &s, const Vector< Real > &x, Objective< Real > &obj, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state)
 Compute step.
virtual void update (Vector< Real > &x, const Vector< Real > &s, Objective< Real > &obj, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state)
 Update step, if successful.
virtual void compute (Vector< Real > &s, const Vector< Real > &x, const Vector< Real > &l, Objective< Real > &obj, Constraint< Real > &con, AlgorithmState< Real > &algo_state)
 Compute step (equality constraints).
virtual void update (Vector< Real > &x, Vector< Real > &l, const Vector< Real > &s, Objective< Real > &obj, Constraint< Real > &con, AlgorithmState< Real > &algo_state)
 Update step, if successful (equality constraints).
virtual void compute (Vector< Real > &s, const Vector< Real > &x, const Vector< Real > &l, Objective< Real > &obj, Constraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state)
 Compute step (equality constraints).
virtual void update (Vector< Real > &x, Vector< Real > &l, const Vector< Real > &s, Objective< Real > &obj, Constraint< Real > &con, BoundConstraint< Real > &bnd, AlgorithmState< Real > &algo_state)
 Update step, if successful (equality constraints).
virtual std::string printHeader (void) const
 Print iterate header.
virtual std::string printName (void) const
 Print step name.
virtual std::string print (AlgorithmState< Real > &algo_state, bool printHeader=false) const
 Print iterate status.
const ROL::Ptr< const StepState< Real > > getStepState (void) const
 Get state for step object.
void reset (const Real searchSize=1.0)
 Get state for step object.

Protected Member Functions

ROL::Ptr< StepState< Real > > getState (void)

Private Attributes

ROL::Ptr< StepState< Real > > state_

Detailed Description

template<class Real>
class ROL::ROL::Step< Real >

Definition at line 68 of file ROL_Constraint_SerialSimOpt.hpp.

Constructor & Destructor Documentation

◆ ~Step()

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

Definition at line 79 of file ROL_Constraint_SerialSimOpt.hpp.

◆ Step()

Member Function Documentation

◆ getState()

template<class Real>
ROL::Ptr< StepState< Real > > ROL::ROL::Step< Real >::getState ( void )
inlineprotected

Definition at line 73 of file ROL_Constraint_SerialSimOpt.hpp.

◆ initialize() [1/4]

template<class Real>
virtual void ROL::ROL::Step< Real >::initialize ( Vector< Real > & x,
const Vector< Real > & g,
Objective< Real > & obj,
BoundConstraint< Real > & con,
AlgorithmState< Real > & algo_state )
inlinevirtual

Initialize step with bound constraint.

Definition at line 88 of file ROL_Constraint_SerialSimOpt.hpp.

◆ initialize() [2/4]

template<class Real>
virtual void ROL::ROL::Step< Real >::initialize ( Vector< Real > & x,
const Vector< Real > & s,
const Vector< Real > & g,
Objective< Real > & obj,
BoundConstraint< Real > & con,
AlgorithmState< Real > & algo_state )
inlinevirtual

Initialize step with bound constraint.

Definition at line 96 of file ROL_Constraint_SerialSimOpt.hpp.

◆ initialize() [3/4]

template<class Real>
virtual void ROL::ROL::Step< Real >::initialize ( Vector< Real > & x,
const Vector< Real > & g,
Vector< Real > & l,
const Vector< Real > & c,
Objective< Real > & obj,
Constraint< Real > & con,
AlgorithmState< Real > & algo_state )
inlinevirtual

Initialize step with equality constraint.

Definition at line 129 of file ROL_Constraint_SerialSimOpt.hpp.

◆ initialize() [4/4]

template<class Real>
virtual void ROL::ROL::Step< Real >::initialize ( Vector< Real > & x,
const Vector< Real > & g,
Vector< Real > & l,
const Vector< Real > & c,
Objective< Real > & obj,
Constraint< Real > & con,
BoundConstraint< Real > & bnd,
AlgorithmState< Real > & algo_state )
inlinevirtual

Initialize step with equality constraint.

Definition at line 136 of file ROL_Constraint_SerialSimOpt.hpp.

◆ compute() [1/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::compute ( Vector< Real > & s,
const Vector< Real > & x,
Objective< Real > & obj,
BoundConstraint< Real > & bnd,
AlgorithmState< Real > & algo_state )
inlinevirtual

Compute step.

Definition at line 143 of file ROL_Constraint_SerialSimOpt.hpp.

◆ update() [1/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::update ( Vector< Real > & x,
const Vector< Real > & s,
Objective< Real > & obj,
BoundConstraint< Real > & bnd,
AlgorithmState< Real > & algo_state )
inlinevirtual

Update step, if successful.

Definition at line 151 of file ROL_Constraint_SerialSimOpt.hpp.

◆ compute() [2/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::compute ( Vector< Real > & s,
const Vector< Real > & x,
const Vector< Real > & l,
Objective< Real > & obj,
Constraint< Real > & con,
AlgorithmState< Real > & algo_state )
inlinevirtual

Compute step (equality constraints).

Definition at line 159 of file ROL_Constraint_SerialSimOpt.hpp.

◆ update() [2/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::update ( Vector< Real > & x,
Vector< Real > & l,
const Vector< Real > & s,
Objective< Real > & obj,
Constraint< Real > & con,
AlgorithmState< Real > & algo_state )
inlinevirtual

Update step, if successful (equality constraints).

Definition at line 167 of file ROL_Constraint_SerialSimOpt.hpp.

◆ compute() [3/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::compute ( Vector< Real > & s,
const Vector< Real > & x,
const Vector< Real > & l,
Objective< Real > & obj,
Constraint< Real > & con,
BoundConstraint< Real > & bnd,
AlgorithmState< Real > & algo_state )
inlinevirtual

Compute step (equality constraints).

Definition at line 175 of file ROL_Constraint_SerialSimOpt.hpp.

◆ update() [3/3]

template<class Real>
virtual void ROL::ROL::Step< Real >::update ( Vector< Real > & x,
Vector< Real > & l,
const Vector< Real > & s,
Objective< Real > & obj,
Constraint< Real > & con,
BoundConstraint< Real > & bnd,
AlgorithmState< Real > & algo_state )
inlinevirtual

Update step, if successful (equality constraints).

Definition at line 184 of file ROL_Constraint_SerialSimOpt.hpp.

◆ printHeader()

◆ printName()

◆ print()

template<class Real>
virtual std::string ROL::ROL::Step< Real >::print ( AlgorithmState< Real > & algo_state,
bool printHeader = false ) const
inlinevirtual

Print iterate status.

Definition at line 205 of file ROL_Constraint_SerialSimOpt.hpp.

◆ getStepState()

template<class Real>
const ROL::Ptr< const StepState< Real > > ROL::ROL::Step< Real >::getStepState ( void ) const
inline

Get state for step object.

Definition at line 211 of file ROL_Constraint_SerialSimOpt.hpp.

◆ reset()

template<class Real>
void ROL::ROL::Step< Real >::reset ( const Real searchSize = 1.0)
inline

Get state for step object.

Definition at line 217 of file ROL_Constraint_SerialSimOpt.hpp.

Member Data Documentation

◆ state_

template<class Real>
ROL::Ptr<StepState<Real> > ROL::ROL::Step< Real >::state_
private

Definition at line 70 of file ROL_Constraint_SerialSimOpt.hpp.


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