Optimization problems (qiskit.optimization.problems)

Problems

Structures for defining an optimization problem and its solution.

QuadraticProgram

Quadratically Constrained Quadratic Program representation.

Note

The following classes are not intended to be instantiated directly. Objects of these types are available within an instantiated QuadraticProgram.

Constraint

Abstract Constraint Class.

LinearExpression

Representation of a linear expression by its coefficients.

LinearConstraint

Representation of a linear constraint.

QuadraticExpression

Representation of a quadratic expression by its coefficients.

QuadraticConstraint

Representation of a quadratic constraint.

QuadraticObjective

Representation of quadratic objective function of the form: constant + linear * x + x * quadratic * x.

Variable

Representation of a variable.