#include <gtopt/capacity_profile_traits.hpp>
template<>
CapacityProfileTraits<DemandLP> struct
Public types
- using SId = DemandLPSId
Public static variables
- static std::string_view capacity_warning
- static ProfileOwnerKind kind
- static ProfileLPMode lp_mode
- static LPClassName output_class_name
- static std::string_view slack_name
Public static functions
- static auto cols_at(const DemandLP& owner, const ScenarioLP& scenario, const StageLP& stage) -> auto&&
- static auto has_capacity(const DemandLP& owner) -> bool noexcept
- static auto sid(const CapacityProfile& p) -> SId noexcept
Variable documentation
template<>
static ProfileLPMode gtopt:: CapacityProfileTraits<DemandLP>:: lp_mode
Unserved demand keeps its (penalised) slack column and is not clamped by lmax: curtailment of profile·capacity above the load limit is still unserved energy.