Newer
Older
using Pkg
Pkg.activate(".")
Pkg.add(url="https://gitlab.gwdg.de/ruben.haag/ridepooling_eval.git", rev="main")
Pkg.add(url="https://gitlab.gwdg.de/smuehle1/RidePooling/", rev="myopic_earliest_pickup")
if length(ARGS) == 3
name = ARGS[3]
settings_path = ARGS[2]
index=eval(Meta.parse(ARGS[1]))
println("Taken Command line values:\n\tIndex=$index\n\tsettings_path=$settings_path")
else
throw("Value Error: Please give the command line arguments in the following order\nname\nsettings_path\nindex")
end
include(settings_path)
savePath = savePath * "$(String(request_type))/$cost/$name/"
try
mkpath(savePath)
catch e
println(e.msg)
end