Closed mahi045 closed 1 year ago
All atoms you are projecting on are facts. Those get simplified and in the end nothing to project is left. As a workaround, you can explicitly request projection to get the desired solution:
clingo test.lp 0 --project=project
It would probably be best if the grounder were to send some projection statement to the solver to enable the right projection mode.
PS: Passing large ground programs to the solver will quickly lead to very slow grounding. The grounder has not been written as a translator.
Thank you
I tried to enumerate projected answer sets of the given program (used --project in command line): input asp program. The projection atoms are specified by
#project
directive.The output of Clingo is as follows:
But neither of the literals v36, v63, v129, ..., v96 are in the projection set. Actually, the projected number of answer sets should be 1 (empty answer set). I want to know why Clingo is printing 5 answer sets. Note that
--project=no
also shows the same answer sets. It seems that--project
has no effect.Thanks in advance.