def get_compatibility_msg(self, problem: QuadraticProgram) -> str:
    'Checks whether a given problem can be solved with this optimizer.\n\n        Checks whether the given problem is compatible, i.e., whether the problem can be converted\n        to a QUBO, and otherwise, returns a message explaining the incompatibility.\n\n        Args:\n            problem: The optimization problem to check compatibility.\n\n        Returns:\n            A message describing the incompatibility.\n        '
    return QuadraticProgramToQubo.get_compatibility_msg(problem)
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.

Args:
    problem: The optimization problem to check compatibility.

Returns:
    A message describing the incompatibility.
def get_compatibility_msg(self, problem: QuadraticProgram) -> str:
    'Checks whether a given problem can be solved with this optimizer.\n\n        Checks whether the given problem is compatible, i.e., whether the problem can be converted\n        to a QUBO, and otherwise, returns a message explaining the incompatibility.\n\n        Args:\n            problem: The optimization problem to check compatibility.\n\n        Returns:\n            A message describing the incompatibility.\n        '
    return QuadraticProgramToQubo.get_compatibility_msg(problem)