Skip to main content
HomePython

Course

Introduction to Optimization in Python

Intermediate
4.8+
26 reviews
Updated 05/2025
Learn to solve real-world optimization problems using Python's SciPy and PuLP, covering everything from basic to constrained and complex optimization.
Start Course for Free

Included withPremium or Teams

PythonProgramming4 hours13 videos42 Exercises3,250 XP2,886Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Optimization problems are ubiquitous in engineering, sciences, and the social sciences. This course will take you from zero optimization knowledge to a hero optimizer. You will use mathematical modeling to translate real-world problems into mathematical ones and solve them in Python using the SciPy and PuLP packages.

Apply Calculus to Unconstrained Optimization Problems with SymPy

You will start by learning the definition of an optimization problem and its use cases. You will use SymPy to apply calculus to yield analytical solutions to unconstrained optimization. You will not have to calculate derivatives or solve equations; SymPy works seamlessly! Similarly, you will use SciPy to get numerical solutions.

Tackle Complex Problems Head-On

Next, you will learn to solve linear programming problems in SciPy and PuLP. To capture real-world complexity, you will see how to apply PuLP and SciPy to solve constrained convex optimization and mixed integer optimization. By the end of this course, you will have solved real-world optimization problems, including manufacturing, profit and budgeting, resource allocation, and more.

Prerequisites

Introduction to NumPy
1

Introduction to Optimization

Start Chapter
2

Unconstrained and Linear Constrained Optimization

Start Chapter
3

Non-linear Constrained Optimization

Start Chapter
4

Robust Optimization Techniques

Start Chapter
Introduction to Optimization in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.8
from 26 reviews
85%
12%
4%
0%
0%
  • Mounika
    about 21 hours

  • Monica
    1 day

  • Sahithi
    5 days

  • Gowtham Krishna
    15 days

  • Tessy
    19 days

  • Keith
    22 days

Mounika

Monica

Sahithi

Join over 16 million learners and start Introduction to Optimization in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.