Skip to content

SinaHKazemi/pyomo-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyomo Workshop

Pyomo workshop held in Ferdowsi University of Mashhad in February 22, 2020. you can watch the workshop here https://youtu.be/WYoO8T0SgSA

Contents

  • Installing pyomo
  • Connecting it to the solvers like GLPK, CBC, IPOPT and CPLEX
  • Building some simple optimization models
  • Building network flow models
  • Retrieving the optimal values from model
  • Getting duals and reduced costs
  • Solving problems on NEOS server through pyomo

How to run Jupyter Notebook

  1. install python
  2. build a new virtual environment
> python -m venv env
> env\Scripts\activate
  1. install jupyter package
> pip install jupyter
  1. run jupyter server
> jupyter notebook

Examples

Examples are packed in different stand-alone script files. set your local solver path and name before running the script.

About

Pyomo workshop in Ferdowsi university of Mashhad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published