Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
DataScienceUWL
GitHub Repository: DataScienceUWL/DS775
Path: blob/main/Lessons/Lesson 05 - Local Optimization/Overview_05.ipynb
871 views
Kernel: Python 3 (system-wide)

Overview 05: Local Optimization

Topics

  • Quadratic Programming

  • Local Search Methods for Nonlinear Optimization

  • Discrete vs. Continuous Optimization

  • Constrained vs. Unconstrained Optimization

  • Global vs Local Optimization

Learning Outcomes

The student will be able to:

  • recognize a quadratic programming problem

  • use software to solve a quadratic programming

  • recognize that maximizing and minimizing are essentially the same

  • find local extrema of continuous functions using Python

  • use a hill climbing algorithm for combinatorial optimization

Student "To Do" Checklist

  • Reading

    • 13.1-13.5, and 13.7 in Hillier and Liebermann.

    • In 13.7 you don't need to read about the KKT conditions or the modified simplex method. Just be sure to understand what quadratic programming is and is not.

  • Work your way through the Jupyter notebook called Lesson_05.ipynb. This is the main presentation and replaces the Storybook presentations used in our other courses. Use the self-assessments to measure your understanding.

  • Complete the problems in Homework_04.ipynb and use that to fill in the Canvas quiz.

Use Piazza to ask questions when you have them and be sure to check Piazza regularly so you don't miss out on any good Q & A or other discussions.

Supplemental Materials

We have three supplemental notebooks for you in the Extras folder. These are optional resources for those that want a more detailed explanation or need additional support.

  • Lesson_05_General_Supplement: This file covers topics we've seen students struggle with in the past, including dimensionality, bounds, and multi-start problems.

  • Lesson_05_Mutable_Parameters: This file covers two different ways to build Pyomo models while allowing some constant to vary.

  • Lesson_05_TSP_DeepDive: This file covers an in-depth explanation of what's going on in some of the provided functions for the Traveling Salesman Problem that you'll see in this lesson and the next lesson.