-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
2,519,227 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Date: 2011/07/11 17:55 | ||
# Author: Jan Faigl | ||
# | ||
|
||
CXX:=ccache $(CXX) | ||
|
||
include Mk/libs.mk | ||
|
||
CXX+=$(dynamic:yes=LD_LIBRARY_PATH=$(CPLEXBINDIR)) | ||
|
||
CPPFLAGS+=$(LOCAL_CFLAGS) | ||
LDFLAGS+=$(LOCAL_LDFLAGS) | ||
|
||
CPPFLAGS+=$(CRL_CFLAGS) $(BOOST_CFLAGS) $(CAIRO_CFLAGS) $(LOG4CXX_CPPFLAGS) $(CPLEX_CFLAGSI) | ||
LDFLAGS+=$(CRL-ALGORITHM) $(CRL-GUI_LDFLAGS) $(CRL_LDFLAGS) $(CAIRO_LDFLAGS) $(BOOST_LDFLAGS) $(LOG4CXX_LDFLAGS) $(CPLEX_CFLAGSI) $(CPLEX_LDFLAGS) | ||
|
||
CXXFLAGS+=-std=c++11 | ||
CXXFLAGS+=-g | ||
CXXFLAGS+=-O3 -DEIGEN_NO_DEBUG | ||
CXXFLAGS+=$(CPLEX_CFLAGS) | ||
|
||
OBJS=\ | ||
src/hnn.o\ | ||
src/coords.o\ | ||
src/hnn_graph.o\ | ||
src/hnn_nn.o\ | ||
src/hnn_route.o\ | ||
src/thnn_ceop.o | ||
|
||
TARGET=thnn_ceop | ||
|
||
include Mk/comrob.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Date: 2013/06/10 15:21 | ||
# Author: Jan Faigl | ||
# | ||
|
||
|
||
uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))) | ||
|
||
CXXFLAGS:=$(call uniq,$(CXXFLAGS)) | ||
|
||
bin: $(TARGET) | ||
|
||
$(OBJS): %.o: %.cc | ||
$(CXX) -c $< $(CXXFLAGS) $(CPPFLAGS) -o $@ | ||
|
||
$(TARGET): $(OBJS) | ||
$(CXX) $(OBJS) $(LDFLAGS) -o $@ | ||
|
||
clean: | ||
$(RM) $(OBJS) $(TARGET) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# | ||
# Date: 2011/07/11 17:55 | ||
# Author: Jan Faigl | ||
# | ||
|
||
OPSYS=$(shell uname) | ||
|
||
PLATFORM=$(shell uname -p) | ||
ARCH=.$(PLATFORM) | ||
|
||
ifeq ($(OPSYS),FreeBSD) | ||
BOOST_CFLAGS=-I/usr/local/include | ||
BOOST_LDFLAGS=-L/usr/local/lib | ||
|
||
else | ||
LOG4CXX_CPPFLAGS=$(shell pkg-config --cflags liblog4cxx) | ||
LOG4CXX_LDFLAGS=$(shell pkg-config --libs liblog4cxx) | ||
|
||
CAIRO_LDFLAGS:=-L/usr/X11/lib | ||
CAIRO_CFLAGS:=-I/usr/X11/include | ||
endif | ||
|
||
|
||
BOOST_LDFLAGS+=-lboost_program_options -lboost_thread -lboost_filesystem -lboost_iostreams -lboost_system | ||
LOG4CXX_LDFLAGS+=-llog4cxx | ||
CAIRO_LDFLAGS+=-lcairo -pthread -lX11 | ||
|
||
LOCAL_CFLAGS=-I./include | ||
LOCAL_LDFLAGS=-L./lib | ||
|
||
CRL-GUI_LDFLAGS=-lcrl-gui | ||
CRL_LDFLAGS=-lcrl | ||
CRL-ALGORITHM=-lcrl-algorithm | ||
|
||
|
||
CAIRO_LDFLAGS+=-lcairo -pthread -lX11 | ||
|
||
# CPLEX flags | ||
DIR = $(shell locate "cplex/bin" | head -n 1 | sed -e "s/bin//" | sed -e "s/\/cplex//") | ||
SYSTEM = x86-64_linux | ||
LIBFORMAT = static_pic | ||
|
||
CPLEXDIR = $(shell echo ${DIR}cplex) | ||
CONCERTDIR = $(shell echo ${DIR}concert) | ||
|
||
CCOPT = -m64 -O -fPIC -fno-strict-aliasing -fexceptions -DNDEBUG -DIL_STD | ||
CPLEXLIBDIR = $(CPLEXDIR)/lib/$(SYSTEM)/$(LIBFORMAT) | ||
CONCERTLIBDIR = $(CONCERTDIR)/lib/$(SYSTEM)/$(LIBFORMAT) | ||
CPLEXLIB = cplex$(dynamic:yes=1290) | ||
CPLEXBINDIR = $(CPLEXDIR)/bin/$(SYSTEM) | ||
|
||
CCLNDIRS = -L$(CPLEXLIBDIR) -L$(CONCERTLIBDIR) $(dynamic:yes=-L$(CPLEXBINDIR)) | ||
CCLNFLAGS = -lconcert -lilocplex -l$(CPLEXLIB) -lm -lpthread -ldl | ||
|
||
CONCERTINCDIR = $(CONCERTDIR)/include | ||
CPLEXINCDIR = $(CPLEXDIR)/include | ||
|
||
CPLEX_CFLAGS=$(CCOPT) | ||
CPLEX_CFLAGSI = -I$(CPLEXINCDIR) -I$(CONCERTINCDIR) $(CCLNDIRS) | ||
CPLEX_LDFLAGS = $(CCLNFLAGS) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
45 1 | ||
0.000 -7.000 0 | ||
0.000 7.000 0 | ||
-1.000 -6.000 6 | ||
1.000 -6.000 6 | ||
-2.000 -5.000 12 | ||
0.000 -5.000 6 | ||
2.000 -5.000 12 | ||
-3.000 -4.000 18 | ||
-1.000 -4.000 12 | ||
1.000 -4.000 12 | ||
3.000 -4.000 18 | ||
-4.000 -3.000 24 | ||
-2.000 -3.000 18 | ||
0.000 -3.000 12 | ||
2.000 -3.000 18 | ||
4.000 -3.000 24 | ||
-5.000 -2.000 30 | ||
-3.000 -2.000 24 | ||
-1.000 -2.000 18 | ||
1.000 -2.000 18 | ||
3.000 -2.000 24 | ||
5.000 -2.000 30 | ||
-6.000 -1.000 36 | ||
-4.000 -1.000 30 | ||
-2.000 -1.000 24 | ||
0.000 -1.000 18 | ||
2.000 -1.000 24 | ||
4.000 -1.000 30 | ||
6.000 -1.000 36 | ||
-7.000 0.000 42 | ||
-5.000 0.000 36 | ||
-3.000 0.000 30 | ||
-1.000 0.000 24 | ||
1.000 0.000 24 | ||
3.000 0.000 30 | ||
5.000 0.000 36 | ||
7.000 0.000 42 | ||
-6.000 1.000 36 | ||
-4.000 1.000 30 | ||
-2.000 1.000 24 | ||
0.000 1.000 18 | ||
2.000 1.000 24 | ||
4.000 1.000 30 | ||
6.000 1.000 36 | ||
-5.000 2.000 30 | ||
-3.000 2.000 24 | ||
-1.000 2.000 18 | ||
1.000 2.000 18 | ||
3.000 2.000 24 | ||
5.000 2.000 30 | ||
-4.000 3.000 24 | ||
-2.000 3.000 18 | ||
0.000 3.000 12 | ||
2.000 3.000 18 | ||
4.000 3.000 24 | ||
-3.000 4.000 18 | ||
-1.000 4.000 12 | ||
1.000 4.000 12 | ||
3.000 4.000 18 | ||
-2.000 5.000 12 | ||
0.000 5.000 6 | ||
2.000 5.000 12 | ||
-1.000 6.000 6 | ||
1.000 6.000 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
60 1 | ||
-0.500 0.000 0 | ||
0.500 0.000 0 | ||
-7.000 -7.000 35 | ||
-7.000 -5.000 35 | ||
-7.000 -3.000 35 | ||
-7.000 -1.000 35 | ||
-7.000 1.000 35 | ||
-7.000 3.000 35 | ||
-7.000 5.000 35 | ||
-7.000 7.000 35 | ||
-5.000 -7.000 35 | ||
-5.000 -5.000 25 | ||
-5.000 -3.000 25 | ||
-5.000 -1.000 25 | ||
-5.000 1.000 25 | ||
-5.000 3.000 25 | ||
-5.000 5.000 25 | ||
-5.000 7.000 35 | ||
-3.000 -7.000 35 | ||
-3.000 -5.000 25 | ||
-3.000 -3.000 15 | ||
-3.000 -1.000 15 | ||
-3.000 1.000 15 | ||
-3.000 3.000 15 | ||
-3.000 5.000 25 | ||
-3.000 7.000 35 | ||
-1.000 -7.000 35 | ||
-1.000 -5.000 25 | ||
-1.000 -3.000 15 | ||
-1.000 -1.000 5 | ||
-1.000 1.000 5 | ||
-1.000 3.000 15 | ||
-1.000 5.000 25 | ||
-1.000 7.000 35 | ||
1.000 -7.000 35 | ||
1.000 -5.000 25 | ||
1.000 -3.000 15 | ||
1.000 -1.000 5 | ||
1.000 1.000 5 | ||
1.000 3.000 15 | ||
1.000 5.000 25 | ||
1.000 7.000 35 | ||
3.000 -7.000 35 | ||
3.000 -5.000 25 | ||
3.000 -3.000 15 | ||
3.000 -1.000 15 | ||
3.000 1.000 15 | ||
3.000 3.000 15 | ||
3.000 5.000 25 | ||
3.000 7.000 35 | ||
5.000 -7.000 35 | ||
5.000 -5.000 25 | ||
5.000 -3.000 25 | ||
5.000 -1.000 25 | ||
5.000 1.000 25 | ||
5.000 3.000 25 | ||
5.000 5.000 25 | ||
5.000 7.000 35 | ||
7.000 -7.000 35 | ||
7.000 -5.000 35 | ||
7.000 -3.000 35 | ||
7.000 -1.000 35 | ||
7.000 1.000 35 | ||
7.000 3.000 35 | ||
7.000 5.000 35 | ||
7.000 7.000 35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
0 0 0.5625 | ||
0 0 0.625 | ||
0 0 0.6875 | ||
0 0 0.75 | ||
0 0 0.8125 | ||
0 0 0.875 | ||
0 0 0.9375 | ||
0 0 1 | ||
0 0.0625 1 | ||
0 0.125 1 | ||
0 0.1875 1 | ||
0 0.25 1 | ||
0 0.3125 1 | ||
0 0.375 1 | ||
0 0.4375 1 | ||
0 0.5 1 | ||
0 0.5625 1 | ||
0 0.625 1 | ||
0 0.6875 1 | ||
0 0.75 1 | ||
0 0.8125 1 | ||
0 0.875 1 | ||
0 0.9375 1 | ||
0 1 1 | ||
0.0625 1 1 | ||
0.125 1 0.9375 | ||
0.1875 1 0.875 | ||
0.25 1 0.8125 | ||
0.3125 1 0.75 | ||
0.375 1 0.6875 | ||
0.4375 1 0.625 | ||
0.5 1 0.5625 | ||
0.5625 1 0.5 | ||
0.625 1 0.4375 | ||
0.6875 1 0.375 | ||
0.75 1 0.3125 | ||
0.8125 1 0.25 | ||
0.875 1 0.1875 | ||
0.9375 1 0.125 | ||
1 1 0.0625 | ||
1 1 0 | ||
1 0.9375 0 | ||
1 0.875 0 | ||
1 0.8125 0 | ||
1 0.75 0 | ||
1 0.6875 0 | ||
1 0.625 0 | ||
1 0.5625 0 | ||
1 0.5 0 | ||
1 0.4375 0 | ||
1 0.375 0 | ||
1 0.3125 0 | ||
1 0.25 0 | ||
1 0.1875 0 | ||
1 0.125 0 | ||
1 0.0625 0 | ||
1 0 0 | ||
0.9375 0 0 | ||
0.875 0 0 | ||
0.8125 0 0 | ||
0.75 0 0 | ||
0.6875 0 0 | ||
0.625 0 0 | ||
0.5625 0 0 |
33 changes: 33 additions & 0 deletions
33
etc/tsiligirides_problem1/tsiligirides_problem_1_budget_46.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
46 1 | ||
10.5 14.4 0 | ||
11.2 14.1 0 | ||
18 15.9 10 | ||
18.3 13.3 10 | ||
16.5 9.3 10 | ||
15.4 11 10 | ||
14.9 13.2 5 | ||
16.3 13.3 5 | ||
16.4 17.8 5 | ||
15 17.9 5 | ||
16.1 19.6 10 | ||
15.7 20.6 10 | ||
13.2 20.1 10 | ||
14.3 15.3 5 | ||
14 5.1 10 | ||
11.4 6.7 15 | ||
8.3 5 15 | ||
7.9 9.8 10 | ||
11.4 12 5 | ||
11.2 17.6 5 | ||
10.1 18.7 5 | ||
11.7 20.3 10 | ||
10.2 22.1 10 | ||
9.7 23.8 10 | ||
10.1 26.4 15 | ||
7.4 24 15 | ||
8.2 19.9 15 | ||
8.7 17.7 10 | ||
8.9 13.6 10 | ||
5.6 11.1 10 | ||
4.9 18.9 10 | ||
7.3 18.8 10 |
22 changes: 22 additions & 0 deletions
22
etc/tsiligirides_problem2/tsiligirides_problem_2_budget_38.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
38 1 | ||
4.6 7.1 0 | ||
5.0 5.6 0 | ||
5.7 11.4 20 | ||
4.4 12.3 20 | ||
2.8 14.3 30 | ||
3.2 10.30 15 | ||
3.5 9.8 15 | ||
4.4 8.4 10 | ||
7.8 11.0 20 | ||
8.8 9.8 20 | ||
7.7 8.2 20 | ||
6.3 7.9 15 | ||
5.4 8.2 10 | ||
5.8 6.8 10 | ||
6.7 5.8 25 | ||
13.8 13.1 40 | ||
14.1 14.2 40 | ||
11.2 13.6 30 | ||
9.7 16.4 30 | ||
9.5 18.8 50 | ||
4.7 16.8 30 |
Oops, something went wrong.