QuadraticProgramToQubo.is_compatible¶
- QuadraticProgramToQubo.is_compatible(problem)[ソース]¶
Checks whether a given problem can be solved with the optimizer implementing this method.
- パラメータ
problem (
QuadraticProgram
) – The optimization problem to check compatibility.- 戻り値の型
bool
- 戻り値
Returns True if the problem is compatible, False otherwise.