{'fraction_non_alphanumeric': 0.01794616151545364, 'fraction_numerical': 0.0, 'mean_word_length': 5.51948051948052, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Stochastic Local Search for Distributed Constraint Satisfaction Problems

Nowadays, many real problems can be solved using local search strategies. These algorithms incrementally alter inconsistency value assignments to all the variables using a repair or hill climbing metaphor to move towards more and more complete solutions. Furthermore, if the problem can be modeled as a distributed problem, the advantages can be even greater. This paper presents a distributed model for solving Constraint Satisfaction Problems (CSPs), in which agents are committed to sets of constraints. The problem constraints are ordered and partitioned, by a preprocessing step, so that the most restricted constraints are studied first. Thus, each agent solves a subproblem by means of a stochastic local search algorithm. This constraint ordering, as well as value and variable ordering, can improve efficiency because inconsistencies can be found earlier and the number of constraint checks can be significantly reduced.