gtopt namespace

Enums

enum class StopReason: std::uint8_t { max_iterations, gap_tol, stationary, statistical, stop_requested, callback }
Why the training loop of one SDDP solve ended (logged once).

Enum documentation

enum class gtopt::StopReason: std::uint8_t

Why the training loop of one SDDP solve ended (logged once).

Enumerators
max_iterations

ran the full max_iterations budget

gap_tol

primary gap test (convergence_tol, stationarity off)

stationary

ΔUB stationary over the own window, gap below ceiling.

statistical

statistical CI test

stop_requested

sentinel / API / programmatic stop

callback

iteration callback asked to stop