Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix confusing semantics of model.solutions.load_from #371

Open
ghackebeil opened this issue Feb 27, 2018 · 1 comment
Open

Fix confusing semantics of model.solutions.load_from #371

ghackebeil opened this issue Feb 27, 2018 · 1 comment

Comments

@ghackebeil
Copy link
Member

See #365 and #370

@ghackebeil
Copy link
Member Author

Options to consider:

  • Tag the results object after the solution was taken out of it by model.solutions.load_from, so that if a user attempts to pass it to model.solutions.load_from again, we can provide a helpful exception.
  • Change model.solutions.load_from to leave the solution in the results object after loading it.

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

No branches or pull requests

3 participants