Allow creating candidate graphs Library of cost classes Library of constraint classes Fitting of weights, using sparse or complete datasets