ADMMOptimizer.solve(problem)[Quellcode]

Tries to solves the given problem using ADMM algorithm.

Parameter

problem (QuadraticProgram) – The problem to be solved.

Rückgabetyp

ADMMOptimizationResult

Rückgabe

The result of the optimizer applied to the problem.

Verursacht

QiskitOptimizationError – If the problem is not compatible with the ADMM optimizer.