Added methods to load/save pairwise constraints