MonolithicOptions struct
#include <gtopt/monolithic_options.hpp>
Monolithic solver configuration parameters.
Groups monolithic-solver-specific options into a single sub-object for clearer JSON organization. All fields are optional — defaults are applied via PlanningOptionsLP.
Public functions
- auto merge(MonolithicOptions&& opts) -> void
Public variables
- OptName boundary_cuts_file
- CSV file with boundary (future-cost) cuts.
- std::optional<BoundaryCutsMode> boundary_cuts_mode
- Boundary cuts load mode: noload, separated (default), or combined.
- OptInt boundary_max_iterations
- Maximum iterations to load from boundary cuts file (0 = all)
- std::optional<SolveMode> solve_mode
- Solve mode: monolithic (default) or sequential.
- std::optional<SolverOptions> solver_options
- Optional LP solver configuration for monolithic.
Variable documentation
OptName gtopt:: MonolithicOptions:: boundary_cuts_file
CSV file with boundary (future-cost) cuts.
When non-empty, the monolithic solver loads boundary cuts from this file before solving. The cuts approximate the expected future cost beyond the planning horizon (analogous to SDDP boundary cuts).
std::optional<SolverOptions> gtopt:: MonolithicOptions:: solver_options
Optional LP solver configuration for monolithic.
When set, these options are merged with (and override) the global Options::solver_options. Allows the monolithic solver to use a different time limit or algorithm than SDDP.