#include <SensStdStepCalc.hpp>
Public Member Functions | |
StdStepCalculator (SmartPtr< SchurData > ift_data, SmartPtr< SensBacksolver > backsolver) | |
virtual | ~StdStepCalculator () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Implementation of the initialization method that has to be overloaded by for each derived class. | |
virtual bool | Step (DenseVector &delta_u, IteratesVector &sol) |
This is the main algorithmic function of this class; It calculates a step using its SchurDriver, checks bounds, and returns it. | |
bool | BoundCheck (IteratesVector &sol, std::vector< Index > &x_bound_violations_idx, std::vector< Number > &x_bound_violations_du) |
virtual SmartPtr< IteratesVector > | GetSensitivityVector (void) |
return the sensitivity vector | |
Private Attributes | |
SmartPtr< SchurData > | ift_data_ |
SmartPtr< SensBacksolver > | backsolver_ |
Number | bound_eps_ |
bool | kkt_residuals_ |
SmartPtr< IteratesVector > | SensitivityVector |
Definition at line 22 of file SensStdStepCalc.hpp.
Ipopt::StdStepCalculator::StdStepCalculator | ( | SmartPtr< SchurData > | ift_data, | |
SmartPtr< SensBacksolver > | backsolver | |||
) |
virtual Ipopt::StdStepCalculator::~StdStepCalculator | ( | ) | [virtual] |
virtual bool Ipopt::StdStepCalculator::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
Implementation of the initialization method that has to be overloaded by for each derived class.
Reimplemented from Ipopt::SensitivityStepCalculator.
virtual bool Ipopt::StdStepCalculator::Step | ( | DenseVector & | delta_u, | |
IteratesVector & | sol | |||
) | [virtual] |
This is the main algorithmic function of this class; It calculates a step using its SchurDriver, checks bounds, and returns it.
Implements Ipopt::SensitivityStepCalculator.
bool Ipopt::StdStepCalculator::BoundCheck | ( | IteratesVector & | sol, | |
std::vector< Index > & | x_bound_violations_idx, | |||
std::vector< Number > & | x_bound_violations_du | |||
) |
virtual SmartPtr<IteratesVector> Ipopt::StdStepCalculator::GetSensitivityVector | ( | void | ) | [inline, virtual] |
return the sensitivity vector
Implements Ipopt::SensitivityStepCalculator.
Definition at line 42 of file SensStdStepCalc.hpp.
SmartPtr<SchurData> Ipopt::StdStepCalculator::ift_data_ [private] |
Definition at line 42 of file SensStdStepCalc.hpp.
Definition at line 46 of file SensStdStepCalc.hpp.
Number Ipopt::StdStepCalculator::bound_eps_ [private] |
Definition at line 47 of file SensStdStepCalc.hpp.
bool Ipopt::StdStepCalculator::kkt_residuals_ [private] |
Definition at line 48 of file SensStdStepCalc.hpp.
Definition at line 50 of file SensStdStepCalc.hpp.