English
Languages
English
Bengali
Japanese
Spanish



QuadraticProgram.get_num_binary_vars

QuadraticProgram.get_num_binary_vars()[source]

Returns the total number of binary variables.

Return type:

int

Returns:

The total number of binary variables.