def check_constraints(self):
self._prob.set_objective(<NUM_LIT:0>)<EOL>self._solve()<EOL>
Optimize without objective to check that solution is possible.

        Raises :class:`FluxBalanceError` if no flux solution is possible.