linopy.expressions.QuadraticExpression.solution

linopy.expressions.QuadraticExpression.solution#

property QuadraticExpression.solution#

Get the optimal values of the expression.

The function raises an error in case no model is set as a reference or the model is not optimized.