SMS: Optimization and dynamical systems