SDDPStatusSnapshot struct
#include <gtopt/sddp_monitor.hpp>
Snapshot of the SDDP solver's live convergence state.
Passed to write_sddp_api_status() so the free function does not need access to the solver's atomic members or options struct.
Public variables
- bool converged
- Whether the solver has converged.
- int current_pass
- 0=idle, 1=forward, 2=backward
- double gap
- Current relative convergence gap.
- int iteration
- Current iteration number.
- double lower_bound
- Current lower bound.
- int max_iterations
- SDDPOptions::max_iterations.
- int min_iterations
- SDDPOptions::min_iterations.
- int scenes_done
- Scenes completed in current pass.
- double upper_bound
- Current upper bound.