Template Struct Workspace
Defined in File workspace.hpp
Struct Documentation
-
template<typename T>
struct Workspace This class defines the workspace of the dense solver.
Workspace class of the dense solver.
Public Functions
-
inline Workspace(isize dim = 0, isize n_eq = 0, isize n_in = 0, bool box_constraints = false, DenseBackend dense_backend = DenseBackend::PrimalDualLDLT)
Default constructor.
- Parameters:
dim – primal variable dimension.
n_eq – number of equality constraints.
n_in – number of inequality constraints.
-
inline void cleanup(const bool box_constraints)
Clean-ups solver’s workspace.
-
inline Workspace(isize dim = 0, isize n_eq = 0, isize n_in = 0, bool box_constraints = false, DenseBackend dense_backend = DenseBackend::PrimalDualLDLT)