Iteration struct
#include <gtopt/iteration.hpp>
Per-iteration control flags for the SDDP solver.
Unlike Phase and Scenario, Iteration is keyed by Index index rather than a Uid. The solver matches the current 0-based iteration number against this index to find per-iteration overrides.
Public static variables
- static constexpr std::string_view class_name
- Class name constant used for serialisation/deserialisation.
Public functions
- auto should_update_lp() const -> constexpr auto noexcept
Public variables
Function documentation
constexpr auto gtopt:: Iteration:: should_update_lp() const noexcept
| Returns | Whether update_lp should be dispatched for this iteration |
|---|