OptimizationAlgorithm

class OptimizationAlgorithm[source]

An abstract class for optimization algorithms in Qiskit’s optimization module.

Methods

OptimizationAlgorithm.get_compatibility_msg(problem)

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

OptimizationAlgorithm.is_compatible(problem)

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

OptimizationAlgorithm.solve(problem)

Tries to solves the given problem using the optimizer.