Skip to content

Commit 287df2a

Browse files
committed
Merge branch 'dev'
2 parents f45f460 + 04b55ca commit 287df2a

File tree

3,016 files changed

+174059
-88220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,016 files changed

+174059
-88220
lines changed

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
data/* linguist-vendored
1+
data/** linguist-vendored

.ycm_extra_conf.py

+34-9
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,39 @@ def Settings(**kwargs):
44
'-x', 'c++',
55
'-Wall', '-Wextra', '-Werror',
66
'-I', '.',
7-
'-I', './bazel-packingsolver/external/json/single_include/',
8-
'-I', './bazel-packingsolver/external/googletest/googletest/include/',
9-
'-I', './bazel-packingsolver/external/boost/',
10-
'-I', './bazel-packingsolver/external/optimizationtools/',
11-
# '-I', './../optimizationtools/',
12-
'-I', './bazel-packingsolver/external/treesearchsolver/',
13-
# '-I', './../treesearchsolver/',
14-
'-I', './bazel-packingsolver/external/columngenerationsolver/',
15-
# '-I', './../columngenerationsolver/',
7+
8+
'-I', './bazel-packingsolver/external/'
9+
'json/single_include/',
10+
11+
'-I', './bazel-packingsolver/external/'
12+
'googletest/googletest/include/',
13+
14+
'-I', './bazel-packingsolver/external/'
15+
'boost/',
16+
17+
# optimizationtools
18+
'-I', './bazel-packingsolver/external/'
19+
# '-I', './../'
20+
'optimizationtools/',
21+
22+
# treesearchsolver
23+
'-I', './bazel-packingsolver/external/'
24+
# '-I', './../'
25+
'treesearchsolver/',
26+
27+
# knapsacksolver
28+
# '-I', './bazel-packingsolver/external/'
29+
'-I', './../'
30+
'knapsacksolver/',
31+
32+
# columngenerationsolver
33+
'-I', './bazel-packingsolver/external/'
34+
# '-I', './../'
35+
'columngenerationsolver/',
36+
37+
# AMPL
38+
'-DAMPL_FOUND',
39+
'-I', '/home/florian/Programmes/ampl.linux-intel64/amplapi/include/'
40+
1641
],
1742
}

README.md

+8-7

WORKSPACE

+62-17
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ cc_library(
3434
git_repository(
3535
name = "optimizationtools",
3636
remote = "https://github.com/fontanf/optimizationtools.git",
37-
commit = "d7299a707f3b6b3b8aa8c428f5254b9ea39bfc53",
38-
shallow_since = "1656765328 +0200",
37+
commit = "6c40c5ba2890dbd2107962d5ef3fc120c9b11dc2",
3938
)
4039

4140
local_repository(
@@ -44,38 +43,67 @@ local_repository(
4443
)
4544

4645
git_repository(
47-
name = "treesearchsolver_",
46+
name = "treesearchsolver",
4847
remote = "https://github.com/fontanf/treesearchsolver.git",
49-
commit = "c39a99bb46ef73f4bd092460517d530f3a273569",
50-
shallow_since = "1655023961 +0200",
48+
commit = "d0236497be177160b4ec242ae53edadce93909d1",
49+
shallow_since = "1664086189 +0200",
5150
)
5251

5352
local_repository(
54-
name = "treesearchsolver",
53+
name = "treesearchsolver_",
5554
path = "../treesearchsolver/",
5655
)
5756

5857
git_repository(
5958
name = "columngenerationsolver",
6059
remote = "https://github.com/fontanf/columngenerationsolver.git",
61-
commit = "40c2daef0bdb8a83330e472b7a4103a4ff38c614",
62-
shallow_since = "1655662016 +0200",
60+
commit = "2595e3ad316143827d8a8fa943d5713d2b180b70",
61+
shallow_since = "1672489298 +0100",
6362
)
6463

6564
local_repository(
6665
name = "columngenerationsolver_",
6766
path = "../columngenerationsolver/",
6867
)
6968

69+
git_repository(
70+
name = "knapsacksolver",
71+
remote = "https://github.com/fontanf/knapsacksolver.git",
72+
commit = "5464348be438e0b339f30c5f4f72cdaf701c99ec",
73+
)
74+
75+
local_repository(
76+
name = "knapsacksolver_",
77+
path = "../knapsacksolver/",
78+
)
79+
7080
new_local_repository(
7181
name = "coinor",
7282
path = "/home/florian/Programmes/coinbrew/",
7383
build_file_content = """
7484
cc_library(
75-
name = "coinor",
76-
hdrs = glob(["dist/include/**/*.h*"], exclude_directories = 0),
77-
strip_include_prefix = "dist/include/",
78-
srcs = glob(["dist/lib/**/*.so"], exclude_directories = 0),
85+
name = "osi",
86+
hdrs = glob(["dist/include/coin/Osi*.h*"], exclude_directories = 0),
87+
strip_include_prefix = "dist/include/coin/",
88+
visibility = ["//visibility:public"],
89+
)
90+
cc_library(
91+
name = "coinutils",
92+
hdrs = glob(["dist/include/coin/Coin*.h*"], exclude_directories = 0),
93+
strip_include_prefix = "dist/include/coin/",
94+
srcs = [
95+
"dist/lib/libCoinUtils.so",
96+
],
97+
visibility = ["//visibility:public"],
98+
)
99+
cc_library(
100+
name = "clp",
101+
hdrs = glob(["dist/include/coin/Clp*.h*"], exclude_directories = 0),
102+
strip_include_prefix = "dist/include/coin",
103+
srcs = [
104+
"dist/lib/libClp.so",
105+
],
106+
deps = [":coinutils", ":osi"],
79107
visibility = ["//visibility:public"],
80108
)
81109
""",
@@ -141,15 +169,32 @@ cc_library(
141169

142170
new_local_repository(
143171
name = "xpress",
144-
path = "/home/florian/Programmes/",
172+
path = "/opt/xpressmp/",
145173
build_file_content = """
146174
cc_library(
147175
name = "xpress",
148-
hdrs = [
149-
],
176+
hdrs = glob(["include/*.h"], exclude_directories = 0),
150177
strip_include_prefix = "include/",
151-
srcs = [
152-
],
178+
srcs = ["lib/libxprs.so"],
179+
visibility = ["//visibility:public"],
180+
)
181+
""",
182+
)
183+
184+
new_local_repository(
185+
name = "ampl",
186+
path = "/home/florian/Programmes/ampl.linux-intel64/amplapi/",
187+
# path = "/home/florian/Programmes/ampl-z-13.1.20220703-Linux-64/amplapi/",
188+
build_file_content = """
189+
cc_library(
190+
name = "ampl",
191+
hdrs = glob([
192+
"include/ampl/*.h",
193+
"include/ampl/ep/*.h",
194+
"include/ampl/ep/format.cc",
195+
], exclude_directories = 0),
196+
strip_include_prefix = "include/",
197+
srcs = ["lib/libampl.so"],
153198
visibility = ["//visibility:public"],
154199
)
155200
""",

data/box/BUILD

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
filegroup(
2+
name = "box",
3+
srcs = glob(["**/*.csv"]),
4+
visibility = ["//visibility:public"],
5+
)
6+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,78,49,47,63,70
3+
1,46,45,43,63,75
4+
2,98,44,36,51,69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,68,66,31,3,44
3+
1,120,34,26,51,41
4+
2,95,76,60,63,45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,74,63,61,63,33
3+
1,71,60,25,3,36
4+
2,106,80,59,63,33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,95,80,57,63,38
3+
1,112,87,23,3,29
4+
2,116,41,40,51,37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,52,36,25,51,112
3+
1,63,37,21,51,76
4+
2,100,61,36,51,96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,68,48,31,51,45
3+
1,104,80,63,63,41
4+
2,82,46,21,3,46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,100,44,37,51,32
3+
1,90,78,55,63,49
4+
2,65,57,42,63,38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,43,40,39,63,49
3+
1,97,76,40,51,51
4+
2,67,63,47,63,59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,72,49,35,51,72
3+
1,75,66,47,63,76
4+
2,78,30,22,51,65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,104,55,30,51,25
3+
1,92,89,73,63,24
4+
2,88,88,43,3,33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,60,45,26,51,40
3+
1,71,43,39,63,40
4+
2,99,71,64,63,50
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,108,76,30,3,40
3+
1,110,43,25,51,33
4+
2,92,81,55,63,39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,97,77,66,63,28
3+
1,81,69,69,63,32
4+
2,109,53,24,3,28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,109,93,72,63,27
3+
1,95,67,32,3,26
4+
2,119,45,36,51,26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,89,78,50,63,29
3+
1,73,65,46,63,51
4+
2,94,66,39,51,36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,84,81,23,3,50
3+
1,115,72,64,63,34
4+
2,77,49,25,51,44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,113,80,29,3,35
3+
1,98,65,62,63,34
4+
2,60,59,46,63,45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,75,54,35,51,47
3+
1,107,60,49,51,45
4+
2,70,67,42,63,47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,86,71,41,51,46
3+
1,75,58,58,63,41
4+
2,100,81,27,3,37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,118,66,47,51,39
3+
1,99,56,25,3,34
4+
2,91,83,48,63,30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ID,X,Y,Z,ROTATIONS,COPIES
2+
0,62,59,52,63,32
3+
1,54,52,50,63,39
4+
2,102,69,65,63,40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ID,X,Y,Z
2+
0,587,233,220

0 commit comments

Comments
 (0)