Commit 7f0d940c authored by Alexander Schiewe's avatar Alexander Schiewe

Initial commit

parent 32a6206d

Too many changes to show.

To preserve performance only 533 of 533+ files are displayed.
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
out/
build/
# LinTim Specific Compiled #
# ##########################
config_cmd
statistic_cmd
Conv_Game
Convert
H6
H7
SolConf
SolConv
lineplan
ConvertTT
ConvertTTF
ConvertTTFSP
saucy
plot-PTN
statistic
solution.txt
temp.xml
Release
thirdparty
conprop
evaluation
!evaluation/
shortest_paths_cc
shortest_paths_sh
# LinTim specific data files #
##############################
After-Config.cnf
State-Config.cnf
Private-Config.cnf
datasets/lowersaxony/basis/CoveringMatrix-file.dat
datasets/lowersaxony/basis/Edge.giv
datasets/lowersaxony/basis/Load.giv
datasets/lowersaxony/basis/OD.giv
datasets/lowersaxony/basis/Pool-Cost.giv
datasets/lowersaxony/basis/Pool.giv
datasets/lowersaxony/basis/Stop.giv
Line-Concept.lin
Activities-periodic.giv
Events-periodic.giv
Timetable-periodic.tim
Timetable-visum.tim
Activities-expanded.giv
Events-expanded.giv
Timetable-expanded.tim
Trips.giv
end-events-of-trips.giv
Station_Distances.vs
Canal_Network.vs
VS_Evaluation.vs
Vehicle_Flow.vs
Vehicle_Schedules.vs
Vehicles.vs
data_vehicle_flow
statistic
Evaluation.txt
Line-Concept.lin
Delays-Events.giv
Delays-Activities.giv
*.dot
*.ps
*.png
# Cmake files #
###############
CMakeCache.txt
CMakeFiles/
CMakeList.txt
cmake_install.cmake
# MIP Files #
# ###########
*.lp
*.ilp
# IDEs #
# #####
.idea
*.iml
# C++ #
# #####
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# Java #
# ######
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
# Python #
# ########
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# IPython Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
.venv/
venv/
ENV/
# Spyder project settings
.spyderproject
# Rope project settings
.ropeproject
# Gradle #
#########
.gradle
/build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Cache of project
.gradletasknamecache
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties
\ No newline at end of file
before_script:
- source /opt/xpressmp/bin/xpvars.sh
run_tests:
only:
- web
- schedules
script:
- bash ci/run_tests.sh
## Readme
You find everything in the [docs](doc/documentation.pdf)
\ No newline at end of file
!Private-Config.cnf
\ No newline at end of file
# How to create new CI tests
- Copy the content of the `template` folder into a new folder in `/ci/`
- Modify the run.sh file
- Name the `TARGET_DATASET` variable
- Enter the commands to run into the `COMMANDS_TO_RUN` variable
- Enter the necessary config data into basis/Private-Config.cnf
- Enter the expected outcome into expected-statistic.sta
\ No newline at end of file
#!/usr/bin/env bash
set -e
# Set environment variables for usage on c7
if [ -z "$XPRESSDIR" ]; then
export XPRESSDIR=/opt/xpressmp
fi
if [ -z "$XPRESS" ]; then
export XPRESS=/opt/xpressmp/bin
fi
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XPRESSDIR}/lib
export DYLD_LIBRARY_PATH=${XPRESSDIR}/lib:${DYLD_LIBRARY_PATH}
export SHLIB_PATH=${XPRESSDIR}/lib:${SHLIB_PATH}
export LIBPATH=${XPRESSDIR}/lib:${LIBPATH}
export PYTHONPATH=${XPRESSDIR}/lib:${PYTHONPATH}
export CLASSPATH=${XPRESSDIR}/lib/xprs.jar:${CLASSPATH}
export CLASSPATH=${XPRESSDIR}/lib/xprb.jar:${CLASSPATH}
export CLASSPATH=${XPRESSDIR}/lib/xprm.jar:${CLASSPATH}
export PATH=${XPRESSDIR}/bin:${PATH}
lc_common_frequency_divisor; 2
\ No newline at end of file
lc_average_distance; 172.15873793431686
lc_average_edges; 2.75
lc_average_length; 2.5999999999999996
lc_cost; 54
lc_feasible; true
lc_min_distance; 100.0
lc_min_edges; 1.0
lc_min_length; 0.8
lc_obj_direct_travellers_sp; 1580
lc_obj_game; 260
lc_prop_directed_lines; 8
lc_prop_freq_max; 4
lc_time_average; 5.55301296720061
lc_var_distance; 2861.3689528632094
lc_var_edges; 2.1875
lc_var_length; 2.2200000000000024
\ No newline at end of file
#!/usr/bin/env bash
set -e
# Enter your data here
TARGET_DATASET=toy
COMMANDS_TO_RUN="make lc-line-concept && make lc-line-concept-evaluate"
ADDITIONAL_FILES_TO_COMPARE=()
# STATIC PART OF THE SCRIPT
SCRIPT_LOCATION=`dirname $(readlink -f ${BASH_SOURCE[0]})`
echo ------------------------Executing test `basename ${SCRIPT_LOCATION}`
TIMESTAMP=`date +"%Y-%m-%d_%H-%M-%S"`
TARGET_LOCATION=../../datasets/${TARGET_DATASET}_${TIMESTAMP}
BASE_TARGET_LOCATION=../../datasets/${TARGET_DATASET}
cp -r ${BASE_TARGET_LOCATION} ${TARGET_LOCATION}
cp -r * ${TARGET_LOCATION}
cd ${TARGET_LOCATION}
eval ${COMMANDS_TO_RUN}
python3 ${SCRIPT_LOCATION}/../util/evaluate_statistics.py ${SCRIPT_LOCATION}/expected-statistic.sta statistic/statistic.sta
for file in "${ADDITIONAL_FILES_TO_COMPARE}"
do
if [ ${file} ]; then
python3 ${SCRIPT_LOCATION}/../util/compare_files.py ${SCRIPT_LOCATION}/$file $file
fi
done
echo "File comparison successful"
cd ${SCRIPT_LOCATION}
rm -rf ${TARGET_LOCATION}
lc_model; "cost_restricting_frequencies"
\ No newline at end of file
lc_average_distance; 172.15873793431686
lc_average_edges; 2.75
lc_average_length; 2.5999999999999996
lc_cost; 54
lc_feasible; true
lc_min_distance; 100.0
lc_min_edges; 1.0
lc_min_length; 0.8
lc_obj_direct_travellers_sp; 1580
lc_obj_game; 260
lc_prop_directed_lines; 8
lc_prop_freq_max; 4
lc_time_average; 5.55301296720061
lc_var_distance; 2861.3689528632094
lc_var_edges; 2.1875
lc_var_length; 2.2200000000000024
\ No newline at end of file
#!/usr/bin/env bash
set -e
# Enter your data here
TARGET_DATASET=toy
COMMANDS_TO_RUN="make lc-line-concept && make lc-line-concept-evaluate"
ADDITIONAL_FILES_TO_COMPARE=()
# STATIC PART OF THE SCRIPT
SCRIPT_LOCATION=`dirname $(readlink -f ${BASH_SOURCE[0]})`
echo ------------------------Executing test `basename ${SCRIPT_LOCATION}`
TIMESTAMP=`date +"%Y-%m-%d_%H-%M-%S"`
TARGET_LOCATION=../../datasets/${TARGET_DATASET}_${TIMESTAMP}
BASE_TARGET_LOCATION=../../datasets/${TARGET_DATASET}
cp -r ${BASE_TARGET_LOCATION} ${TARGET_LOCATION}
cp -r * ${TARGET_LOCATION}
cd ${TARGET_LOCATION}
eval ${COMMANDS_TO_RUN}
python3 ${SCRIPT_LOCATION}/../util/evaluate_statistics.py ${SCRIPT_LOCATION}/expected-statistic.sta statistic/statistic.sta
for file in "${ADDITIONAL_FILES_TO_COMPARE}"
do
if [ ${file} ]; then
python3 ${SCRIPT_LOCATION}/../util/compare_files.py ${SCRIPT_LOCATION}/$file $file
fi
done