Home About
Courses Concepts Tools
GitHub

Concepts

This section of the wiki is dedicated to providing guidance on and examples of Python code. On pages which discuss examples of code, guidance is given on best practices and what to avoid when doing similar work.

Notice: If you use any of this code in your own assignments, it will be extremely easy to trace, and you will likely fail the assignment. This code is meant as a way to learn by example, not as something from which you can change a couple minor things and then submit. Please do your own work.

ILP Formulation Examples

Examples here are given in both GurobiPy and OR-Tools.

Using Modules

MatPlotLib Examples

NumPy/SciPy Examples

pandas Examples

Algorithm Implementation Examples

General Advice