Coder Social home page Coder Social logo

vrp_ortools_python's Introduction

Vehicle Routing Problem with Google OrTools

The some customize Vehicle Routing Problem model with Google OrTools and Python 3.x

Linkedin documents

https://www.linkedin.com/pulse/vehicle-routing-problem-google-or-tools-customized-hoai-dang-nguyen/?trackingId=RD1Pj53iSrWDDOFDwBn%2B5g%3D%3D

Google OrTools document

https://developers.google.com/optimization

Install OR-Tools

python -m pip install --upgrade --user ortools

Vehicle Routing Guildes

https://developers.google.com/optimization/routing

Models

  1. Vehicle Route Problem basic (VRP)
  2. Assignment Min Cost Flow
  3. Capacity Vehicle Route Problem with Load and Unload Demand (CVRPLU)
  4. Capacity Vehicle Route Problem Multiple Time Window (CVRPMTW)
  5. Capacity Vehicle Route Problem Single Time Window (CVRPTW)
  6. Capacity Vehicle Route Problem (CVRP)
  7. Gateway Vehicle Route Problem Time Window (GVRPTW)
  8. Pickup and Delivery demand Vehicle Route Problem (PADVRP)
  9. Reload Capacity Vehicle Route Problem Time Window (RCVRPTW)
  10. Vehicle Route Problem Multiple Depot (VRPMD)
  11. Vehicle Route Problem with Start End Point (VRPSE)
  12. Vehicle Route Problem only One Way (VRPOW)
  13. Vehicle Route Problem with Parallel Cheapest Insertion (Better result)
  14. Vehicle Route Problem Researching
  15. Vehicle Route Problem with Schedule
  16. Several Solution
  17. VRP with New Order

Data Matrix

I suggest data matrix (distance, duration matrix) by **Google Distance Matrix Service ** https://developers.google.com/maps/documentation/javascript/examples/distance-matrix

Document:

A parallel insertion heuristic for vehicle routing with side constraints (M.W.P. Savelsbergh) https://core.ac.uk/download/pdf/192270417.pdf

Other Vehicle Route Problem Models - Researching

  1. Vehicle Routing Problem with Backhauls (VRPB)
  • Algorithm: Greedy Randomized Adaptive Search Procedure (GRASP) + Ant colony optimization (ACO) + Permutation Flowshop Scheduling Problems (PFSP) Nawaz Enscore Ham (NEH)
  • Object: Lowest cost of route and control quanlity of route
  1. Vehicle Routing Problem with Backhauls (VRPB)
  • Algorithm: Fuzzy Multiobjective Programe (FMOP)-VRPB: Clustering + Routing + Local search
  • Object: Lowest total distance and maximum capacity
  1. Capacitiated Vehicle Routing Problem (CVRP)
  • Algorithm: Adaptive Multi Rate - Source Adaptive (AMR-SA) and AMR-SA-II
  • Object: Lowest cost of route when the capacity of vehicle is limited
  1. Capacitiated Vehicle Routing Problem (CVRP)
  • Algorithm: Single Inlet and Multi Outlet Model (SMPN) + ACO
  • Object: Improving search solution
  1. Multi Depot Vehicle Routing Problem (MDVRP)
  • Algorithm: Hybrid Mosquito Host-Seeking alogorithm (MHS + 3-opt LS)
  • Object: Lowest cost of route, total distance and highest the number point of route
  1. VRPB with Time Windowns (VRPBTW)
  • Algorithm: Improved NNS+A-Interchage LS method
  • Object: Lowest total distance
  1. VRP with Mixed and Selective Backhauls (VRPMSB)
  • Algorithm: Search Space-Based Multi-Objective Evolutionary Algorithm (SSMOEA)
  • Object: Lowest cost of route and optimize return route
  1. CVRP with Stochastic Demands (CVRPSD)
  • Algorithm: Nearest Neighbor Searches (NNS) + Ant colony optimization algorithm (ACO) +2-opt (The main idea behind it is to take a route that crosses over itself and reorder it so that it does not)
  • Object: Highest demand of route and estimate cost by random
  1. Heterogeneous Fleet VRP (HFVRP)
  • Algorithm: Clustering + CPLEX solver tools
  • Object: Lowest cost of route and total used vehicle
  1. Multi-Objective Vehicle Routing Problem with Time Windows (MOVRPTW)
  • Algorithm: Local Search based multi objective optimization method
  • Object: Optimize total used vehicle with time window
  1. Rich Vehicle Routing Problem (RVRP)
  • Algorithm: Hybrid multi-Objective Evolution Algorithm (HMOEA): Ondominated Sorting Genetic Algorithm II (NSGA-II) + Local Search Method (LS)
  • Object: Optimize total used vehicle and estimate risk cost of route
  1. VRP with Simultaneous Delivery and Pickup and Time Windows (VRPSPDTW)
  • Algorithm: Multiobjective local search (MOLS) + Multiobjectvie memetic algorithm (MOMA)
  • Object: Lowest total used vehicle, total distance and picked demand by time window
  1. Weighted VRP (WVRP)
  • Algorithm: Ant colony optimization algorithm (ACO) - MAX-MIN ant system (MMAS)
  • Object: Lowest total distance when lowest cost of route

Tks #skynet #googleai

vrp_ortools_python's People

Contributors

khixinhxan avatar dangnguyenscommerce 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.