Filter Content By
Version

item ( )

For an MQuadExpr that contains a single element, returns a copy of that element as a QuadExpr object. Calling this method on an MQuadExpr with more than one element will raise a ValueError.

Return value:

  mqe = 2 * model.addMVar((2, 2))** + 1