lp_context.hpp file
Typed LP context tuples and label generation utilities.
Defines typed context tuples that identify WHERE in the LP hierarchy a column or row lives. Each tuple alias names a specific granularity level (stage-level, block-level, etc.).
These tuples replace the fragile positional string arguments previously passed to lp_col_label() / lp_row_label(). String labels are now generated lazily from structured metadata when needed (LP file output, solver diagnostics).
Convention: tuples are ordered from broadest to narrowest scope.
Namespaces
- namespace gtopt
- namespace gtopt::detail
Classes
- struct gtopt::TupleHash
- Generic hash for any std::tuple of hashable elements.