English
Languages
English
Bengali
Japanese
Shortcuts



QuadraticProgramToQubo.get_compatibility_msg

static QuadraticProgramToQubo.get_compatibility_msg(problem)[source]

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

Checks whether the given problem is compatible, i.e., whether the problem can be converted to a QUBO, and otherwise, returns a message explaining the incompatibility.

Parameters

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

Return type

str

Returns

A message describing the incompatibility.