This project contains Work-in-Progress code for the Black and White Knapsack Problem.
datacontains a test dataset based on Pisinger's hard knapsack instances.
srccontains the source code.
- Clone this repository:
- Either clone via git
git clone https://github.com/alberto-santini/fast-bwkp.git.
- Or get the zipped version of the master branch:
wget https://github.com/alberto-santini/fast-bwkp/archive/master.zip && unzip master.zip.
- Create a build directory:
- Run CMake:
cmake -DCPLEX_ROOT_DIR=<path> ..
<path>is such that the following file exists:
- Additionally, you might tell cmake if you want a debug build (slower, not optimised, with debug symbols) by using
-DCMAKE_BUILD_TYPE=Debugor a release build (faster, O3-optimised, without debug symbols) by using
- Run make:
This software is distributed under the GNU General Public License v3, as detailed in