-
python3
, version >= 3.10pip
andvenv
(just to containerize the numpy dependency)
Clone the repo and do:
python3 -m venv .env
source ./.env/bin/activate
pip install -r requirements.txt
python3 main.py
And then manually insert the data for the linear optimization problem, which should be in the form
The first input is the number of constraints
If you do not want to run each problem at a time, open test.py
and add all your data there (according to the examples
there), and then
python3 test.py
This is a uni project with the report in PTBR called Projeto Computacional - MS428.pdf
, so it was not made for large scale testing, thus
we did not implement a way of reading data from files (but it is doable, and the algorithm should work -- although I do
not make promises about its performance, because this is python, come on!)