» ASP Competition | |
|
Schur NumbersProblem descriptionThe Schur number problem is to partition n (positive) integers into m sets such that all of the sets are sum-free. By sum-free, we mean that, if x and y (x = y is possible) are assigned to the same set, then x+y is not in the set. In our version of the Schur number problem, we permit an extra input that specifies the assignment of some numbers to sets. The task then is to check whether the given partial assignment can be extended to a full sum-free assignment. Input formatAn input consists of the following parts: a.
The n positive integers to partition are given by instances of "number".
For example: b.
The m sets to which numbers can be assigned are given by instances of "part".
For example: c.
Finally, a partial assignment can be specified by instances of "assigned" as follows: For further illustration, compare the instances available at asparagus. Output formatA solution is represented by means of predicate "assigned". An instance of the form assigned(x,y) means that integer x belongs to set y. The solution must extend the partial assignment given in the input, and it must correspond to a sum-free partition for the numbers and parts of the input. Author: Lengning Liu, Miroslaw Truszczynski, and Martin Gebser |