Questions tagged [gringo]
18 questions
0
votes
1 answer
Use Clingo 4.5 with Gringo 3
I am trying to run the code from the exercises from Chapter 8 of the PCGBook. They use clingo but don't say what version they are using. When I downloaded the latest version of Clingo from Potassco's sourceforge (version 4.5.4), it gives me lexer…

nightwuffle
- 311
- 3
- 10
-1
votes
1 answer
how to show all the maximum result in clingo when using the maximize?
I'm currently writing an asp program.
when I comment the line #maximize{S:ce(S)}. within the program, the answer shows as follows
omit the Answer 1 to 6.
Answer: 7
review(harris,english) review(ben,math) review(ben,chinese) review(nick,math)…

A shur
- 1
- 1
-1
votes
1 answer
How to start with clingo?
I have install clingo. But I don't know how to run it. There are some examples in the file. I tried to run it. But it failed.
I installed it in both windows and Ubuntu. And I have add it to the path.
C:\Windows\system32>clingo color.lp\graph.lp…

BULLDOZER123
- 1
- 1