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

Solver.reset() could also reset the ObjectiveManager #472

Closed
cprudhom opened this issue Dec 1, 2016 · 2 comments
Closed

Solver.reset() could also reset the ObjectiveManager #472

cprudhom opened this issue Dec 1, 2016 · 2 comments
Milestone

Comments

@cprudhom
Copy link
Member

cprudhom commented Dec 1, 2016

Indeed, when dealing with a COP, the user has to manually call reset() and erase the strategy.
Would it be nice that, by default, the objective manager is reset too ?

  • javadoc is not up to date.
@JLiangWaterloo
Copy link
Contributor

I had a conversation with @jgFages in #444 on this topic

@cprudhom
Copy link
Member Author

cprudhom commented Dec 2, 2016

I share the opinion of @jgFages about resetting the OM: calling reset on solver should not change the OM but simply reinitialize it.
In other words, nothing changes for CSP, but when dealing with COP, the best know value should be erased.

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

No branches or pull requests

2 participants