<?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">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2014.214005</article-id><article-id pub-id-type="publisher-id">JCC-52339</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Research on Location-Inventory Model in Grain Emergency Network
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>in</surname><given-names>Wang</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>Wenzhuo</surname><given-names>Liang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yunxian</surname><given-names>Hou</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>College of Economics and Management, China Agriculture University, Beijing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>wanglincau2013@163.com(IW)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>21</day><month>11</month><year>2014</year></pub-date><volume>02</volume><issue>14</issue><fpage>52</fpage><lpage>58</lpage><history><date date-type="received"><day>8</day>	<month>October</month>	<year>2014</year></date><date date-type="rev-recd"><day>6</day>	<month>November</month>	<year>2014</year>	</date><date date-type="accepted"><day>26</day>	<month>November</month>	<year>2014</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>
 
 
  Once the disaster occurred, a huge amount of grain supply is needed from disaster area. Because of the short shelf life, grain is very strict with reserve environment and needed to rotate on a regular basis in the process of reserves. Considering the limitations of existing related research, this paper presented a facility location model for grain emergency network that incorporates inventory factors and rotation mechanism, and then designed genetic algorithm based on Matlab to solve the model. Finally we verified the feasibility and effectiveness of the algorithm by computational examples and presented the directions for future work.
 
</p></abstract><kwd-group><kwd>Location-Inventory</kwd><kwd> Grain Emergency Network</kwd><kwd> Genetic Algorithm</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Disasters often cause significant loss of life and property, which can be both natural (earthquakes, hurricanes) and man-made (terrorist attacks, chemical leakages). Statistics show that more than 500 disasters are estimated to strike our planet every year, around 75,000 people are killed and more than 200 million others are impacted [<xref ref-type="bibr" rid="scirp.52339-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.52339-ref2">2</xref>] . Especially in the 21st century, disasters occur more frequently, so most countries have established several series of emergency plan to deal with such disasters. However, only relying on emergency plans, the emergency relief supplies (especially grain) cannot be delivered to the stricken area in time, because the disasters generally occurs rapidly and they are difficult to predict, the rapid response times and huge demand is required, and even more emergency facilities may be damaged.</p><p>The Chinese Government has established a set of central and local grain reserve system, in response to unexpected public emergency events. However, the current China’s grain reserves are mostly unprocessed, so it needs time and conditions to transform the raw grain into processed grain. The 2008 Wenchuan earthquake provides an excellent example that directly revealed the shortage of processed grain reserves. Therefore, China has been making the planning and construction of processed grain reserve system. Many national policies such as “National Food Security and Long-Term Planning Framework (2008-2020)” and “Food Industry Development Plan during the 12th Five-Year Period”, indicate that the number of provincial designated emergency food processing enterprise increases from 1700 to 2000, the number of food supply industry increases from 4000 to 5000, and the processed grain emergency reserves (EPI) of city should meet the consumption needs of more than 15 days.</p><p>At present, although the theorists pay more attention to emergency rescue, concerning to the study about the emergency supply of grain is very insufficient. Through analyzing the operation of emergency supply of grain, it is not difficult to find that the emergency supply system of grain can be viewed as a three-stage supply chain formed by the raw grain suppliers, core enterprise and supply outlets. Due to the short shelf life of processed grain, high storage conditions, requirement of quick rotation, there will lead to a substantial increase in the cost of processed grain reserves, if reserved by local government. Therefore some enterprises which have some production and reserve capacity are assigned and commissioned to stock up on processed grain and also receive subsidies from local government. In the absence of disaster, core enterprise may carry out normal production, marketing and other routine operations on the premise of a certain quality and quantity of processed grain reserves. Once disaster occurs, core enterprise need to distribute the processed grain reserved in advance to the supply outlets of stricken area for the first time, to gives priority to the demands from stricken area.</p><p>The current researches on emergency network optimization are mainly concentrated in emergency facility location. The traditional facility location problem can be divided into: p-median problem, p-center problem and covering problem [<xref ref-type="bibr" rid="scirp.52339-ref3">3</xref>] -[<xref ref-type="bibr" rid="scirp.52339-ref7">7</xref>] . And covering problem is the most widely used model in facility location problem, especially in the location of emergency facilities. With the further research, scholars have gradually realized that the basic hypothesis of traditional covering problem is not reasonable in many cases. When the distance between the disaster area and facilities is less than certain distance (time), that was thought to be completely covered; otherwise, the disaster area will not be covered, this assumption is called 0 - 1 covering problem. Therefore scholars put forward a series of improvement ideas, such as the maximal covering location with coverage gradually [<xref ref-type="bibr" rid="scirp.52339-ref8">8</xref>] , the set covering model with multi-coverage [<xref ref-type="bibr" rid="scirp.52339-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.52339-ref10">10</xref>] , multiple quantity and quality of coverage model [<xref ref-type="bibr" rid="scirp.52339-ref11">11</xref>] , multistage covering location model [<xref ref-type="bibr" rid="scirp.52339-ref12">12</xref>] -[<xref ref-type="bibr" rid="scirp.52339-ref14">14</xref>] , the maximal covering location with backup facilities [<xref ref-type="bibr" rid="scirp.52339-ref15">15</xref>] , and other facility location models with different constraints [<xref ref-type="bibr" rid="scirp.52339-ref16">16</xref>] -[<xref ref-type="bibr" rid="scirp.52339-ref24">24</xref>] .</p><p>Through the summary of many facility location models, we found that the current related research only limits the conventional emergency facilities or general emergency materials reserve site selection problem, and ignores the study of the emergency supplies of grain, a special emergency material, which has obviously different characteristics from the general emergency materials in the process of emergency stockpile. Once the disaster occurred, a huge amount of grain supply is needed from disaster area. Because of the short shelf life, grain is very strict with reserve environment and needed to rotate on a regular basis in the process of reserves. So, it is of great importance to research on grain emergency network, especially to determine the scope of reserve enterprise, location, service scope and inventory strategy.</p></sec><sec id="s2"><title>2. Method</title><sec id="s2_1"><title>2.1. Problem Description</title><p>We consider a three-tiered system consisting of one or more suppliers, reserve enterprises and supply outlets. We assume that the locations of the reserve enterprises and supply outlets are known and that the reserve enterprises have infinite capacity at least from the perspective of the system being modeled. The problem is to determine the optimal number of reserve enterprises, their locations, the supply outlets assigned to each reserve enterprise, and the optimal ordering policy at the reserve enterprises.</p><p>We do not explicitly model the inventory maintained by the supply outlets themselves. A key problem is that the demand that is seen by each reserve enterprise is a function of the demands at the supply outlets assigned to the reserve enterprise. Thus, the inventory policy―the reorder interval, reorder size, and safety stock―at the reserve enterprise is a function of the assignment of supply outlets to the reserve enterprise. Since these assignments are not known a priori, the inventory policy must also be endogenously determined. Moreover, we assume that the storage capacity of reserve enterprise is unlimited, and the cost of transportation from reserve enterprise to supply outlets only depends on the fixed cost of transportation and the distance.</p></sec><sec id="s2_2"><title>2.2. Model Formulation</title><sec id="s2_2_1"><title>2.2.1. The Safety Stock Cost</title><p>We let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x5.png" xlink:type="simple"/></inline-formula> be the set of reserve enterprises indexed by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x6.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x7.png" xlink:type="simple"/></inline-formula> be the set of supply outlets indexed by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x8.png" xlink:type="simple"/></inline-formula>. Assume that the demand at each supply outlet is normally distributed with a daily mean <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x9.png" xlink:type="simple"/></inline-formula> and a daily variance <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x10.png" xlink:type="simple"/></inline-formula> and let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x11.png" xlink:type="simple"/></inline-formula> be the set of supply outlets assigned to the reserve enterprise. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x12.png" xlink:type="simple"/></inline-formula> be the lead time in days for deliveries from the supplier to the reserve enterprise. So the lead time demand at the distribution center is</p><p>normally distributed with a mean of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x13.png" xlink:type="simple"/></inline-formula> and a variance of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x14.png" xlink:type="simple"/></inline-formula>. The safety stock required to ensure that stockouts occur with a probability of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x15.png" xlink:type="simple"/></inline-formula> or less is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x16.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x17.png" xlink:type="simple"/></inline-formula> is a standard Normal deviate such that<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x18.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s2_2_2"><title>2.2.2. The Annual Working Inventory Cost</title><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x19.png" xlink:type="simple"/></inline-formula> be the expected annual demand, so<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x20.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x21.png" xlink:type="simple"/></inline-formula> is a constant used to convert daily demand into annual demand, let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x22.png" xlink:type="simple"/></inline-formula> be the holding cost per item per year and let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x20.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x23.png" xlink:type="simple"/></inline-formula> be the fixed cost of placing an order from the reserve enterprise to the supplier. Then the annual cost of ordering inventory from the supplier at the reserve enterprise is approximated by</p><disp-formula id="scirp.52339-formula115"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x24.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula> is the number of orders per year, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x26.png" xlink:type="simple"/></inline-formula>is the cost of shipping an order of size <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x27.png" xlink:type="simple"/></inline-formula> from the supplier (i.e.,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x28.png" xlink:type="simple"/></inline-formula>), and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x29.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x27.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x28.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x30.png" xlink:type="simple"/></inline-formula> are weights that we assign to transportation and inventory costs respectively so that we can later make sensitivity analysis.</p><p>Taking the derivative of expression (1) with respect to<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x31.png" xlink:type="simple"/></inline-formula>, the number of orders per year, and setting the de-</p><p>rivative to zero, we obtain<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x32.png" xlink:type="simple"/></inline-formula>. Substituting this into the cost function (1) we obtain anan-</p><p>nual working inventory cost of</p><disp-formula id="scirp.52339-formula116"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x33.png"  xlink:type="simple"/></disp-formula></sec><sec id="s2_2_3"><title>2.2.3. The Emergency Reserve Cost</title><p>Because of the short shelf life, grain is very strict with reserve environment and needed to rotate on a regular basis in the process of reserves. During the period of emergency reserve, the rotation cost plus the storage cost make the emergency reserve cost. Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x34.png" xlink:type="simple"/></inline-formula> be the rotation cost per item per time, and let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x35.png" xlink:type="simple"/></inline-formula> be the number of rotation. According to the requirements of national policy, the enterprise should reserve more than the social needs of 15 days, so<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x36.png" xlink:type="simple"/></inline-formula>. Then we obtain the emergency reserves of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x37.png" xlink:type="simple"/></inline-formula>. The emergency reserve cost can be expressed by</p><disp-formula id="scirp.52339-formula117"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x38.png"  xlink:type="simple"/></disp-formula></sec><sec id="s2_2_4"><title>2.2.4. Location-Inventory Model Formulation</title><p>Let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x39.png" xlink:type="simple"/></inline-formula> be the fixed cost of locating a reserve enterprise at candidate <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x40.png" xlink:type="simple"/></inline-formula> and let <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x41.png" xlink:type="simple"/></inline-formula> be the cost per unit to ship between supply outlet <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x42.png" xlink:type="simple"/></inline-formula> and candidate site<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x39.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x40.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x41.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x42.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x43.png" xlink:type="simple"/></inline-formula>. In addition, we define the following decision variables:</p><disp-formula id="scirp.52339-formula118"><graphic  xlink:href="http://html.scirp.org/file/5-1730152x44.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.52339-formula119"><graphic  xlink:href="http://html.scirp.org/file/5-1730152x45.png"  xlink:type="simple"/></disp-formula><p>With this notation, we can formulate the problem as follows:</p><disp-formula id="scirp.52339-formula120"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x46.png"  xlink:type="simple"/></disp-formula><p>Subject to:</p><disp-formula id="scirp.52339-formula121"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x47.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.52339-formula122"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x48.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.52339-formula123"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x49.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.52339-formula124"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/5-1730152x50.png"  xlink:type="simple"/></disp-formula><p>The first term of the objective function (4) is the fixed cost of locating facilities. The second term represents the local delivery cost. The third term represents the total working inventory cost. The fourth term represents the safety stock cost. The fifth term represents the emergency reserve cost. Constraint (5) states that each demand node must be assigned to a reserve enterprise. Constraint (6) stipulates that the assignments can only be made to open reserve enterprises. Finally, constraints (7) and (8) are standard integrality constraints, with (8) represent- ing single-sourcing constraints, meaning that all of the demand at a supply outlet must be assigned to the same reserve enterprise.</p></sec></sec></sec><sec id="s3"><title>3. Model Algorithm Design</title><p>For the number of reserve enterprise is uncertain, the established location-inventory model of grain emergency network is a NP-Hard problem. Classic algorithms for solving location-inventory problems is the Lagrangian relaxation algorithm [<xref ref-type="bibr" rid="scirp.52339-ref25">25</xref>] , but with more complicated constraints and planning scope expands, the algorithm need a longer computation time. So in this paper, we use the genetic algorithm to solve the location-inventory model.</p><p>1) Coding work</p><p>Choose <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x51.png" xlink:type="simple"/></inline-formula> dimensional 0 - 1 integer row vector as chromosome structure. When the value of the <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x52.png" xlink:type="simple"/></inline-formula> bit is equal to 1, the candidate enterprise is selected, or that is not selected.</p><p>2) Initialization</p><p>Set evolution algebra counter<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x53.png" xlink:type="simple"/></inline-formula>, set maximum evolution algebra<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x54.png" xlink:type="simple"/></inline-formula>, randomly generated <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x55.png" xlink:type="simple"/></inline-formula> an individual as the initial group<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x54.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x55.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x56.png" xlink:type="simple"/></inline-formula>.</p><p>3) Calculation the fitness of each individual</p><p>Step 1: Assign each supply outlet to its nearest reserve enterprise, until all retailers are assigned;</p><p>Step 2: Test on each supply outlet in turn. Delete the supply outlet from the enterprise which it was originally assigned to, and then assign this supply outlet to the other reserve enterprise. If the new scheme can reduce the total cost, update this scheme; if not, assign this supply outlet to another reserve enterprise until the total cost cannot be reduced by assigning this supply outlet to any reserve enterprise.</p><p>Step 3: If all the supply outlets get through the examination of step 2 and the original scheme has not changed, then in step 4; if not, return to step 2 to examine each supply outlet in turn.</p><p>Step 4: According to the above steps to get the optimal scheme <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x57.png" xlink:type="simple"/></inline-formula> and its corresponding location decision variables<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x58.png" xlink:type="simple"/></inline-formula>. Calculate the corresponding chromosome fitness through objective function (4), and terminate the calculation.</p><p>4) Choose operation, crossover operation and variation operation</p><p>The roulette wheel selection method is adopted for the choice of individuals. First calculate the fitness of each</p><p>individual<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x59.png" xlink:type="simple"/></inline-formula>, and then choose probability method to guarantee the excellent genetic structure by</p><p>heredity to the next generation of most likely. Using discrete restructuring to make crossover operation can produce new individual more effectively from two similar structures in the parent. Generation replacement method is used for population iteration, to keep only one when appear some same individual and avoid the GA convergence too fast, can also prevent the solution into a local optimal solution at the same time.</p><p>5) Conditions for the termination judgment</p><p>If<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x60.png" xlink:type="simple"/></inline-formula>, the one with the evolutionary process have been with the maximum fitness individual as optimal solution output, terminate the calculation. When the algorithm terminates, the best chromosome is the optimal solution of the objective function [<xref ref-type="bibr" rid="scirp.52339-ref26">26</xref>] [<xref ref-type="bibr" rid="scirp.52339-ref27">27</xref>] .</p></sec><sec id="s4"><title>4. Computational Results</title><p>In this section, we present computational results from an experiment. We assume that there are 10 candidate reserve enterprises and 50 supply outlets, and their positions are random uniform distribution on the [0, 100] of the plane. In addition <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula> randomly generated in uniform distribution [300, 1000], <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula>randomly generated in uniform distribution [100, 3000], <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula>randomly generated in uniform distribution [1000, 3000], <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x64.png" xlink:type="simple"/></inline-formula>randomly generated in uniform distribution [1/360, 3/360], <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x65.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x66.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x67.png" xlink:type="simple"/></inline-formula>,<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x61.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x62.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x63.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x64.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x65.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x66.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x67.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/5-1730152x68.png" xlink:type="simple"/></inline-formula>.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows the parameters for computational operation that we assumed.</p><p>The computational results are shown in <xref ref-type="table" rid="table2">Table 2</xref> and <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Parameters for computational operation</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Population size</th><th align="center" valign="middle" >20</th></tr></thead><tr><td align="center" valign="middle" >Length of the chromosome</td><td align="center" valign="middle" >10</td></tr><tr><td align="center" valign="middle" >Maximum number of evolution</td><td align="center" valign="middle" >200</td></tr><tr><td align="center" valign="middle" >Crossover rate</td><td align="center" valign="middle" >0.8</td></tr><tr><td align="center" valign="middle" >Variation rate</td><td align="center" valign="middle" >0.1</td></tr><tr><td align="center" valign="middle" >Conditions for the termination</td><td align="center" valign="middle" >1. Maximum number of evolution 2. Optimal solution remains unchanged in continuous 20 generation</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Computational results for location-inventory model</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Candidate reserve enterprises</th><th align="center" valign="middle" >10</th></tr></thead><tr><td align="center" valign="middle" >Supply outlets</td><td align="center" valign="middle" >50</td></tr><tr><td align="center" valign="middle" >number of evolution</td><td align="center" valign="middle" >76</td></tr><tr><td align="center" valign="middle" >Elapsed time</td><td align="center" valign="middle" >16.5 s</td></tr><tr><td align="center" valign="middle" >Selected reserve enterprises</td><td align="center" valign="middle" >5</td></tr><tr><td align="center" valign="middle" >Value of objective function</td><td align="center" valign="middle" >475,000</td></tr></tbody></table></table-wrap><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Computational results of reserve enterprises and supply outlets</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/5-1730152x69.png"/></fig><p><xref ref-type="table" rid="table2">Table 2</xref> shows that there are 10 candidate reserve enterprises and 50 supply outlets in the computational experiment. The optimal objective function value is 475,000 and 5 candidate reserve enterprises have been selected finally. The calculation process has elapsed for 16.5 seconds after 76 evolutions. Shorter elapsed time and less number of iterations show the effectiveness of the algorithm.</p><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>, there are three kinds of symbol depict the reserve enterprises and supply outlets. Among them, “o” was on behalf of the supply outlets, “+” was on behalf of the selected reserve enterprises and “△” was on behalf of the unselected reserve enterprises. We can find that 5 candidate reserve enterprises have been selected finally, in order to minimize the total cost.</p><p>In this computational examination, we have designed genetic algorithm to solve the model, which does not mean that only genetic algorithm is appropriate. We choose genetic algorithm is just because of its advantage, which has good global search ability and can quickly search out all the solution in the solution space, and won’t get into local optimal solution of the rapid decline in trap.</p></sec><sec id="s5"><title>5. Conclusions and Directions for Future Work</title><p>We have presented a facility location model for grain emergency network that incorporates inventory factors and rotation mechanism, and then designed genetic algorithm based on Matlab to solve the model. Finally we verified the feasibility and effectiveness of the algorithm by computational examples.</p><p>We assume that the storage and service capacity of reserve enterprise are unlimited in this paper, but in reality, they are key points which should be considered and cannot be ignored. The storage limit of reserve enterprise will affect the final number and location assigned to the supply outlets, as well as their own inventory control strategy. And also, the construction cost will increase with the ascension of the capacity, which is no longer a fixed value but a function about the capacity. So the grain emergency network optimization with capacity limits will be a further development direction.</p></sec><sec id="s6"><title>Acknowledgements</title><p>This article could not have been completed without the help and support of many people. We express our deepest gratitude to the reviewers and editors, whose able guidance helped in the publication of this article. This work is supported by National Social Science Fund (Grant No. 14BGL062), the National Science &amp; Technology Pillar Program during the 12th Five-Year Plan Period (Grant No. 2014BAL07B04, 2014BAL07B05) and the Beijing Modern Logistics Research Base Open Project (Grant No. JD2013003).</p></sec></body><back><ref-list><title>References</title><ref id="scirp.52339-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Wassenhove, L.N.V. (2006) Humanitarian Aid Logistics: Supply Chain Management in High Gear. The Journal of the Operational Research Society, 57, 475-489. http://dx.doi.org/10.1057/palgrave.jors.2602125</mixed-citation></ref><ref id="scirp.52339-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Caunhye, A.M., Nie, X.-F. and Pokharel, S. (2012) Optimization Models in Emergency Logistics: A Literature Review. Socio-Economic Planning Sciences, 46, 4-13.</mixed-citation></ref><ref id="scirp.52339-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Schilling, D.A., Jayaraman, V. and Barkhi, R. (1993) A Review of Covering Problem in Facility Location. Location Science, 1, 25-55.</mixed-citation></ref><ref id="scirp.52339-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Farahani, R.Z. (2012) Covering Problems in Facility Location: A Review. Computers and Industrial Engineering, 62, 368-407. http://dx.doi.org/10.1016/j.cie.2011.08.020</mixed-citation></ref><ref id="scirp.52339-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Church, R. and ReVelle, C. (1974) Maximal Covering Location Problem. Papers of the Regional Science Association, 32, 101-118.</mixed-citation></ref><ref id="scirp.52339-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Toregas, C., Swaim, R., ReVelle, C. and Bergman, L. (1971) The Location of Emergency Service Facilities. Operation Research, 19, 1363-1373.</mixed-citation></ref><ref id="scirp.52339-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Roth, R. (1969) Computer Solutions to Minimum Cover Problems. Operation Research, 455-465.</mixed-citation></ref><ref id="scirp.52339-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Berman, O., Dreznerb, Z. and Krass, D. (2010) Generalized Coverage: New Developments in Covering Location Models. Computers and Operations Research, 37, 1675-1687. http://dx.doi.org/10.1016/j.cor.2009.11.003</mixed-citation></ref><ref id="scirp.52339-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Daskin, M.S. and Stern, E.H. (1981) A Hierarchical Objective Set Covering Model for Emergency Medical Service Vehicle Deployment. Transportation Science, 15, 137-152. http://dx.doi.org/10.1287/trsc.15.2.137</mixed-citation></ref><ref id="scirp.52339-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Liu, T.-H., Xu, W.-S. and Wu, Q.-D. (2010) Modeling and Algorithm Forlocation of Medical Resources Underlarge-Scale Emergency. Computer Engineering and Applications, 46, 13-17.</mixed-citation></ref><ref id="scirp.52339-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Ge, C.-J., Wang, X. and Guan, X.-J. (2011) A Multi-Covering Model and Its Algorithm for Facility Location Response for Large-Scale Emergencies. Operations Research and Management Science, 20, 50-56.</mixed-citation></ref><ref id="scirp.52339-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Wang, W.-F., Guo, B. and Liu, X.-L. (2007) Model and Solution Approach for Multiple-Quality-of-Coverage Facility Location Problem. Chinese Journal of Management Science, 15, 144-148.</mixed-citation></ref><ref id="scirp.52339-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, J.-H. and Hou, Y.-X. (2012) A Multistage Covering Location Model for Emergency Supplies Reserve. Statistics and Decision, 23, 45-48.</mixed-citation></ref><ref id="scirp.52339-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, J.-H. and Hou, Y.-X. (2012) Bi-Objective Emergency Facility Location Model and Algorithm Considering Multi-Level Gradual Coverage. Soft Science, 26, 127-131.</mixed-citation></ref><ref id="scirp.52339-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Hogan, K. and Re Velle, C. (1986) Concepts and Applications of Backup Coverage. Management Science, 32, 1434-1444.</mixed-citation></ref><ref id="scirp.52339-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Ma, Y.-F., Yang, C. and Zhang, M. (2006) Time-Satisfaction-Based Maximal Covering Location Problem. Chinese Journal of Management Science, 14, 45-51.</mixed-citation></ref><ref id="scirp.52339-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Narasimhan, S., Pirkul, H. and Schilling, D.A. (1992) Capacitated Emergency Facility Siting with Multiple Levels of Backup. Annals of Operations Research, 40, 323-337. http://dx.doi.org/10.1007/BF02060485</mixed-citation></ref><ref id="scirp.52339-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Lu, X.-L. and Hou, Y.-X. (2010) Allocation of Chinese National Emergency Material Depository Based on Facility Location Theory. Economic Geography, 30, 1091-1095.</mixed-citation></ref><ref id="scirp.52339-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Lu, X.-L., Hou, Y.-X. and Lin, W. (2011) Functional Optimization of Emergency Medical Service Centre of Small Town Based on Facility Location Theory: A Case Study of Teng Zhou City in Shan Dong Province. Economic Geography, 31, 1119-1123.</mixed-citation></ref><ref id="scirp.52339-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Lu, X.-L., Hou, Y.-X. and Lin, W. (2011) Allocation of Small-Town Emergency Material Depository Based on Location Theory: A Case Study of Fangshan District in Beijing. Geographical Research, 30, 1000-1008.</mixed-citation></ref><ref id="scirp.52339-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Chen, Z.-H. and You, J.-X. (2006) A Multi-Objective Decision Model of Emergency Rescue Facility Location for Large-Scale Emergency Incidents. Management Science, 19, 10-14.</mixed-citation></ref><ref id="scirp.52339-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Li, G.-Q., Zhang, J. and Liu, S.-J. (2011) Multi-Object Planning Model of Urban Emergency Logistics Facilities Location. Computer Engineering and Applications, 47, 238-241.</mixed-citation></ref><ref id="scirp.52339-ref23"><label>23</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Zhang</surname><given-names> Y.-Y. </given-names></name>,<etal>et al</etal>. (<year>2011</year>)<article-title>Research on Location and Distribution of Multi-Objective Emergency Resources</article-title><source> China Safety Science Journal</source><volume> 21</volume>,<fpage> 153</fpage>-<lpage>158</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.52339-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Murali, P., Ordó&amp;ntildeez, F. and Dessouky, M.M. (2012) Facility Location under Demand Uncertainty: Response to a Large-Scale Bio-Terror Attack. Socio-Economic Planning Sciences, 46, 78-87. 
http://dx.doi.org/10.1016/j.seps.2011.09.001</mixed-citation></ref><ref id="scirp.52339-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Daskin, M.S. and Coullard, C.R. (2002) An Inventory-Location Model: Formulation, Solution Algorithm and Computational Results. Annals of Operations Research, 110, 83-106. http://dx.doi.org/10.1023/A:1020763400324</mixed-citation></ref><ref id="scirp.52339-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Tang, K., Yang, C. and Yang, J. (2009) An Integrated Inventory-Location Model under Inflation. Chinese Journal of Management, 1, 24-30.</mixed-citation></ref><ref id="scirp.52339-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Tang, K. (2008) Study on Inventory-Location for Distribution Network Design. Huazhong University of Science and Technology, Wuhan.</mixed-citation></ref></ref-list></back></article>