Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Pyomo Bootcamp: Python Optimization from Beginner to Advance
Rating: 4.4 out of 5(808 ratings)
71,521 students

Pyomo Bootcamp: Python Optimization from Beginner to Advance

Guide for building optimization probelm (operation research) in Pyomo Jupyter and solve it using CPLEX, Gurobi and IPOPT
Last updated 2/2023
English
English [Auto],

What you'll learn

  • Write simple and complex pyomo models
  • LP, MIP, MINLP, NLP ,QCP, MIQCP
  • How to mathematically formulate your optimization problems in Python?
  • Practice Exercises to Confirm the Learnings
  • How to find the duality coefficients of the constraints ?
  • Build the skills you need to get your first Operation research / Optimization job /OR Scientist position
  • Build a complete understanding of Pyomo models from the ground up!
  • How to start coding your optimization problem in Python (pyomo)? Linear programming, Mixed Integer programming, Quadratic programming, Non-linear Programming
  • Is it suitable for Mechanical engineering ? Yes, for example : design problems
  • Suitable for Chemical engineering ? Yes, Optimal design of chemical systems, optimal operation of chemical units, pooling-blending, optimal control of a process
  • Is it suitable for Electrical engineering ? Yes, for example : optimal operation and planning of power plants, optimal power flow and etc.
  • Is it suitable for Civil engineering ? Yes for example in traffic management, bridge design , reinforcement planning and etc.
  • Google Colab and Neos Server

Course content

6 sections • 51 lectures • 5h 5m total length
  • Intro3:32

    What is optimal decision making and the application of it ? 

  • Python and Pyomo Installation3:10
    • How to install Anaconda ?

    • How to use Jupyter notebook  ?

    • How to install Pyomo package ? 

    • How to install solvers? 

  • Visualization in Python2:27

    How to do the visualization in Python (quick guide) 

  • MatPlotLib package0:40

Requirements

  • You’ve either already got it or it’s FREE. Here’s the checklist:
  • No extensive prior knowledge of Python is required
  • Your enthusiasm to learn this go-to programming language
  • A desire to learn new concepts like Python coding
  • A passion for decision making and optimisation
  • A computer - Windows, Mac, and Linux are all supported
  • Setup and installation instructions are included for each platform.
  • No need for any licence to run your codes
  • It’s a valuable lifetime skill which you can’t un-learn!

Description

Updated for 2026: Pyomo Bootcamp, Python Optimization from Beginner to Advanced

Join more than 65,000 researchers, engineers and students who have learned optimization modeling in Python with this course.

If you want to learn Python in general, this course isn’t for you. If you want to learn optimization modeling in Python, welcome to the Pyomo Bootcamp.

This course takes you through Pyomo step by step, with real-world case studies, hands-on experiments and more than 40 solved examples from different fields. You’ll learn to turn real decision problems into optimization models, solve them with free solvers, and understand the results.

What you’ll learn:

  • Formulating optimization problems: decision variables, objectives and constraints

  • Linear programming (LP)

  • Mixed-integer linear programming (MILP)

  • Nonlinear programming (NLP)

  • Multi-objective optimization

  • Writing efficient, scalable Pyomo code for large problems

  • Sensitivity analysis: how your optimal decision changes when key assumptions turn out differently

By the end of this course, you will be able to:

  • Model your own optimization problems in Python with Pyomo

  • Choose the right problem type and solver for each model

  • Build the optimization skills that are increasingly valued in energy, logistics, manufacturing and data science

Who this course is for:

  • Engineers and researchers who need to solve decision problems with optimization

  • Graduate students implementing optimization models for their thesis or papers

  • Python users who want to add mathematical optimization to their toolkit

  • GAMS or AMPL users moving to an open-source, Python-based workflow

No background in any specific engineering field is needed. Basic familiarity with Python is helpful.

Common questions about Pyomo

  • What is Pyomo used for? Building and solving mathematical optimization models in Python: planning, scheduling, energy systems, logistics, supply chains and many more.

  • What does Pyomo stand for? Python Optimization Modeling Objects.

  • Is Pyomo open source? Yes. Pyomo is free and open source, released under the BSD license, and works with free solvers such as HiGHS, CBC, GLPK and IPOPT, as well as commercial solvers like Gurobi and CPLEX.

  • How do I install Pyomo? With pip install pyomo. Solvers are installed separately, and the course shows you exactly how.

About your instructor

I am the author of Power System Optimization Modeling in GAMS (Springer, 2017), an IEEE Senior Member, and I have spent many years applying optimization in both academia and industry. I have advised companies and researchers around the world on using optimization in their work, and this course brings together the lessons I learned along the way.

What’s included:

  • More than 4 hours of high-quality video lectures

  • More than 40 solved examples

  • Downloadable code and resources

  • Exercises and assignments to practice as you learn

  • Q&A support: post a question in the course or send me a direct message

  • Lifetime access, including all future updates

  • A certificate of completion

  • Udemy’s 30-day money-back guarantee

Is Pyomo hard to learn? No. Pyomo models read almost like the mathematics you write on paper. With step-by-step examples, you’ll be writing your own models from the first sections.

Optimization is one of the most practical skills an engineer or analyst can have, and Python has made it accessible to everyone. Start today, and turn your Python skills into better decisions.

See you inside!

Who this course is for:

  • Anyone who needs to make some sort of decisions
  • Any discipline that requires optimization and decision making
  • Academics or industry experts in operation research and optimization
  • Entrepreneurs
  • Business Owners involved in Energy/Healthcare/Service providers/ and other industries