Skip to content

Recursive decision variable

RecursiveClientDecisionVariable

Bases: Variable

Aggregated client decision variable for the PC-HLP model.

\[y_{ij}^z \in \{0,1\} \quad \forall (i,j,z) \in K\]

where \(K\) is the set of grouped client keys. Unlike the flat ClientDecisionVariable, this variable indexes aggregated clients — \(z\) represents a merged group of original clients. Keys are read from BilevelDataCol.CLIENT_KEYS.