LinearExpression.coefficients

property LinearExpression.coefficients: scipy.sparse.dok.dok_matrix

Returns the coefficients of the linear expression.

Return type

dok_matrix

Returns

The coefficients of the linear expression.