gtopt/commitment_lp.hpp file

LP formulation for unit commitment (three-bin u/v/w model).

Defines CommitmentLP which creates binary (or relaxed) status/startup/ shutdown variables for a generator and adds the three core UC constraints:

  • C1 (logic): u[t] − u[t−1] = v[t] − w[t]
  • C2 (generation limits): Pmin·u ≤ p ≤ Pmax·u
  • C3 (exclusion): v[t] + w[t] ≤ 1

Also u-gates the generator's piecewise heat-rate kink rows. Emission prices and caps are not handled here: they are wired by EmissionSourceLP / EmissionZoneLP (see emission_source_lp.cpp).

Namespaces

namespace gtopt

Classes

class gtopt::CommitmentLP