Path Smoothing Through Learning To Optimize