#include <SensStdStepCalc.hpp>
Inheritance diagram for Ipopt::StdStepCalculator: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. | |
| 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 | |
Public Member Functions inherited from Ipopt::SensitivityStepCalculator | |
| SensitivityStepCalculator () | |
| virtual | ~SensitivityStepCalculator () |
| 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. | |
| bool | Do_Boundcheck () const |
| void | SetSchurDriver (SmartPtr< SchurDriver > driver) |
| SmartPtr< SchurDriver > | Driver () |
| virtual bool | Step (DenseVector &delta_u, IteratesVector &sol)=0 |
| This is the main algorithmic function of this class. | |
| virtual SmartPtr< IteratesVector > | GetSensitivityVector ()=0 |
| return the sensitivity vector | |
Public Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
| bool | Initialize (const Journalist &jnlst, IpoptNLP &ip_nlp, IpoptData &ip_data, IpoptCalculatedQuantities &ip_cq, const OptionsList &options, const std::string &prefix) |
| This method is called every time the algorithm starts again - it is used to reset any internal state. | |
| bool | ReducedInitialize (const Journalist &jnlst, const OptionsList &options, const std::string &prefix) |
| Reduced version of the Initialize method, which does not require special Ipopt information. | |
| AlgorithmStrategyObject () | |
| Default Constructor. | |
| virtual | ~AlgorithmStrategyObject () |
| Destructor. | |
Public Member Functions inherited from Ipopt::ReferencedObject | |
| ReferencedObject () | |
| virtual | ~ReferencedObject () |
| Index | ReferenceCount () const |
| void | AddRef (const Referencer *referencer) const |
| void | ReleaseRef (const Referencer *referencer) const |
Private Attributes | |
| SmartPtr< SchurData > | ift_data_ |
| SmartPtr< SensBacksolver > | backsolver_ |
| Number | bound_eps_ |
| bool | kkt_residuals_ |
| SmartPtr< IteratesVector > | SensitivityVector |
Additional Inherited Members | |
Protected Member Functions inherited from Ipopt::AlgorithmStrategyObject | |
| virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix)=0 |
| Implementation of the initialization method that has to be overloaded by for each derived class. | |
| const Journalist & | Jnlst () const |
| IpoptNLP & | IpNLP () const |
| IpoptData & | IpData () const |
| IpoptCalculatedQuantities & | IpCq () const |
| bool | HaveIpData () const |
Definition at line 20 of file SensStdStepCalc.hpp.
| Ipopt::StdStepCalculator::StdStepCalculator | ( | SmartPtr< SchurData > | ift_data, |
| SmartPtr< SensBacksolver > | backsolver | ||
| ) |
|
virtual |
|
virtual |
Implementation of the initialization method that has to be overloaded by for each derived class.
Reimplemented from Ipopt::SensitivityStepCalculator.
|
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 | ||
| ) |
|
inlinevirtual |
return the sensitivity vector
Implements Ipopt::SensitivityStepCalculator.
Definition at line 51 of file SensStdStepCalc.hpp.
Definition at line 57 of file SensStdStepCalc.hpp.
|
private |
Definition at line 58 of file SensStdStepCalc.hpp.
|
private |
Definition at line 59 of file SensStdStepCalc.hpp.
|
private |
Definition at line 60 of file SensStdStepCalc.hpp.
|
private |
Definition at line 62 of file SensStdStepCalc.hpp.