Ipopt
3.12.12
|
#include <SensIndexPCalculator.hpp>
Public Member Functions | |
IndexPCalculator (SmartPtr< SensBacksolver > backsolver, SmartPtr< SchurData > A_data) | |
This class is the implementation of the PCalculator that corresponds to IndexSchurData. More... | |
virtual | ~IndexPCalculator () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from PCalculator. More... | |
virtual bool | ComputeP () |
Function to start the computation of P from E_0 and KKT. More... | |
virtual bool | GetSchurMatrix (const SmartPtr< const SchurData > &B, SmartPtr< Matrix > &S) |
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 |
![]() | |
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 () |
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 | |
Index | nrows_ |
Rows of P = Rows of KKT. More... | |
Index | ncols_ |
Cols of P. More... | |
std::map< Index, SmartPtr < PColumn > > | cols_ |
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 SensIndexPCalculator.hpp.
Ipopt::IndexPCalculator::IndexPCalculator | ( | SmartPtr< SensBacksolver > | backsolver, |
SmartPtr< SchurData > | A_data | ||
) |
This class is the implementation of the PCalculator that corresponds to IndexSchurData.
It expects to be used with a kind of IndexSchurData.
|
virtual |
|
virtual |
Overloaded from PCalculator.
Reimplemented from Ipopt::PCalculator.
|
virtual |
Function to start the computation of P from E_0 and KKT.
Implements Ipopt::PCalculator.
|
virtual |
Function to extract a SchurMatrix corresponding to $B K^{-1} A$.
If B==NULL, use A=B
Implements Ipopt::PCalculator.
|
virtual |
Implements Ipopt::PCalculator.
|
private |
Rows of P = Rows of KKT.
Definition at line 47 of file SensIndexPCalculator.hpp.
|
private |
Cols of P.
Definition at line 50 of file SensIndexPCalculator.hpp.
Definition at line 52 of file SensIndexPCalculator.hpp.