-
Notifications
You must be signed in to change notification settings - Fork 16
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
Propagator fails when lookahead is enabled. #45
Comments
A (preferably) small example would be highly appreciated. |
I'll try to come up with something. So far I can tell that the problem appears when solving incrementally with lookahead enabled. It consistently happens at the beginning of the second solving step. It is either the above runtime error or an assertion: void Clasp::Lookahead::splice(Clasp::Lookahead::NodeId): Assertion `ul != UINT32_MAX' failed. |
Please have a look at the lookahead-bug branch in clingo-dl. The project should build fine on both linux and windows. If you want to avoid installing re2c and bison you can apply the windows.patch.1 after checking out the submodules. The example to reproduce the bug itself is tiny. |
Thanks. Will try to give you some feedback by the end of this week. |
I hopefully found and fixed the problem. Could you please do some further testing? |
Thanks. I think that clingo-dl is currently our most sophisticated propagator. But testing with lookahead is a bit difficult because with large instances it slows down solving too much. But maybe @wanko and @MaxOstrowski can try some lookahead options on smaller instances (e.g. |
The runtime check
POTASSCO_REQUIRE(front_ == INT32_MAX || (dl - level_) == 1, "Propagate must be called on each level");
fires if a propagator is used together with lookahead (solver.6 in the portfolio).
If you need an example, I can provide something but in its current form there is quite some setup required to get it running.
The text was updated successfully, but these errors were encountered: