Fast Algorithms for Positional Optimization of Dynamic Systems