emission_lp.hpp file
Parameter-carrier wrapper for the Emission pollutant tag.
EmissionLP is the LP-side wrapper for an Emission pollutant tag. It is passive — no add_to_lp / add_to_output methods; the visitor in system_lp.cpp gates on AddToLP<T> and skips this type. The constraint surface (cap / price / soft slack) lives on EmissionZone; the per-generator contribution lives on EmissionSource. EmissionLP exists solely so other elements can resolve a pollutant by uid/name via SystemContext::element<EmissionLP>(EmissionLPSId{...}).
Namespaces
- namespace gtopt
Classes
- class gtopt::EmissionLP