The GecodeChoquet library provides a set of classes to find the parameters of the 2-additive Choquet integral that optimize a given cost function.

In practice, it is necessary to create a class that inherits from RTestChoquet, and to override a few methods. The most important one is RTestChoquet::Compute that implements the cost function to optimize.