Scalable Optimization via Probabilistic Modeling: From Algorithms to Applications