Solver for multiple Knapsack problem variants.
Project discontinued in favour of graphsack.
- Brute Force Methods
- Primitive Branch and Bound Methods
- Greedy algorithms
- Dynamic Programming
- measure calculation time
- json format support
- Heuristics
- Multi threading
- GPU support
- Multi dimentional knapsack problem, but items are given as a graph, where each vertex in the graph is an item to pack. The problem is to find either path, cycle or tree in this graph, that fits in the knapsack and has maximum value.
- Knapsack Problem
- Multi Dimentional Knapsack Problem
OK_Project uses:
- C++ language
- nlohmann/json JSON parser for Modern C++
For full usage and building instructions checkout wiki.
git clone https://github.com/pwalig/OK_Project.git
cd OK_Project
g++ -std=c++17 -g code/*cpp -o knapsack-solver.exe