Optimization Library for ECSE 507 at McGill University
To best understand how to use the opt
library, read through demo.py
Requirements:
- Python 3.6.6
- pip
Install pip dependencies:
make
Run unit tests:
make test
Run profiler on a simple example:
make profile
Run demo file that generates report figures:
make demo
Makefile
: Used for running setup and test scriptsLICENSE
: Terms under which the code is distributed should it be used outside the scope of this projectdemo.py
: Contains code used to demonstrate library functions and generate report figuresoutput.txt
: Output from runningdemo.py
./fig/
: Figures generated bydemo.py
tests.py
: Contains unit testsprofl.py
: Contains simple example used for profiling coderequirements.txt
: Used by pip to install dependencies