encode_variablesΒΆ
- encode_variables(variables: Iterable[Variable]) EncodingInfoΒΆ
Generate encoding information for the given variables.
- Parameters:
variables (Iterable[Variable]) β The variables to encode.
- Returns:
The encoding information containing the encoded variables, mapping, and related constraints.
- Return type: