4 ms·
Prolog isn't a numerical constraint solver. I once had to write a menu system in Turbo Prolog. Not fun. Totally the wrong tool for the job. Prolog isn't that u
by Animats 12y ago
Prolog isn't a numerical constraint solver.
I once had to write a menu system in Turbo Prolog. Not fun. Totally the wrong tool for the job. Prolog isn't that useful when you have to cause an action, as opposed to computing a result.
- abathologist 12y agoHave you used any of the numerical constraint solving libraries available for many Prolog implementations?[1] (It is also worth noting that Turbo Prolog is a rather peculiar—and now rather old—take on Prolog. I believe it has been superseded by Visual Prolog). [1]: e.g., SWI Prolog's http://www.swi-prolog.org/pldoc/man?section=clpfd http://www.swi-prolog.org/pldoc/man?section=clpfd, or http://www.swi-prolog.org/pldoc/man?section=clpqr http://www.swi-prolog.org/pldoc/man?section=clpqr