English
Languages
English
Shortcuts



LinearExpression.bounds

property LinearExpression.bounds

Returns the lower bound and the upper bound of the linear expression

Return type

ExpressionBounds

Returns

The lower bound and the upper bound of the linear expression

Raises

QiskitOptimizationError – if the linear expression contains any unbounded variable