Bengali
ভাষাসমূহ
English
Bengali
Japanese
Shortcuts



CplexOptimizer.solve

CplexOptimizer.solve(problem)[source]

Tries to solves the given problem using the optimizer.

Runs the optimizer to try to solve the optimization problem. If problem is not convex, this optimizer may raise an exception due to incompatibility, depending on the settings.

প্যারামিটার

problem (QuadraticProgram) -- The problem to be solved.

রিটার্ন টাইপ

OptimizationResult

রিটার্নস

The result of the optimizer applied to the problem.

রেইজেস

QiskitOptimizationError -- If the problem is incompatible with the optimizer.