Julien Pierre Martin

Logistics, 2006–2010

A language to write down expertise and solve the hardest problems

An engineer describes a problem very well, piece by piece. Why force them to restate it as one block in a programming language?

Logic, constraints, combinatorial optimisation

The problem

Packing parcels of every size in a warehouse or a truck is a combinatorial problem: the number of options explodes, and each warehouse has its own rules. The tools able to solve it require restating everything as one block, in a programming language. The engineer who knows the trade thinks piece by piece.

What I did

CREaM (Constraints with Rules to Ease Modelling) is a rule-based modelling language. You write fragments of knowledge and compose them into libraries. The way to search for a solution is written with rules too.

Models compile to constraint programs over finite domains. When a problem is too large to unfold, or depends on an unknown value, a second scheme generates procedural code.

The thesis was supervised by François Fages, in the Contraintes project-team at Inria, and defended at Université Pierre et Marie Curie (Sorbonne Université). I took part in the European project Net-WMS.

What still holds

Writing down what a trade knows, in the form it thinks it, is still the hard part of an AI project. The AI that reasons builds on that knowledge, and its results can be checked.