Advanced Optimization for Motion Control Systems