QuadraticProgram.variables_index

property QuadraticProgram.variables_index: Dict[str, int]

Returns the dictionary that maps the name of a variable to its index.

Return type

Dict[str, int]

Returns

The variable index dictionary.