@property<EOL><INDENT>def unbounded(self):<DEDENT>
self._check_valid()<EOL>cp = self._problem._cp<EOL>status = cp.solution.get_status()<EOL>presolve = cp.parameters.preprocessing.presolve.get()<EOL>if (status == cp.solution.status.infeasible_or_unbounded and<EOL>presolve):<EOL><INDENT>logger.info('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>cp.parameters.preprocessing.presolve.set(False)<EOL>try:<EOL><INDENT>self._problem._solve()<EOL><DEDENT>finally:<EOL><INDENT>cp.parameters.preprocessing.presolve.set(True)<EOL><DEDENT>status = cp.solution.get_status()<EOL><DEDENT>return status == cp.solution.status.unbounded<EOL>
Whether solution is unbounded