0-1 Knapsack solver implementation using branch and bound algorithm.
This instruction will help you to install and run this solver.
C
compiler supporting OpenMP
cmake
python3
if you want to generate random problems
- Create directory for build files.
$ mkdir debug-build
- Enter the directory.
$ cd debug-build
- Run
cmake
$ cmake ../
For release build run
$ cmake -DCMAKE_BUILD_TYPE=Release ../
- Run
Makefile
$ make
To run build application call executable and pass file with problem data.
$ ./Knapsack ../knapsack_data/knapsack_12.out