gtopt/sddp_cut_io_internal.hpp file

Internal helpers shared by sddp_cut_io split TUs.

Not part of the public gtopt API — these helpers are shared between the sibling translation units that implement the cut persistence pipeline:

  • source/sddp_cut_io.cpp — UID maps, helpers
  • source/sddp_cut_parquet.cpp — Parquet save / load (single canonical format for internal SDDP cuts)
  • source/sddp_boundary_cuts.cpp — boundary (future-cost) cuts loaded from PLP-compatible CSV

is_final_state_col lives in the public header <gtopt/sddp_cut_io.hpp> (it has unit tests).

External callers should include <gtopt/sddp_cut_io.hpp> instead. This header lives in include/gtopt/ only because the build system does not search source/ for headers; it is namespaced under gtopt::detail to mark its internal nature.

Namespaces

namespace gtopt
namespace gtopt::detail

Classes

struct gtopt::detail::ColKeyInfo
Compact reverse map from ColIndex to state variable identity.