Skip to content

Conversation

@rwe
Copy link
Contributor

@rwe rwe commented Mar 13, 2016

This enables more easily catching specific conditions like suboptimal solution.

# NOFEASFOUND (13) No feasible B&B solution found
raise LPException("Error 13: No feasible B&B solution found")
raise LPInfeasibleException("No feasible B&B solution found", ret)
raise LPException("Error {}: Unknown error!".format(ret), ret)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this raises on unknown error as from #2

@rwe rwe force-pushed the specific-exception-types branch from 433cd22 to 7fe5b51 Compare May 28, 2016 22:41
@rwe rwe force-pushed the specific-exception-types branch from 7fe5b51 to e621c2f Compare May 28, 2016 22:43
@rwe
Copy link
Contributor Author

rwe commented May 28, 2016

@hoytak I've rebased this now that #2 has been merged in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant