Added Schur numbers example.
This commit is contained in:
parent
a4cd133ba7
commit
c1899a6347
5
examples/schur-numbers.lp
Normal file
5
examples/schur-numbers.lp
Normal file
@ -0,0 +1,5 @@
|
||||
{in(1..n, 1..r)}.
|
||||
covered(I) :- in(I, S).
|
||||
|
||||
:- I = 1..n, not covered(I).
|
||||
:- in(I, S), in(J, S), in(I + J, S).
|
Loading…
Reference in New Issue
Block a user