Utility function to allocate an LDLT solver for the Newton iterations. More...
#include "proxsuite-nlp/linalg/block-ldlt.hpp"#include "proxsuite-nlp/linalg/bunchkaufman.hpp"#include <boost/variant.hpp>#include <array>Go to the source code of this file.
Classes | |
| struct | proxsuite::nlp::ComputeSignatureVisitor |
Namespaces | |
| namespace | proxsuite |
| Main package namespace. | |
Typedefs | |
| template<typename Scalar, class MatrixType = typename math_types<Scalar>::MatrixXs> | |
| using | proxsuite::nlp::LDLTVariant |
| using | proxsuite::nlp::isize |
Enumerations | |
| enum class | proxsuite::nlp::LDLTChoice { DENSE , BUNCHKAUFMAN , BLOCKSPARSE , EIGEN , PROXSUITE } |
Functions | |
| linalg::SymbolicBlockMatrix | proxsuite::nlp::create_default_block_structure (const std::vector< isize > &dims_primal, const std::vector< isize > &dims_dual) |
| isize | proxsuite::nlp::get_total_dim_helper (const std::vector< isize > &nprims, const std::vector< isize > &nduals) |
| template<typename Scalar> | |
| LDLTVariant< Scalar > | proxsuite::nlp::allocate_ldlt_from_sizes (const std::vector< isize > &nprims, const std::vector< isize > &nduals, LDLTChoice choice) |
| std::array< int, 3 > | proxsuite::nlp::computeInertiaTuple (const Eigen::Ref< Eigen::VectorXi const > &signature) |
Utility function to allocate an LDLT solver for the Newton iterations.
Definition in file ldlt-allocator.hpp.
| using proxsuite::nlp::LDLTVariant |
Definition at line 37 of file ldlt-allocator.hpp.
| using proxsuite::nlp::linalg::isize |
Definition at line 18 of file block-kind.hpp.
|
strong |
| Enumerator | |
|---|---|
| DENSE | Use our dense LDLT. |
| BUNCHKAUFMAN | Use Bunch-Kaufman factorization. |
| BLOCKSPARSE | Use blocked LDLT. |
| EIGEN | Use Eigen's implementation. |
| PROXSUITE | Use Proxsuite's LDLT. |
Definition at line 22 of file ldlt-allocator.hpp.
|
inline |
Definition at line 47 of file ldlt-allocator.hpp.
|
inline |
Definition at line 95 of file ldlt-allocator.hpp.
| LDLTVariant< Scalar > proxsuite::nlp::allocate_ldlt_from_sizes | ( | const std::vector< isize > & | nprims, |
| const std::vector< isize > & | nduals, | ||
| LDLTChoice | choice ) |
Definition at line 102 of file ldlt-allocator.hpp.
|
inline |
Definition at line 197 of file ldlt-allocator.hpp.