TimeAggRef struct
#include <gtopt/constraint_expr.hpp>
sum{idx in window} [dur[idx] *] inner_expr — TIME aggregation.
See the forward declaration above for the full semantics. Defined here (after ConstraintTerm) because it owns a std::vector<ConstraintTerm>; ConstraintTerm::time_agg holds it via std::shared_ptr<const …>.
Public variables
- std::string index_name
- bound block index (e.g. "b")
- std::vector<ConstraintTerm> inner
- inner linear expression
- TimeAggWeight weight
- TimeWindow window