QuadraticProgramToQubo.is_compatible

QuadraticProgramToQubo.is_compatible(problem)[source]

Checks whether a given problem can be solved with the optimizer implementing this method.

Parameters

problem (QuadraticProgram) – The optimization problem to check compatibility.

Return type

bool

Returns

Returns True if the problem is compatible, False otherwise.