We invoke the following command with oclingo and we get the command that appears below:
dhcp-64-103-84-154:oclingo dmagka$ oclingo dpal/cp_base.lp dpal/o_transforms.lp --imax=9 0 &
ERROR: unsafe variables in:
Why are X and Y considered unsafe since they both occur in the positive body of the rule?
This is in contrast with what potasco guide says "gringo expects rules to be safe, i.e., all variables that appear in a rule have to appear in some positive literal (a literal not preceded by not) in the body".
Files cp_base.lp and o_transforms.lp attached.
Log in to post a comment.