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

NogoodFromRestarts + ObjectiveStrategy = UnsupportedOperationException #1096

Closed
cprudhom opened this issue May 17, 2024 · 0 comments
Closed
Labels

Comments

@cprudhom
Copy link
Member

Recording no-goods from restarts is based on Decision, from now on, IntDecision and SetDecision are managed.

When using ObjectiveStrategy, like

solver.setSearch(Search.objectiveStrategy(obj, BOTTOM_UP), minDomLBSearch(xs));

recording no goods (from restarts or from solutions) throws an UnsupportedOperationException.

This is due to ObjectiveStrategy that redefines DecisionOperator instead of using IntSplitDecision or IntReverseSplitDecision.

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

No branches or pull requests

1 participant