Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

marianhlavac/knapsack-problem

Repository files navigation

Knapsack problem (for MI-PAA subject on FIT CTU)

How to build

Rust and Jupyter is required.

To build latest homework assignment with a report

  Run the solving program (this takes a looot of time)
  $ ./generate.sh
  
  In the meantime, open new terminal tab, start jupyter and read the report
  $ jupyter notebook report-homework2.ipynb
  
  OR create PDF and read it
  $ python3 create-pdf.py

To build a report from first assignment

  Start jupyter and read the report
  $ jupyter notebook report-homework1.ipynb
  
  OR convert it to the pdf
  $ jupyter nbconvert report-homework1.ipynb --to pdf