Gecode/R is a Ruby interface to Gecode, allowing constraint programming in Ruby. The interface is intended for people with no previous experience of constraint programming, aiming to be easy to pick up and use in practice.
Constraint programming is a declarative programming paradigm, you describe what kind of solution you want rather than how you want it computed. When using constraint programming you try to model the problem and then feed that model to the solver. The solver then searches for a solution by exploring the space of all possible assignments while using the constraints in the model to prune parts without having to visit them.
A popular example would be Soduko, to solve a Soduko with constraint programming you feed the rules (all numbers in each row must be distinct etc) to the solver, which then searches for a solution satisfying all the constraints.
- This is the first release that can be considered stable and ready for production use.
- The syntax is expected to remain backwards compatible from here on out.
- The documentation changes mostly concern polishing of the documentation on the Web site.