Optimization Concepts for Data Science and Artificial Intelligence