GithubHelp home page GithubHelp logo

steffenbakker / master_heuristic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oyvorha/master_heuristic

0.0 0.0 0.0 1.89 MB

Heuristic solution for TIO4905

License: MIT License

Python 95.66% JavaScript 3.59% HTML 0.75%

master_heuristic's Introduction

Master_Heuristic

This repository implements a stack based simulator incorporating a heuristic to solve the Dynamic Stochastic Bicycle Rebalancing and Charging Problem (DSBRCP). The simulator is event triggered. An event can be triggered by a customer arrival at a station, a bicycle trigger, or a service vehicle arrival at a station, a vehicle trigger. The test instance data is collected from Oslo City Bike. A valid Google Cloud user with access to UIP's data is required.

The model is run from main.py where the following input-parameters should be set:

  • start_hour = the hour of the day to start the simulation
  • no_stations = the number of stations to include in the subset
  • branching = the branching factor in the first stage of the branching algorithm
  • subproblem_scenarios = the number of subproblem scenarios to include in each subproblem
  • simulation_time = the length of simulation in minutes

When running the simulator, a menu gives the user 7 possible analyses that can be conducted:

  • w: weight analysis. Compares the performance of different weight sets.
  • c: strategy comparison analysis. Compares the performance of 3 different strategies to solve the DSBRCP.
  • r: runtime analysis. Compares the computational time with different input parameter configurations.
  • fs: first step analysis. Compares the first step solutions using different input parameter configurations.
  • v: vehicle analysis. Compares the performance when using different number of vehicles.
  • charge: charging station analysis. Compares the effect of additional charging stations.
  • vf: fleet analysis. Compares the effect of a non-homogeneous fleet.

The simulation output is saved in associated excel-files in the Output directory. A visualization of the simulation can be seen by running map_view.html after completing the simulation.

master_heuristic's People

Contributors

oyvorha avatar sigfos avatar steffenbakker avatar

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.