gtopt/carrier_converter_lp.hpp file

LP wrapper for CarrierConverter.

Creates one input column per (scenario, stage, block) with cost ocost and upper bound capacity. Stamps

  • −1 into the from-node balance row
  • +efficiency into the to-node balance row

Dispatch on the runtime Carrier enum picks the correct node-LP type to look up. This is the only place where carrier-string-like dispatch happens; everywhere else the C++ type system carries the carrier identity at compile time.

Namespaces

namespace gtopt

Classes

class gtopt::CarrierConverterLP