|
Interior-point-optimisation
1.0-1
Interior-pointoptimisationlibrary
|
Abstract base class for subvector classes. More...


Public Member Functions | |
| Subvector () | |
| Default constructor. More... | |
| virtual gsl::vector const | get (gsl::vector const &vector) const =0 |
| Get a subvector of vector. More... | |
| virtual void | set (gsl::vector &vector, gsl::vector const &subvector, double const scale=1.0) const =0 |
| Set vector from a subvector. More... | |
| virtual void | add (gsl::vector &vector, gsl::vector const &subvector, double const scale=1.0) const =0 |
| Add to vector from a subvector. More... | |
| virtual void | set (gsl::matrix &matrix, gsl::matrix const &submatrix, double const scale=1.0) const =0 |
| Set matrix from a submatrix. More... | |
| virtual void | add (gsl::matrix &matrix, gsl::matrix const &submatrix, double const scale=1.0) const =0 |
| Add to matrix from a submatrix Computes matrix += scale * [expanded] submatrix. More... | |
| virtual void | set (gsl::matrix &matrix, gsl::vector const &vector, double const scale=1.0) const =0 |
| Set matrix from a vector. More... | |
| virtual void | add (gsl::matrix &matrix, gsl::vector const &vector, double const scale=1.0) const =0 |
| Add to matrix from a vector Computes matrix += scale * [expanded] submatrix * [expanded] vector transpose. More... | |
Abstract base class for subvector classes.
These are used internally to allow the the interior point algorithm to run faster if all the constraints use either precisely one of the objective variables or all of them in the same order.
|
inline |
|
pure virtual |
Add to vector from a subvector.
| vector | The vector |
| subvector | The subvector |
| scale | A scaling factor: computes vector += scale * [expanded] subvector |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Add to matrix from a submatrix Computes matrix += scale * [expanded] submatrix.
| matrix | The matrix |
| submatrix | The submatrix |
| scale | A scaling factor |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Add to matrix from a vector Computes matrix += scale * [expanded] submatrix * [expanded] vector transpose.
| matrix | The matrix |
| vector | The vector |
| scale | A scaling factor |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Get a subvector of vector.
| vector | The vector |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Set vector from a subvector.
| vector | The vector |
| subvector | The subvector |
| scale | A scaling factor: computes vector += scale * [expanded] subvector |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Set matrix from a submatrix.
| matrix | The matrix |
| submatrix | The submatrix |
| scale | A scaling factor: computes matrix += scale * [expanded] submatrix |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.
|
pure virtual |
Set matrix from a vector.
| matrix | The matrix |
| vector | The vector |
| scale | A scaling factor: computes matrix += scale * [expanded] vector * [expanded] vector transpose |
Implemented in ipo::Model::IndirectSubvector, and ipo::Model::DirectSubvector.