Coder Social home page Coder Social logo

amflorio / dvrp-stochastic-requests Goto Github PK

View Code? Open in Web Editor NEW
65.0 2.0 18.0 14.49 MB

Online algorithms for solving large-scale dynamic vehicle routing problems with stochastic requests

License: MIT License

C++ 9.06% Makefile 90.94%
optimization simulation vehicle-routing-problem markov-decision-processes

dvrp-stochastic-requests's Issues

How to generate offline plans

Hello,
Thanks for sharing the code.
I have compiled the code using Makefile and generate the executable file, i.e.. dvrpsr. "./dvrpsr 21 V-0.4-UTI-5-50 ../reqs/V-0.4-UTI.1.req ../offline_plans/V-0.4-UTI-5.pb.op", the command is executed. An error information is shown as following:

Instance(): code: V-0.4-UTI-5-50
loading Vienna network ...
Lambda: 0.4
space-time distribution: uti (0)
number of vehicles: 5
length of the service period: 600 minutes
setting up node types based on spatial dist. and clusters ...
pre-processing shortest-paths ...
2000/16080 done
4000/16080 done
6000/16080 done
8000/16080 done
10000/16080 done
12000/16080 done
14000/16080 done
16000/16080 done
finished pre-processing shortest-paths
readRequests: read 42 static and 228 dynamic requests
loading offline plan from ../offline_plans/V-0.4-UTI-5.pb.op ...
terminate called after throwing an instance of 'boost::archive::archive_exception'
what(): unsupported version
Aborted (core dumped)

I guess it is because that the offline plans given were not fit my system. My system is Ubuntu. So, i want to regenerate the offline plans. The command to generate offline plans is prescribed as: ./dvrpsr <inst. code> <reqs. file> <offl. plan file>. However, i don't know how to specify the "routes file". Could you detail how to generate offline plans.

Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.