-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'd like to know about specific problems you - the SO reader - have solved using constraint programming and what constraint logic language you used.
Questions:
What problems have you used constraint programming to solve?
What constraint logic language did you use?
I'm looking for first-hand experiences…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a list of items I want to buy. The items are offered by different shops and different prices. The shops have individual delivery costs. I'm looking for an optimal shopping strategy (and a java library supporting it) to purchase all of the items with a minimal total price.
Example:
Item1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm working on an application in Java, that needs to do some complex logic rule deductions as part of its functionality. I'd like to code my logic deductions in Prolog or some other logic/constraint programming language, instead of Java, as I believe the resulting code will be significantly simpler…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying to use Microsoft Solver Foundation 2 to solve a fairly complicated situation, however I'm stuck with an UnsupportedModelException even when I dumb down the model as much as possible.
Does anyone have an idea of what I'm doing wrong?
Following is the least example required to reproduce…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
JSR 349, Bean Validation 1.1, has published a Public Review. The review closes on 12 November.
JSR 331, Constraint Programming API, has published a Maintenance Release.
JSR 335, Lambda Expressions for the Java Programming Language, has moved to JCP 2.8! Check out their java.net project…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I find useful
groups.google.com/group/comp.lang.prolog/topics
cs.cmu.edu/afs/cs/project/ai-repository/ai/areas/
google.com/Top/Computers/Programming/Languages/Prolog/Implementations/
allisons.org/ll/Logic/Prolog/Examples/
prolog.info/
Maybe there are else useful links? Please share it :-)
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I was wondering, I am aware you can use assert to add facts or rules or whatever if you have declared the predicate to be -:dynamic, but this only allows the changes that are made to be kept in that session only, e.g. if you close the prolog window then the database changes are lost.
So I was wondering…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to add any strings user entered into a list
run :- write('How many students you have: '),read(x),nl.
enterNameOfStudents(x).
enterNameOfStudents(x) :- for(A, 1, x, 1),write('Please enter the names of students'),read(A),??????,nl,fail.
What do i put in the ?????? portion to ensure…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Many study Prolog in college, but I have personally not come in contact with it professionally. The traditional examples given are AI and expert system applications, but what have you used it for and what made Prolog a suitable language for the task?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello!
I'm diving into the world of prolog headfirst but I seem to have hit shallow water!
I'm looking at database manipulation in prolog with regards to this tutorial:Learn Prolog Now!
It states that I can see my database by entering listing
So i tried it and it should basically output everything…
>>> More