Top "Constraint-programming" questions

A constraint network is defined by a triplet <X,C,D>, where X is a set of variables, C is a set of constraints, and D a domain for X (i.e. a mapping from variables to sets of values).

Recursion: how to avoid Python set changed set during iteration RuntimeError

Background and Problem Description: I have some code that solves the graph coloring problem (broadly defined as the problem of …

python algorithm recursion constraint-programming
Appointment scheduling algorithm (N people with N free-busy slots, constraint-satisfaction)

Problem statement We have one employer that wants to interview N people, and therefore makes N interview slots. Every person …

algorithm graph constraint-programming
Solving "Who owns the Zebra" programmatically?

Edit: this puzzle is also known as "Einstein's Riddle" The Who owns the Zebra (you can try the online version …

language-agnostic logic constraint-programming zebra-puzzle
Getting started with Constraint Programming

Looking for tips, tutorials, books and other resources to get started with Constraint Programming.

constraint-programming
Embedded Prolog Interpreter/Compiler for Java

I'm working on an application in Java, that needs to do some complex logic rule deductions as part of its …

java prolog embedded-language logic-programming constraint-programming