Skip to content

Variables

Variable metadata identifiers for the Oracle Paper benchmark UI.

Collects the [VariableMetaData][bilevelpy.models.meta.VariableMetaData] references for all variable types used in the paper. The benchmark UI can list and exclude variables from solution comparisons without needing to import the full variable classes at startup.

BilevelVars

Registry of [VariableMetaData][bilevelpy.models.meta.VariableMetaData] instances for the benchmark UI.

Each attribute exposes the var_metadata of a variable class so the UI can render it (via display_name) and filter it out of solution comparisons (via equality checks against extracted variables).

Attributes:

Name Type Description
LINEAR_X_Y

Standard linearization variable \(X_{ijkm}^z\).

LINEAR_BILEVEL_X

Recursive (aggregated) linearization variable.

PRICE

Price variable \(p_{ij}\) (PS_HLP only).

CLIENT_DECISION

Client decision variable \(y_{ij}^z\).

RECURSIVE_CLIENT_DECISION

Aggregated client decision for PC-HLP.