Ipopt
3.12.12
|
#include <SensPCalculator.hpp>
Public Member Functions | |
PCalculator (SmartPtr< SensBacksolver > backsolver, SmartPtr< SchurData > A_data) | |
This class is the interface for implementations of any class that calculates the matrix ![]()
. More... | |
virtual | ~PCalculator () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from AlgorithmStrategyObject. More... | |
virtual bool | ComputeP ()=0 |
Function to start the computation of P from E_0 and KKT. More... | |
virtual bool | GetSchurMatrix (const SmartPtr< const SchurData > &B, SmartPtr< Matrix > &S)=0 |
Function to extract a SchurMatrix corresponding to $B K^{-1} A$. More... | |
virtual void | PrintImpl (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const =0 |
void | Print (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent=0, const std::string &prefix="") const |
void | Print (SmartPtr< const Journalist > jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const |
SmartPtr< SensBacksolver > | Solver () const |
Accessor methods for data and backsolver. More... | |
SmartPtr< const SchurData > | data_A () const |
SmartPtr< SchurData > | data_A_nonconst () const |
void | reset_data_A () |
![]() | |
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. More... | |
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. More... | |
AlgorithmStrategyObject () | |
Default Constructor. More... | |
virtual | ~AlgorithmStrategyObject () |
Default Destructor. More... | |
![]() | |
ReferencedObject () | |
virtual | ~ReferencedObject () |
Index | ReferenceCount () const |
void | AddRef (const Referencer *referencer) const |
void | ReleaseRef (const Referencer *referencer) const |
Private Attributes | |
SmartPtr< SensBacksolver > | backsolver_ |
SmartPtr< const SchurData > | data_A_init |
SmartPtr< SchurData > | data_A_ |
Additional Inherited Members | |
![]() | |
const Journalist & | Jnlst () const |
IpoptNLP & | IpNLP () const |
IpoptData & | IpData () const |
IpoptCalculatedQuantities & | IpCq () const |
bool | HaveIpData () const |
Definition at line 17 of file SensPCalculator.hpp.
|
inline |
This class is the interface for implementations of any class that calculates the matrix of the following matrix:
.
Definition at line 31 of file SensPCalculator.hpp.
|
inlinevirtual |
Definition at line 40 of file SensPCalculator.hpp.
|
inlinevirtual |
Overloaded from AlgorithmStrategyObject.
Implements Ipopt::AlgorithmStrategyObject.
Reimplemented in Ipopt::IndexPCalculator.
Definition at line 45 of file SensPCalculator.hpp.
|
pure virtual |
Function to start the computation of P from E_0 and KKT.
Implemented in Ipopt::IndexPCalculator.
|
pure virtual |
Function to extract a SchurMatrix corresponding to $B K^{-1} A$.
If B==NULL, use A=B
Implemented in Ipopt::IndexPCalculator.
|
pure virtual |
Implemented in Ipopt::IndexPCalculator.
|
inline |
Definition at line 64 of file SensPCalculator.hpp.
|
inline |
Definition at line 76 of file SensPCalculator.hpp.
|
inline |
Accessor methods for data and backsolver.
This unconstness seems kind of dangerous but I don't think there is a way around it. Anyway, there is no difference between this and the IpData() method of AlgStrategy.
Definition at line 91 of file SensPCalculator.hpp.
Definition at line 96 of file SensPCalculator.hpp.
Definition at line 101 of file SensPCalculator.hpp.
|
inline |
Definition at line 106 of file SensPCalculator.hpp.
|
private |
Definition at line 113 of file SensPCalculator.hpp.
Definition at line 115 of file SensPCalculator.hpp.
Definition at line 116 of file SensPCalculator.hpp.