What is the best way to establish one-to-one pairings in clingo?
In wanting to create a set of pairings, I see in the textbook Answer Set Programming that the following definition occurs in Listing 3.1:
Clingo – solve 2 dollars exchange problem
I’a new in Clingo and I have a task to solve which is below