<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJOR</journal-id><journal-title-group><journal-title>American Journal of Operations Research</journal-title></journal-title-group><issn pub-type="epub">2160-8830</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajor.2016.61003</article-id><article-id pub-id-type="publisher-id">AJOR-62710</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Study on the Inventory Routing Problem of Refined Oil Distribution Based on Working Time Equilibrium
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>henping</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhiguo</surname><given-names>Wu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Information, Beijing Wuzi University, Beijing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>lizhenping66@163.com(HL)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>11</day><month>01</month><year>2016</year></pub-date><volume>06</volume><issue>01</issue><fpage>17</fpage><lpage>24</lpage><history><date date-type="received"><day>24</day>	<month>November</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>8</month>	<year>January</year>	</date><date date-type="accepted"><day>13</day>	<month>January</month>	<year>2016</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   Taking the distribution route optimization of refined oil as background, this paper studies the inventory routing problem of refined oil distribution based on working time equilibrium. In consideration of the constraints of vehicle capacity, time window for unloading oil, service time and demand of each gas station, we take the working time equilibrium of each vehicle as goal and establish an integer programming model for the vehicle routing problem of refined oil distribution, the objective function of the model is to minimize the maximum working time of vehicles. To solve this model, a Lingo program was written and a heuristic algorithm was designed. We further use the random generation method to produce an example with 10 gas stations. The local optimal solution and approximate optimal solution are obtained by using Lingo software and heuristic algorithm respectively. By comparing the approximate optimal solution obtained by heuristic algorithm with the local optimal solution obtained by Lingo software, the feasibility of the model and the effectiveness of the heuristic algorithm are verified. The results of this paper provide a theoretical basis for the scheduling department to formulate the oil distribution plan. 
 
</p></abstract><kwd-group><kwd>Working Time Equilibrium</kwd><kwd> Hard Time Window</kwd><kwd> Inventory Routing Problem</kwd><kwd> Mathematical Model</kwd><kwd> Heuristic Algorithm</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Inventory and transportation are the most important issues of the logistics system, which are the two main links of the logistics to obtain the “time value” and the “space value”, and their consumption accounts for 2/3 of the total logistics cost [<xref ref-type="bibr" rid="scirp.62710-ref1">1</xref>] . The classical inventory routing problems mainly study one supplier providing distribution service to several customers, whose constraints are customers’ demands, customers’ delivery time windows and customers’ inventory capacities; the objective function is to minimize the total cost. Many scholars have studied the inventory routing problem (IRP) and got fruitful theories. Clauclia et al. proposed the distribution problem of discrete time, which used the inventory and transportation cost minimization as the objective function [<xref ref-type="bibr" rid="scirp.62710-ref2">2</xref>] . Vansteenwegen and Mateo studied the single vehicle cycle inventory routing problem, considered the single vehicle cyclic distribution problem instead of the situation that unlimited vehicle could be used and took the total cost minimization as the main factor [<xref ref-type="bibr" rid="scirp.62710-ref3">3</xref>] . Li et al. studied the inventory routing problem of refined oil distribution under the assumption that each gas station could be served only once and obey the rule of maximum amount of replenishment. They built a mathematical model to minimize the travel time and designed a tabu search algorithm to solve this model [<xref ref-type="bibr" rid="scirp.62710-ref4">4</xref>] . In 2007, Li proposed the vehicle routing problem with time windows and random travel time, and designed a tabu search algorithm based on stochastic simulation [<xref ref-type="bibr" rid="scirp.62710-ref5">5</xref>] . When the vehicle routing problem with time windows was studied by Jiang, the VRPTW optimization model with penalty function was given, and the genetic algorithm was used to solve this problem [<xref ref-type="bibr" rid="scirp.62710-ref6">6</xref>] . Zhao et al. put forward the stochastic demand inventory-routing problem model with hard time window in 2014, and took the operating costs of system and the number of vehicles minimization as the objective function. A heuristic algorithm based on (s, S) inventory policy and modified C-W saving algorithm was given [<xref ref-type="bibr" rid="scirp.62710-ref7">7</xref>] . Milorad et al. proposed a mixed integer programming model to solve multi-product multi-period inventory routing problem and adopted a heuristic approach to observe the impact of fleet size costs on the solutions that were obtained [<xref ref-type="bibr" rid="scirp.62710-ref8">8</xref>] . Yan et al. presented a model for solving a multi objective vehicle routing problem with soft time-window constraints. The total transportation cost and the required fleet size were minimized in this model and a modified genetic algorithm was used to test the model [<xref ref-type="bibr" rid="scirp.62710-ref9">9</xref>] . In 2007, Raa et al. assumed that customer demand rates were deterministic constant when they studied the IRP problem. The objective of this model was to minimize average distribution and inventory costs without causing any stock-out at the customers and a heuristic solution approach was proposed for solving the model [<xref ref-type="bibr" rid="scirp.62710-ref10">10</xref>] .</p><p>Most of the research on inventory routing optimization problem regarded the total distribution time or the total distribution cost minimum as the objective function, but few researchers considered the vehicle’s working time equilibrium problem. In addition to the total distribution cost, another objective is to equilibrate each vehicle’s working time as far as possible in actual arrangements for distribution planning. In this paper, we study the vehicle routing problem of refined oil distribution with hard time window, and formulate the problem into an integer programming model. The objective function of the model is to minimize the maximum working time of all vehicles. In the actual vehicle scheduling, it is often required to equilibrate the working time of the tankers as far as possible, so the problem of this paper has some practical significance. This model includes the constraints of vehicle capacity, demand of gas station and so on. We will design a heuristic algorithm to solve this model efficiently.</p></sec><sec id="s2"><title>2. Problem Description and Mathematical Model</title><sec id="s2_1"><title>2.1. Problem Description</title><p>Taking the refined oil distribution logistics system into account which is managed by the gas station, the inventory routing problem of the refined oil distribution based on the working time equilibrium can be described as: an oil depot supplies a certain kind of refined oil to n gas stations, supposed that the oil depot has k tankers; When a tanker was filled with refined oil in the oil depot, it started from the oil depot and distributed refined oil to several gas stations, and then returned to oil depot after the distribution task was finished. Each gas station has a fixed unloading time window; the tanker must unload oil for the gas station at its time window. If the arrival time of tanker is earlier than the earliest unloading time of the gas station, the tanker must wait. If the arrival time of tanker is later than the latest time, the gas station will out of stock. The demand of a gas station can be carried out by multiple tankers; the tanker capacity, the demand of refined oil for each gas station are given the distance between gas stations, and distance between gas stations and oil depot are given; the service time and time window of each gas station are given. The working time of a tanker in the above problem refers to the total duration of the tanker from the depot to the end of the return to the oil depot. When all the working hours of the tankers are exactly same, the working time can reach a complete equilibrium state and the maximum working time of all tankers is the minimum. In practice, it is difficult to find an optimal routing scheme which makes the full equilibrium of the working time of each tanker because of the difference of tanker capacity and gas stations’ service time window. When the operating time of each tanker is not exactly the same, the corresponding maximum working time of all vehicles will increased. According to this thought, a mathematical model for the inventory routing problem of refined oil distribution based on the working time equilibrium can be established.</p></sec><sec id="s2_2"><title>2.2. Mathematical Model</title><p>Defines the following symbols and variables at first:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x6.png" xlink:type="simple"/></inline-formula>: set of oil depot and gas stations. In order to establish the model conveniently, we use two points to represent the oil depot, 0 represents the oil depot that tanker starts from, n + 1 represents the oil depot that tanker returns to; <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x7.png" xlink:type="simple"/></inline-formula>represent gas stations;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x8.png" xlink:type="simple"/></inline-formula>: demand of gas station i;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x9.png" xlink:type="simple"/></inline-formula>: set of tankers;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x10.png" xlink:type="simple"/></inline-formula>: capacity of tanker k;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x11.png" xlink:type="simple"/></inline-formula>: the amount of refined oil unload at gas station i by tanker k;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x12.png" xlink:type="simple"/></inline-formula>: binary variable, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x13.png" xlink:type="simple"/></inline-formula>, if tanker k passes through the path (<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x14.png" xlink:type="simple"/></inline-formula>);<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x15.png" xlink:type="simple"/></inline-formula>, otherwise;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x16.png" xlink:type="simple"/></inline-formula>: the earliest time of gas station i to receive service;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x17.png" xlink:type="simple"/></inline-formula>: the latest time of gas station i to receive service;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x18.png" xlink:type="simple"/></inline-formula>: the time that tanker k starts to serve for gas station i;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x19.png" xlink:type="simple"/></inline-formula>: the time that tanker k sets out from oil depot;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x20.png" xlink:type="simple"/></inline-formula>: the time that tanker k returns to oil depot n + 1;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x21.png" xlink:type="simple"/></inline-formula>: the required time of gas station i for unloading oil;</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x22.png" xlink:type="simple"/></inline-formula>: the time that a tanker travels from gas station i to j;</p><p>y: the maximum time that all the tankers return to the oil depot after the tasks is finished;</p><p>The mathematical model can be described as follows:</p><disp-formula id="scirp.62710-formula350"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x23.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula351"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x24.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula352"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x25.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula353"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x26.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula354"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x27.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula355"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x28.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula356"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x29.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula357"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x30.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula358"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x31.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula359"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x32.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula360"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x33.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.62710-formula361"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/3-1040440x34.png"  xlink:type="simple"/></disp-formula><p>The objective function (1) represents the minimization of the maximum working time of all tankers;</p><p>Constraint (2) indicates that each gas station is served by at least one tanker;</p><p>Constraints (3)-(4) indicate that the start point and the end point of each tanker’s distribution route must be the oil depot;</p><p>Constraint (5) indicates that if a tanker drives into a gas station, it must leave the gas station when the task is completed;</p><p>Constraint (6) indicates that the total amount of the refined oil which is loaded in a tanker is no more than the capacity of the tanker;</p><p>Constraint (7) indicates the relationship of arrival time between two adjacent gas stations on the same distribution route;</p><p>Constraint (8) means that the time for tanker to arrive at a gas station must be in its time window;</p><p>Constraint (9) indicates that the amount of the refined oil of all tankers deliver to a certain gas station is equal to its demand;</p><p>Constraint (10) ensures that the time that all tankers return to the oil depot is no longer than the maximum working time;</p><p>Constraints (11)-(12) are the value constraints of variables.</p></sec></sec><sec id="s3"><title>3. Heuristic Algorithm</title><p>The mathematical model of inventory routing problem based on the working time equilibrium is an integer programming model. Lingo software can be used to solve small size problems directly, but it needs a long time to get the solution of the large scale problems, so this paper will design a heuristic algorithm to solve this model.</p><p>Several definitions are given as follows.</p><p>Set of feasible successor gas stations: the set of feasible successor gas stations that can be served when a tanker unload oil at a gas station. Every gas station has a fixed time window to accept the service, and tanker needs a certain time to drive from current gas station to the successor one. If the arrival time to the successor gas station just falls in its service time window, the gas station will be a feasible successor gas station. Since each gas station has a time window, it is impossible that each gas station becomes a successor gas station.</p><p>According to the following rules, we can calculate the set of feasible successor gas stations.</p><p>Because we consider the calculation of the set of feasible successor gas stations with hard time window, in order to avoid tankers waiting and gas station out of stock, it is necessary to calculate the feasible successor gas stations of oil depot and every gas station in the heuristic algorithm calculation process.</p><p>Assumed <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x35.png" xlink:type="simple"/></inline-formula> is the set of feasible successor gas stations of gas station i, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x36.png" xlink:type="simple"/></inline-formula>indicates the set of feasible successor gas stations of oil depot. According to the time window calculation of gas station j, its revised time window corresponding to gas station i is:</p><disp-formula id="scirp.62710-formula362"><graphic  xlink:href="http://html.scirp.org/file/3-1040440x37.png"  xlink:type="simple"/></disp-formula><p>If there is an overlap between the time window of gas station i and the revised time window of gas station j corresponding to the gas station i, gas station j can be a successor gas station of gas station i, then gas station j can be added into the set of feasible successor gas stations of gas station i, otherwise, gas station j is not allowed to join in the set of feasible successor gas stations of gas station i.</p><p>For every gas station j in the set of the feasible successor gas stations of gas station i, we calculate its transfer probability <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x38.png" xlink:type="simple"/></inline-formula> by the following equation:</p><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x39.png" xlink:type="simple"/></inline-formula>;<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x40.png" xlink:type="simple"/></inline-formula>,</p><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x41.png" xlink:type="simple"/></inline-formula> means the length of the overlap between two time windows.</p><p>After finishing the service for gas station i, the tanker will select a gas station from the set of feasible successor gas stations based on the transfer probability. Firstly, the transfer probability is calculated, and the successor gas station is chosen by the roulette wheel method, and added to the tanker’s route.</p><p>The heuristic algorithm can be described as follows:</p><p>Input: time window, demand and service time of each gas station, distance matrix and time matrix between gas stations and oil depot, the number of tankers, capacity of each tanker;</p><p>Step 0: Initialization</p><p>The departure time of tanker k from the oil depot is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x42.png" xlink:type="simple"/></inline-formula>, the current position of tanker k is oil depot<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x43.png" xlink:type="simple"/></inline-formula>; sequence of gas stations that tanker k has served is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x44.png" xlink:type="simple"/></inline-formula>, residual capacity of tanker k is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x43.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x44.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x45.png" xlink:type="simple"/></inline-formula>.</p><p>The set of gas stations that need to be served is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x46.png" xlink:type="simple"/></inline-formula>.</p><p>Step 1: Calculate the revised time window of each gas station j in the set of V to the gas station (or oil depot) where the tanker k is, and check whether there is an overlap between the time window of gas station (or oil depot) where tanker k is and the revised time window of gas station j. If there is an overlap, then gas station j will be added into the set<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x47.png" xlink:type="simple"/></inline-formula>, which is the feasible successor gas stations of the gas station where tanker k is; otherwise, gas station j will not be added into<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x48.png" xlink:type="simple"/></inline-formula>.</p><p>Step 2: Calculate the transfer probability of tanker k to each feasible successor gas station by equation <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x49.png" xlink:type="simple"/></inline-formula> and choose a successor gas station in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x49.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x50.png" xlink:type="simple"/></inline-formula> by the roulette wheel method.</p><p>Suppose the successor gas station is j, update<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x51.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x52.png" xlink:type="simple"/></inline-formula>, go to Step 3.</p><p>Step 3: If the demand of gas station j is less than the residual capacity of tanker k, then the replenishment quantity for gas station j is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x53.png" xlink:type="simple"/></inline-formula>, update<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x54.png" xlink:type="simple"/></inline-formula>; otherwise, the replenishment quantity for gas station j equals to the residual capacity of the tanker k and update the demand of gas station j to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x55.png" xlink:type="simple"/></inline-formula>, go to Step 4.</p><p>Step 4: If the set <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x56.png" xlink:type="simple"/></inline-formula> is empty, the route of tanker k is determined, go to Step 5; otherwise, go to Step 1.</p><p>Step 5: If the set V is empty, terminate the algorithm; otherwise, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/3-1040440x57.png" xlink:type="simple"/></inline-formula>, go to Step 6.</p><p>Step 6: If all tankers have been used up, terminate the algorithm; otherwise, go to Step 1.</p><p>Output: the distribution route and loading capacity of each tanker, the unloading capacity of the refined oil per tanker at each gas station, the working time of each tanker, and the maximum working time to complete the distribution task.</p></sec><sec id="s4"><title>4. Simulations Analysis</title><p>Suppose there is an oil depot supplies refined oil to 10 gas stations.0 indicates oil depot; 1 - 10 indicate gas stations. There are 3 tankers in the oil depot, the driving speed of each tanker is 50 km/h, the capacity of each tanker is shown in <xref ref-type="table" rid="table1">Table 1</xref>; each gas station’s demand, service time and hard time window are shown in <xref ref-type="table" rid="table2">Table 2</xref>, distance between gas stations, and distance between gas stations and oil pot are shown in <xref ref-type="table" rid="table3">Table 3</xref>; the tanker’s running time between any pair of gas stations, gas station and oil depot is shown in <xref ref-type="table" rid="table4">Table 4</xref>.</p><p>Firstly, we use the Lingo software to solve the integer programming model which is established in this paper. When the solution option set to use global solver, Lingo cannot get the global optimal solution after 130 hours</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The capacity of tankers (ton)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Tanker</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th></tr></thead><tr><td align="center" valign="middle" >Capacity</td><td align="center" valign="middle" >52</td><td align="center" valign="middle" >48</td><td align="center" valign="middle" >54</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Related parameters of gas stations</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Gas station</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th></tr></thead><tr><td align="center" valign="middle" >q</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >17</td></tr><tr><td align="center" valign="middle" >TW</td><td align="center" valign="middle" >[0.4, 1.2]</td><td align="center" valign="middle" >[0.6, 1.5]</td><td align="center" valign="middle" >[0.8, 1.7]</td><td align="center" valign="middle" >[0.7, 1.6]</td><td align="center" valign="middle" >[1, 1.8]</td><td align="center" valign="middle" >[1, 1.6]</td><td align="center" valign="middle" >[0.4, 1.5]</td><td align="center" valign="middle" >[0.6, 2]</td><td align="center" valign="middle" >[1.4, 1.9]</td><td align="center" valign="middle" >[1.3, 2]</td></tr><tr><td align="center" valign="middle" >s</td><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >0.15</td><td align="center" valign="middle" >0.12</td><td align="center" valign="middle" >0.08</td><td align="center" valign="middle" >0.13</td><td align="center" valign="middle" >0.1</td><td align="center" valign="middle" >0.17</td><td align="center" valign="middle" >0.06</td><td align="center" valign="middle" >0.12</td><td align="center" valign="middle" >0.15</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> The shortest distance between gas stations or oil depot (km)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Gas station</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th></tr></thead><tr><td align="center" valign="middle" >0</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >25</td><td align="center" valign="middle" >24</td><td align="center" valign="middle" >28</td><td align="center" valign="middle" >27</td><td align="center" valign="middle" >22</td><td align="center" valign="middle" >23</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >21</td><td align="center" valign="middle" >26</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >23</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >28</td><td align="center" valign="middle" >24</td><td align="center" valign="middle" >19</td><td align="center" valign="middle" >34</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >11</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >22</td><td align="center" valign="middle" >27</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >24</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >27</td><td align="center" valign="middle" >39</td><td align="center" valign="middle" >31</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >24</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >24</td><td align="center" valign="middle" >21</td><td align="center" valign="middle" >33</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >26</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >26</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >30</td><td align="center" valign="middle" >27</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >34</td><td align="center" valign="middle" >26</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" >27</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >21</td><td align="center" valign="middle" >32</td><td align="center" valign="middle" >25</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >26</td><td align="center" valign="middle" >35</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >25</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Driving time between gas stations or oil depot (hour)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Gas station</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th></tr></thead><tr><td align="center" valign="middle" >0</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0.5</td><td align="center" valign="middle" >0.48</td><td align="center" valign="middle" >0.56</td><td align="center" valign="middle" >0.54</td><td align="center" valign="middle" >0.44</td><td align="center" valign="middle" >0.46</td><td align="center" valign="middle" >0.40</td><td align="center" valign="middle" >0.42</td><td align="center" valign="middle" >0.52</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.32</td><td align="center" valign="middle" >0.46</td><td align="center" valign="middle" >0.36</td><td align="center" valign="middle" >0.56</td><td align="center" valign="middle" >0.48</td><td align="center" valign="middle" >0.38</td><td align="center" valign="middle" >0.68</td><td align="center" valign="middle" >0.36</td><td align="center" valign="middle" >0.22</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.18</td><td align="center" valign="middle" >0.32</td><td align="center" valign="middle" >0.44</td><td align="center" valign="middle" >0.54</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >0.34</td><td align="center" valign="middle" >0.26</td><td align="center" valign="middle" >0.48</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >0.54</td><td align="center" valign="middle" >0.78</td><td align="center" valign="middle" >0.62</td><td align="center" valign="middle" >0.24</td><td align="center" valign="middle" >0.36</td><td align="center" valign="middle" >0.48</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.36</td><td align="center" valign="middle" >0.48</td><td align="center" valign="middle" >0.42</td><td align="center" valign="middle" >0.66</td><td align="center" valign="middle" >0.24</td><td align="center" valign="middle" >0.52</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.52</td><td align="center" valign="middle" >0.40</td><td align="center" valign="middle" >0.28</td><td align="center" valign="middle" >0.60</td><td align="center" valign="middle" >0.54</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.68</td><td align="center" valign="middle" >0.52</td><td align="center" valign="middle" >0.36</td><td align="center" valign="middle" >0.54</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.42</td><td align="center" valign="middle" >0.64</td><td align="center" valign="middle" >0.50</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.52</td><td align="center" valign="middle" >0.70</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >0.50</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >-</td></tr></tbody></table></table-wrap><p>operating. Therefore, the solution option set to the local solver. After 70 hours of operation, the local optimal solution of the model is obtained by Lingo, and the results are as follows:</p><p>The distribution routes of the 3 tankers are respectively: 0-1-4-6-9-0; 0-8-7-5-0; 0-1-2-3-10-0.</p><p>The arrival time of each tanker to the gas stations is shown in <xref ref-type="table" rid="table5">Table 5</xref>.</p><p>From <xref ref-type="table" rid="table5">Table 5</xref>, we can learn: the working time of tanker1 is 2.42 hours, that of tanker 2 is 2.42 hours and that of tanker 3 is 2.42 hours. The maximum working time is 2.42 hours, which means the optimal solution obtained by Lingo is 2.42 hours.</p><p>The amount of refined oil distributed for each gas station is shown in <xref ref-type="table" rid="table6">Table 6</xref>.</p><p>Next, according to the heuristic algorithm coded by Matlab software, we obtain an approximate optimal distribution route for 3 tankers: 0-1-3-2-8-0; 0-1-4-6-9-0; 0-7-5-10-0.</p><p>The arrival time of each tanker to the gas station is shown in <xref ref-type="table" rid="table7">Table 7</xref>.</p><p>From <xref ref-type="table" rid="table7">Table 7</xref>, we can learn that the working time of tanker 1 is 2.21 hours, which of tanker 2 is 2.42 hours and that of tanker 3 is 2.37 hours. The maximum working time is 2.42 hours, which means the optimal solution obtained by heuristic algorithm is 2.42 hours.</p><p>The amount of refined oil per tanker distributed for each gas station is shown in <xref ref-type="table" rid="table8">Table 8</xref>.</p><p>By comparison, we find that the approximate optimal solution obtained by the heuristic algorithm is approximately the same as the local optimal solution obtained by Lingo. But the local optimal solution of Lingo is better in terms of eliminating the working time difference of each tanker. But it needs a long time to obtain local optimal solution by Lingo, which cannot satisfy the requirement to obtain the optimal solution in short time. The operation time is greatly shorter by using heuristic algorithm coded by Matlab than using Lingo software to solve the integer programming model.</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> The arrival time of each tanker to the gas stations (unit: hour)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >i r k</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >0</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.86</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.42</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.88</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >2.42</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.75</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.18</td><td align="center" valign="middle" >0.6</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >2.42</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0.82</td><td align="center" valign="middle" >1.15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.75</td><td align="center" valign="middle" >2.42</td></tr></tbody></table></table-wrap><p>i indicates the gas station; r represents arrival time; k refers to the tanker.</p><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> The amount of refined oil distributed for each gas station (ton)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >i d k</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >0</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >0</td></tr></tbody></table></table-wrap><p>i indicates the gas station; d represents distribution quantity; r refers to the tanker.</p><table-wrap id="table7" ><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> The arrival time of each tanker to the gas stations (hour)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >i r k</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >0</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >1.26</td><td align="center" valign="middle" >0.96</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.75</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >2.21</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.4</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.86</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.42</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.88</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >2.42</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.03</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.46</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >1.70</td><td align="center" valign="middle" >2.37</td></tr></tbody></table></table-wrap><p>i indicates the gas station; r represents arrival time; k refers to the tanker.</p><table-wrap id="table8" ><label><xref ref-type="table" rid="table8">Table 8</xref></label><caption><title> The amount of refined oil distributed for each gas station (ton)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >i d k</th><th align="center" valign="middle" >0</th><th align="center" valign="middle" >1</th><th align="center" valign="middle" >2</th><th align="center" valign="middle" >3</th><th align="center" valign="middle" >4</th><th align="center" valign="middle" >5</th><th align="center" valign="middle" >6</th><th align="center" valign="middle" >7</th><th align="center" valign="middle" >8</th><th align="center" valign="middle" >9</th><th align="center" valign="middle" >10</th><th align="center" valign="middle" >0</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >0</td></tr></tbody></table></table-wrap><p>i indicates the gas station; d represents distribution quantity; k refers to the tanker.</p></sec><sec id="s5"><title>5. Conclusions</title><p>The inventory routing problem is the key problem in making the distribution plan of the refined oil. The working time equilibrium of each tanker often needs to be considered in the actual arrangement of the oil delivery scheme. In this paper, we study the inventory routing problem, which is to make the working time equilibrium of the tanker as far as possible. The mathematical model of the problem is established and Lingo program is written for solving the model. We further design a heuristic algorithm to solve the problem quickly. The model and algorithm in this paper provide a theoretical basis for the formulation of the oil distribution plan.</p><p>This paper only considers the inventory routing problem of single refined oil distribution and assumes that the demand of each gas station is determined, and a tanker is allowed to unload at multiple gas stations. In practice, the demand of gas stations is usually a random variable and the tanker for distribution of the refined oil usually has a plurality of compartments of different volumes. In order to facilitate the measurement of gas stations, the oil in one compartment must be unloaded to one gas station, in other words, the oil in one compartment can’t be unloaded to multiple gas stations. We will consider a variety of refined oil distribution problem in the future research and add the vehicle compartment constraints and other conditions in order to get the results that are more suitable to the actual distribution plan.</p></sec><sec id="s6"><title>Acknowledgements</title><p>This work was supported by the National Natural Science Foundation of China (11131009, 71540028, F012408), the Funding Project for Academic Human Resources Development in Institutions of Higher Learning under the Jurisdiction of Beijing Municipality (CIT &amp; TCD20130327), and Major Research Project of Beijing Wuzi University. Funding Project for Technology Key Project of Municipal Education Commission of Beijing (ID: TSJHG 201310037036); Funding Project for Beijing Key Laboratory of Intelligent Logistics System; Funding Project of Construction of Innovative Teams and Teacher Career Development for Universities and Colleges Under Beijing Municipality (ID: IDHT20130517); Funding Project for Beijing Philosophy and Social Science Research Base Specially Commissioned Project Planning (ID: 13JDJGD013).</p></sec><sec id="s7"><title>Cite this paper</title><p>ZhenpingLi,ZhiguoWu, (2016) Study on the Inventory Routing Problem of Refined Oil Distribution Based on Working Time Equilibrium. American Journal of Operations Research,06,17-24. doi: 10.4236/ajor.2016.61003</p></sec></body><back><ref-list><title>References</title><ref id="scirp.62710-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Herer, Y.T. and Levy, R. (1997) The Metered Inventory Routing Problem, an Integrative Heuristic Algorithm. International Journal of Production Economics, 51, 69-81. &lt;/br&gt;http://dx.doi.org/10.1016/S0925-5273(97)00059-5</mixed-citation></ref><ref id="scirp.62710-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Clauclia, A., Nicola, B., StafanIrnich, M. and Grazia, S. (2014) Formulations for an Inventory Routing Problem. International Transactions in Operational Research, 21, 353-374.</mixed-citation></ref><ref id="scirp.62710-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Vansteenwegen, P. and Mateo, M. (2014) An Iterated Local Search Algorithm for the Single-Vehicle Cyclic Inventory Routing Problem. European Journal of Operational Research, 237, 802-813. &lt;/br&gt;http://dx.doi.org/10.1016/j.ejor.2014.02.020</mixed-citation></ref><ref id="scirp.62710-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Li, K.P., Chen, B., Sirakumar, A. and Wu, Y. (2013) An Inventory-Routing Problem with the Objective of Travel Time Minimization. European Journal of Operational Research, 236, 936-945. &lt;/br&gt;http://dx.doi.org/10.1016/j.ejor.2013.07.034</mixed-citation></ref><ref id="scirp.62710-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Li, X. (2007) Research on Model and Algorithm of Vehicle Routing Problem. Shanghai Jiao Tong University, Shanghai, 91-105. (In Chinese)</mixed-citation></ref><ref id="scirp.62710-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Jiang, B. (2010) Research on Vehicle Routing Problem with Time Windows Based on Genetic Algorithm. Beijing Jiaotong University, Beijing, 8-44. (In Chinese)</mixed-citation></ref><ref id="scirp.62710-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, D., Li, J., Ma, D. and Li, Y. (2014) Optimization Algorithm for Solving Stochastic Demand Inventory Routing Problem with Hard Time Window Constraints. Operations Research and Management Science, 23, 27-37. (In Chinese)</mixed-citation></ref><ref id="scirp.62710-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Milorad, V., Drazen, P. and Branislava, R. (2014) Mixed Integer and Heuristics Model for the Inventory Routing Problem in Fuel Delivery. International Journal of Production Economics, 147, 593-604.</mixed-citation></ref><ref id="scirp.62710-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Yan, Q.Y., Zhang, Q. and Torres, D.F.M. (2015) The Optimization of Transportation Costs in Logistics Enterprises with Time-Window Constraints. Discrete Dynamics in Nature and Society, 2015, Article ID: 365367.</mixed-citation></ref><ref id="scirp.62710-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Raa, B. and Aghezzaf, E.-H. (2009) A Practical Solution Approach for the Cyclic Inventory Routing Problem. European Journal of Operational Research, 192, 429-441. &lt;/br&gt;http://dx.doi.org/10.1016/j.ejor.2007.09.032</mixed-citation></ref></ref-list></back></article>