ADMMOptimizer.get_compatibility_msg¶
- ADMMOptimizer.get_compatibility_msg(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
Optional
[str
]- Returns
Returns True if the problem is compatible, otherwise raises an error.
- Raises
QiskitOptimizationError – If the problem is not compatible with the ADMM optimizer.