This interface serves as a reference point for multiple classes that need to use SchurData (PCalculator, SchurDriver). More...
#include <SensSchurData.hpp>
Protected Member Functions | |
virtual void | Set_Initialized () |
virtual void | Set_NRows (Index nrows) |
Private Attributes | |
bool | initialized_ |
Makes sure that data is not set twice accidentially. | |
Index | nrows_ |
Number of columns/rows of corresponding Schur Matrix. | |
This interface serves as a reference point for multiple classes that need to use SchurData (PCalculator, SchurDriver).
It declares as little as possible, so that SchurData implementations can be very special and fast.
I have not decided yet if there are certain ways I want to impose that SchurData can be set. I will figure this out as soon as I write the upstream classes that need to do that
Nomenclature in this program is based on Victor Zavalas thesis.
Definition at line 29 of file SensSchurData.hpp.
|
inline |
Definition at line 32 of file SensSchurData.hpp.
|
inlinevirtual |
Definition at line 37 of file SensSchurData.hpp.
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Set Data to one for given indices.
Size of vector is ipopt_x_<full_x_
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Set Data to corresponing Number.
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Implemented in Ipopt::IndexSchurData.
Returns number of rows/columns in schur matrix.
Reimplemented in Ipopt::IndexSchurData.
Definition at line 77 of file SensSchurData.hpp.
Definition at line 82 of file SensSchurData.hpp.
|
pure virtual |
Returns the i-th column vector of the matrix.
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Returns two vectors that are needed for matrix-vector multiplication of B and P.
The index is the row, the first vector are the indices of non-zero components, in this row of B, the second vector gives the numbers in B(row,indices)/
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Computes B*v with B in R(mxn)
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Computes A*u with A in R(nxm), KKT in R(n,n)
Implemented in Ipopt::IndexSchurData.
|
pure virtual |
Implemented in Ipopt::IndexSchurData.
|
inline |
Definition at line 127 of file SensSchurData.hpp.
|
inline |
Definition at line 142 of file SensSchurData.hpp.
Definition at line 159 of file SensSchurData.hpp.
Definition at line 164 of file SensSchurData.hpp.
|
private |
Makes sure that data is not set twice accidentially.
Definition at line 174 of file SensSchurData.hpp.
|
private |
Number of columns/rows of corresponding Schur Matrix.
Definition at line 177 of file SensSchurData.hpp.