#include <AsStdPCalculator.hpp>
Public Member Functions | |
StdPCalculator (SmartPtr< AsBacksolver > backsolver, SmartPtr< SchurData > A_data) | |
This is the standard implementation: single processor, SimpleBacksolver als linear solver. | |
virtual | ~StdPCalculator () |
virtual bool | InitializeImpl (const OptionsList &options, const std::string &prefix) |
Overloaded from AlgorithmStrategyObject. | |
virtual bool | ComputeP () |
Virtual functions overloaded from PCalculator. | |
virtual bool | GetSchurMatrix (const SchurData &B, Matrix &S) |
Function to extract a SchurMatrix corresponding to $B K^{-1} A$. | |
virtual void | PrintImpl (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const |
Private Member Functions | |
StdPCalculator () | |
standard constructor defined here so it can't be called | |
Private Attributes | |
Index | nrows_ |
Rows of P = Rows of KKT. | |
Index | ncols_ |
Cols of P = data_A_->GetNRowsAdded(). | |
Number * | P_ |
Stores entries of P columnwise. |
Definition at line 19 of file AsStdPCalculator.hpp.
Ipopt::StdPCalculator::StdPCalculator | ( | SmartPtr< AsBacksolver > | backsolver, | |
SmartPtr< SchurData > | A_data | |||
) |
This is the standard implementation: single processor, SimpleBacksolver als linear solver.
virtual Ipopt::StdPCalculator::~StdPCalculator | ( | ) | [virtual] |
Ipopt::StdPCalculator::StdPCalculator | ( | ) | [private] |
standard constructor defined here so it can't be called
virtual bool Ipopt::StdPCalculator::InitializeImpl | ( | const OptionsList & | options, | |
const std::string & | prefix | |||
) | [virtual] |
Overloaded from AlgorithmStrategyObject.
Reimplemented from Ipopt::PCalculator.
virtual bool Ipopt::StdPCalculator::ComputeP | ( | ) | [virtual] |
Virtual functions overloaded from PCalculator.
Implements Ipopt::PCalculator.
Function to extract a SchurMatrix corresponding to $B K^{-1} A$.
If B==NULL, use A=B
Implements Ipopt::PCalculator.
virtual void Ipopt::StdPCalculator::PrintImpl | ( | const Journalist & | jnlst, | |
EJournalLevel | level, | |||
EJournalCategory | category, | |||
const std::string & | name, | |||
Index | indent, | |||
const std::string & | prefix | |||
) | const [virtual] |
Implements Ipopt::PCalculator.
Index Ipopt::StdPCalculator::nrows_ [private] |
Rows of P = Rows of KKT.
Definition at line 50 of file AsStdPCalculator.hpp.
Index Ipopt::StdPCalculator::ncols_ [private] |
Cols of P = data_A_->GetNRowsAdded().
Definition at line 53 of file AsStdPCalculator.hpp.
Number* Ipopt::StdPCalculator::P_ [private] |
Stores entries of P columnwise.
Definition at line 56 of file AsStdPCalculator.hpp.