{'fraction_non_alphanumeric': 0.015015015015015015, 'fraction_numerical': 0.010510510510510511, 'mean_word_length': 5.737373737373737, '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}}
Second-Order Switching Time Optimization for Nonlinear Time-Varying Dynamic Systems

This technical note gives a method for calculating the first and second derivatives of a cost function with respect to switching times for systems with piecewise second-differentiable dynamics. Differential equations governing the linear and bilinear operators required for calculating the derivatives are presented. Example optimizations of linear and nonlinear systems are presented as evidence for the value of second-order optimization methods. One example converges in 33 iterations using second-order methods whereas the first-order algorithm requires over 30 000 iterations.