Integrating Optimization And Modern Machine Learning: Theory, Computation, And Healthcare Applications