Giter Club home page Giter Club logo

goc-evrptw's Introduction

GOC-EVRPTW

这是京东GOC城市物流运输车辆智能调度比赛前50名的一个解决方案。
赛题链接:京东GOC城市物流运输车辆智能调度

赛题简析

该题目的VRP考虑了电车的多循环和充电问题。
题目要求综合成本最少,综合成本是运输成本,等待成本, 充电成本和固定成本的总和,即为目标函数。 对于约束条件,这里有VRP中常见的最大容量约束(CVRP)、时间窗口约束(VRPTW)、混合车辆约束(Heterogeneous Fleet VRP)、多循环约束(Multi-trip VRP)、带充电站的电车里程约束(Electric VRP with Recharging Stations)。

解决思路

本代码提供了两个思路:
1.利用聚类分区,从而转化为求解每一个小区域的MIP问题,VRP_SubRegion即是这种方法的实现,使用 run.sh 执行;
2.分区之后利用遗传算法求解每一个较大区域的遗传问题,并且将方法一中的较优解作为遗传算法的初始种群。

Requirements

  • python3.6
  • gurobi7.0
  • pandas0.23.1

goc-evrptw's People

Contributors

jiujiuxia avatar

Watchers

James Cloos 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.