@property<EOL><INDENT>def unbounded(self):<DEDENT>
self._check_valid()<EOL>status = self._problem._p.Status<EOL>if (status == gurobipy.GRB.INF_OR_UNBD and<EOL>self._problem._p.params.DualReductions):<EOL><INDENT>self._problem._p.params.DualReductions = <NUM_LIT:0><EOL>try:<EOL><INDENT>self._problem._p.optimize()<EOL><DEDENT>finally:<EOL><INDENT>self._problem._p.params.DualReductions = <NUM_LIT:1><EOL><DEDENT>status = self._problem._p.Status<EOL><DEDENT>return status == gurobipy.GRB.UNBOUNDED<EOL>
Whether solution is unbounded