sparse_row.hpp file
Sparse row representation for linear programming constraints.
This module provides the SparseRow class which represents constraints in a linear program, including their bounds and sparse coefficient storage. The implementation uses efficient flat_map storage and supports compile-time construction of problems through constexpr methods.
Key features:
- Sparse storage of constraint coefficients
- Fluent interface for constraint bounds
- Conversion to flat formats for solver interfaces
- Compile-time evaluation support
Namespaces
- namespace gtopt
Classes
- class gtopt::SparseRow
- Represents a constraint row in a linear program with sparse coefficients.