#include <AsDenseGenSchurDriver.hpp>
Public Member Functions | |
DenseGenSchurDriver (SmartPtr< AsBacksolver > backsolver, SmartPtr< PCalculator > pcalc, SmartPtr< SchurData > data_B) | |
This is the most basic of all possible implementations of the SchurDriver interface. | |
virtual | ~DenseGenSchurDriver () |
virtual bool | SchurBuild () |
Creates the SchurMatrix from B and P. | |
virtual bool | SchurFactorize () |
Calls the factorization routine for the SchurMatrix. | |
virtual bool | SchurSolve (SmartPtr< IteratesVector > lhs, SmartPtr< const IteratesVector > rhs, SmartPtr< IteratesVector > sol, SmartPtr< Vector > delta_u) |
Performs a backsolve on S and K. | |
virtual bool | SchurSolve (SmartPtr< IteratesVector > lhs, SmartPtr< const IteratesVector > rhs, SmartPtr< Vector > delta_u) |
Performs a backsolve on S and K. | |
Private Attributes | |
SmartPtr< AsBacksolver > | backsolver_ |
SmartPtr< DenseGenMatrix > | S_ |
Definition at line 17 of file AsDenseGenSchurDriver.hpp.
Ipopt::DenseGenSchurDriver::DenseGenSchurDriver | ( | SmartPtr< AsBacksolver > | backsolver, | |
SmartPtr< PCalculator > | pcalc, | |||
SmartPtr< SchurData > | data_B | |||
) |
This is the most basic of all possible implementations of the SchurDriver interface.
It uses a simple backsolver as an interface to the KKT solver, a DenseGenMatrix as Schurmatrix, and LU factorization from LAPACK for the DenseGenMatrix (DGETRF)
virtual Ipopt::DenseGenSchurDriver::~DenseGenSchurDriver | ( | ) | [virtual] |
virtual bool Ipopt::DenseGenSchurDriver::SchurBuild | ( | ) | [virtual] |
Creates the SchurMatrix from B and P.
Implements Ipopt::SchurDriver.
virtual bool Ipopt::DenseGenSchurDriver::SchurFactorize | ( | ) | [virtual] |
Calls the factorization routine for the SchurMatrix.
Implements Ipopt::SchurDriver.
virtual bool Ipopt::DenseGenSchurDriver::SchurSolve | ( | SmartPtr< IteratesVector > | lhs, | |
SmartPtr< const IteratesVector > | rhs, | |||
SmartPtr< IteratesVector > | sol, | |||
SmartPtr< Vector > | delta_u | |||
) | [virtual] |
Performs a backsolve on S and K.
Implements Ipopt::SchurDriver.
virtual bool Ipopt::DenseGenSchurDriver::SchurSolve | ( | SmartPtr< IteratesVector > | lhs, | |
SmartPtr< const IteratesVector > | rhs, | |||
SmartPtr< Vector > | delta_u | |||
) | [virtual] |
Performs a backsolve on S and K.
Implements Ipopt::SchurDriver.
Definition at line 51 of file AsDenseGenSchurDriver.hpp.
SmartPtr<DenseGenMatrix> Ipopt::DenseGenSchurDriver::S_ [private] |
Definition at line 53 of file AsDenseGenSchurDriver.hpp.