Deep Neural Networks and Optimization