-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
20 lines (14 loc) · 908 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
compile:
cd src && g++ -std=c++17 -o main main.cpp InputFile.cpp DynamicProgramming.cpp RandomizedGreedy.cpp VND.cpp KPSolution.cpp
run:
cd src && ./main test-cases/low-dimensional/f1_l-d_kp_10_269
runLow:
cd src && ./main test-cases/low-dimensional/f1_l-d_kp_10_269
runLarge:
cd src && ./main test-cases/large_scale/knapPI_1_10000_1000_1
all:
cd src && g++ -std=c++17 -o main main.cpp InputFile.cpp DynamicProgramming.cpp RandomizedGreedy.cpp VND.cpp KPSolution.cpp && ./main test-cases/low-dimensional/f1_l-d_kp_10_269
allLow:
cd src && g++ -std=c++17 -o main main.cpp InputFile.cpp DynamicProgramming.cpp RandomizedGreedy.cpp VND.cpp KPSolution.cpp && ./main test-cases/low-dimensional/f1_l-d_kp_10_269
allLarge:
cd src && g++ -std=c++17 -o main main.cpp InputFile.cpp DynamicProgramming.cpp RandomizedGreedy.cpp VND.cpp KPSolution.cpp && ./main test-cases/large_scale/knapPI_1_10000_1000_1