Seol mar théacs é seo: lgorithms and ordering heuristics for distributed constraint satisfaction problems