Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Intro to Optimization Through the Lens of Data Science Pt. 3
Rating: 4.9 out of 5(105 ratings)
2,096 students

Intro to Optimization Through the Lens of Data Science Pt. 3

A comprehensive introduction to mathematical optimization and gurobipy tailored to data scientists and problem solvers
Created byDr. Joel Sokol
Last updated 4/2024
English
English [Auto],

What you'll learn

  • What is optimization and how can it be applied to complex problems?
  • How to identify an optimization problem and translate real life into optimization models
  • Learn about solvers and algorithms
  • Introduction to Gurobi/gurobipy and using it in exercises and real-world problem solving

Course content

2 sections13 lectures1h 50m total length
  • Fixed Costs, Linking to Continuous Variables8:07

    Explore binary variables to model fixed costs and yes/no investments, link them to amounts under a budget, balance return and risk with theta, and include transaction costs and indicator constraints.

  • Yes/No Decisions and Related Constraints9:19

    Explore yes/no decisions and binary variables in optimization by modeling investment choices, minimum spends, energy stock constraints, and if-then relationships.

  • Using Truth Tables to Troubleshoot Constraints4:54

    Explore how to use truth tables to validate constraints in binary-variable optimization models, ensuring the mathematical constraint matches the intended English logic and catching mis-specifications.

  • Modeling Logic with Binary Variables9:54

    Explore modeling logic with binary variables using truth tables and constraints such as and, or, xor. Learn about the opposite constraint, the different constraint, if-then, contrapositive, and gurobi pi representations.

  • Building Complex Logical Constraints8:17

    Learn to model complex logical constraints in binary optimization by building from simpler parts, using either‑or logic, truth tables, half weights, and multiple constraints.

  • Example: Rolling-Horizon Power Generation10:06

    Explore a rolling-horizon optimization model for electric power generation, using integer and binary variables to minimize generation cost while enforcing monthly emissions and daily limits with fines.

Requirements

  • Basic Python, college-level mathematics, experience with Jupyter Notebooks, and the ability to open python (.py) and Jupyter Notebooks (.ipynb) files on your machine

Description

Welcome to Introduction to Optimization Through the Lens of Data Science!

This free 4-part course was developed to help teach data scientists how to add optimization to their toolbox and when to use it in their advanced problem-solving. We will cover a comprehensive introduction to optimization, when optimization is the best tool to solve a problem, and how to translate real-life problems into optimization.

We will introduce you to world-class tools to help you problem solve, and provide everything from basic hands-on exercises to more advanced full real-world use cases to reinforce all new concepts of prescriptive analytics as you learn them. We look forward to having you learn optimization (and gurobipy) with expertise from Dr. Joel Sokol and the team of Ph.D. experts from Gurobi Optimization, who helped develop this comprehensive introduction to mathematical optimization.

In part 3, you will model yes/no decisions and complex logical constraints with binary variables and link them to continuous variables. You will also explore classic optimization model archetypes.


Hands-on Exercises:

Please check the resource section of many of the lectures to find self-assessments in the form of exercise files and solution files. You will also notice we have data and code files available to help you work your way through these practice exercises.

Who this course is for:

  • Data scientists and problem solvers curious about mathematical optimization/prescriptive analytics.