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
- void merge(MonolithicOptions&& opts)
Public variables
- std::optional<BoundaryCutSharingMode> boundary_cut_sharing_mode
- Terminal-α sharing for boundary cuts: per_scene (default), shared, or multicut.
- 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<MipStartOptions> mip_start
- Optional initial-MIP-solution generator configuration.
- std::optional<SolveMode> solve_mode
- Solve mode: monolithic (default) or sequential.
- std::optional<SolverOptions> solver_options
- Optional LP solver configuration for monolithic.
Variable documentation
std::optional<BoundaryCutSharingMode> gtopt:: MonolithicOptions:: boundary_cut_sharing_mode
Terminal-α sharing for boundary cuts: per_scene (default), shared, or multicut.
Mirrors SddpOptions::boundary_cut_sharing_mode. Under multicut the terminal phase carries N α columns (varphi_0..N-1) and each scenario's boundary cut is routed to its own varphi_s in every scene-LP. DEPRECATED alias of FutureCost::sharing (honoured only for method = monolithic); folded into the FutureCost element by resolve_future_cost_aliases and then cleared.
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). DEPRECATED alias of FutureCost::cuts_file (honoured only for method = monolithic); folded into the FutureCost element by resolve_future_cost_aliases and then cleared.
std::optional<BoundaryCutsMode> gtopt:: MonolithicOptions:: boundary_cuts_mode
Boundary cuts load mode: noload, separated (default), or combined.
DEPRECATED alias of FutureCost::mode (honoured only for method = monolithic); folded into the FutureCost element by resolve_future_cost_aliases and then cleared.
OptInt gtopt:: MonolithicOptions:: boundary_max_iterations
Maximum iterations to load from boundary cuts file (0 = all).
DEPRECATED alias of FutureCost::iteration_limit (honoured only for method = monolithic); folded into the FutureCost element by resolve_future_cost_aliases and then cleared.
std::optional<MipStartOptions> gtopt:: MonolithicOptions:: mip_start
Optional initial-MIP-solution generator configuration.
When mip_start.enabled is true, the monolithic solver computes a starting integer solution (relax → round → domain_rules → [scip_repair]) and injects it into the backend before branch-and-cut (see MipStartOptions).
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.