By Jerry Yurchisin, Data Science Strategist
As a data scientist, you’re likely familiar with Python—the go-to language for many data science tasks, from data analysis to machine learning. But have you considered using Python for mathematical optimization? With the right tools and resources, you can harness the power of mathematical optimization in Python to solve complex problems and make optimal decisions.
Python is a versatile, easy-to-learn language with a rich ecosystem of libraries and tools for data scientists. It’s also a great language for mathematical optimization, thanks to libraries like Gurobi that provide powerful optimization solvers with Python interfaces.
Using Python for mathematical optimization offers several benefits:
For a brief introduction to mathematical optimization for data scientists, you may want to start with these on-demand webinars. In the recordings, we introduce our latest Python notebook examples and demonstrate how you can combine machine learning predictions and optimized decision recommendations.
Where Data Meets Decisions: Part 1
Learn the key components in the formulation of mixed-integer programming (MIP) problems. You will learn how to use the Gurobi Optimizer to compute an optimal solution of the MIP model. |
Where Data Meets Decisions: Part 2
The video introduces new educational resources for both instructors and students to use for teaching and learning real-world applications of problems that combine data science and mathematical optimization. |
Opti101: Optimization Training for Data Scientists
In this on-demand, self-paced training, optimization experts will guide you through the basics and give you the tools to formulate and code a comprehensive application that will optimize rebalancing of bike-share stations using a machine learning-based forecast. Watch the training series, “Opti101.” Our popular Opti201 series will be available on-demand later in 2024. |
The fastest and easiest way to try out Gurobi’s Python interface is through our Jupyter Notebook library. Although we have dozens to choose from, we recommend starting with the following:
Intro to Mathematical Optimization Modeling
Learn the key components in the formulation of mixed-integer programming (MIP) problems. You will learn how to use the Gurobi Optimizer to compute an optimal solution of the MIP model. |
Avocado Price Optimization
They say when life gives you avocados, make guacamole. Just like the perfect guacamole needs the right blend of onion, lemon, and spices, finding an optimal avocado price needs the right blend of descriptive, predictive, and prescriptive analytics. |
Best Feature Selection for Forecasting
A linear regression problem that minimizes the residual sum of squares subject to the constraint that the number of non-zero feature weights should be less than or equal to a given upper limit. |
Combining Machine Learning and Optimization Modeling in Fantasy Basketball
Utilizes supervised machine learning to predict basketball players’ fantasy scores from historical data and formulates an integer programming model to build the optimal lineup |
Music Recommendation System
A good song never gets old, except when it does. In this notebook, we will create a music recommendation system using a mixture of predictive and prescriptive analytics. |
Text Dissimilarity Using Linear Programming
With text-generation AI becoming popular and ubiquitous, can mathematical optimization catch cases of plagiarism? |
Airline Planning After Flight Disruption
Weather events are a major threat to the airline industry. The unpredictable nature of snowstorms, heavy rains, and icy runways make it difficult for aviation planners to make accurate schedules. |
Adding mathematical optimization to your data science skill set can open up new possibilities for problem-solving and decision-making. Whether you’re optimizing supply chains, scheduling resources, or making strategic decisions, mathematical optimization can provide powerful, actionable insights.
And be sure to check out our additional free learning resources to keep your momentum going!
GUROBI NEWSLETTER
Latest news and releases
Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.
Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.