{'fraction_non_alphanumeric': 0.023289665211062592, 'fraction_numerical': 0.002911208151382824, 'mean_word_length': 5.3119266055045875, '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}}
Fast Implementation of Lemke's Algorithm for Rigid Body Contact Simulation

We present a fast method for solving rigid body contact problems with friction, based on optimizations incorporated into Lemke’s algorithm for solving linear complementarity problems. These optimizations improve computation time in general and reduce the expected solution complexity from O(n3) to nearly O(nm + m3), where n and m are the number of contacts and rigid bodies. For a fixed number of bodies the expected complexity is therefore close to O(n) . Our method also improves numerical robustness, and removes the need to explicitly compute the large matrices associated with rigid body contact problems.