gtopt::IfCondAtom struct

A single atomic comparison for if-condition evaluation (F8).

The left-hand side is a loop coordinate (scenario, stage, or block), the right-hand side a literal integer or a set of integers. Evaluated at LP-construction time per domain instance.

Public types

enum class Coord: std::uint8_t { Scenario, Stage, Block }
enum class Op: std::uint8_t { Eq, Ne, Lt, Le, Gt, Ge, In }

Public variables

Coord coord
std::optional<uid_t> number
RHS for scalar comparisons.
Op op
std::vector<uid_t> set_values
RHS for in { … }.