Mathematical Optimization Algorithms for Model Compression and Adversarial Learning in Deep Neural Networks