Frontiers of optimization for robotics