<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linear programming (PuLP) for location allocation in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364173#M3419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you get the same error if you run the script from outside of PyScripter such as from the command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deelesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 17:00:09 GMT</pubDate>
    <dc:creator>DeeleshMandloi</dc:creator>
    <dc:date>2018-05-03T17:00:09Z</dc:date>
    <item>
      <title>Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364159#M3405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the solver "Minimize Facilities" &amp;nbsp;in the location allocation toolbox, but there is a constraint in my problem the solver doesn't allow me to add it. The constraint is for some nodes, the total demand connected to that specific node is n-1, where n is the total number of nodes or lines connected to that node from the neighbor. This is an extra constraint but I couldn't find any way to include it in my problem.&lt;/P&gt;&lt;P&gt;I found a python package called PuLP used for linear programming optimization. Has anyone used it before? Any other toolboxes that can be used for this problem with an option to add mathematic constraints?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 03:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364159#M3405</guid>
      <dc:creator>LanoYado</dc:creator>
      <dc:date>2016-11-30T03:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364160#M3406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Network Analyse with external LP solvers using PuLP. An example to do an allocation by first computing the travel cost matrix in ArcMap is here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=c5ae481f25604d1bb050d9bd1d6e3c06" title="http://www.arcgis.com/home/item.html?id=c5ae481f25604d1bb050d9bd1d6e3c06"&gt;http://www.arcgis.com/home/item.html?id=c5ae481f25604d1bb050d9bd1d6e3c06&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jay Sandhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Dec 2016 20:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364160#M3406</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2016-12-10T20:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364161#M3407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3612"&gt;Deelesh Mandloi&lt;/A&gt;,&amp;nbsp;&lt;A href="https://community.esri.com/people/jsandhu-esristaff"&gt;jsandhu-esristaff&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have used that linked resource (Allocation Tools for ArcGIS) previously (with ArcMap 10.1).&amp;nbsp; I'm trying to use it again(with 10.5), but keep getting an error:&amp;nbsp;[Errno 13] Permission denied: '7476-pulp.mps'.&amp;nbsp; The error is thrown at the point where the LP model is solved (line 479, prob.solve()).&amp;nbsp; There was a similar issue posted in the comments on the page you link a year ago with no response.&amp;nbsp; Do you have any suggestions on how to address this issue?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 19:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364161#M3407</guid>
      <dc:creator>MathewSchmidtlein</dc:creator>
      <dc:date>2017-11-07T19:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364162#M3408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was encountering the same issue so I emailed Deelesh. He has found that this error typically comes from using background processing to run the tool. In my own tests, I found that even if you are using foreground processing, if you have the 64bit background processing extension for ArcMap installed, it will still fail. I was able to get the tool to work by uninstalling the 64bit background processing and running the tool in the foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the issue is caused by the old version of pulp installed with the tool. Newer versiond of the module do support both 32 and 64bit processing, so if you update the pulp module that comes with the tool, the issue with the background processing should go away (though I have not tried that yet.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364162#M3408</guid>
      <dc:creator>RachelApplebaum</dc:creator>
      <dc:date>2017-11-09T23:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364163#M3409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Rachel.&amp;nbsp; I had been running this in the foreground, but I do believe I have the 64bit background processing installed.&amp;nbsp; But it ran without a hitch once I installed the updated version of PuLP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 00:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364163#M3409</guid>
      <dc:creator>MathewSchmidtlein</dc:creator>
      <dc:date>2017-11-11T00:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364164#M3410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;Thanks for the helpful information.&amp;nbsp; I have been trying to install PULP to run with ArcGIS 10.3 and for the life of me cannot figure out how to get it installed.&amp;nbsp; I have tried installing PIP which appears to be needed to install PULP, and can't even get PIP installed.&amp;nbsp; I am no developer, and it seems all the install instructions are written for developers.&amp;nbsp; My goal is to run optimization routines in Python that may or may not involve the use of Network Analyst.&amp;nbsp; Can you help me out since it sounds like you are past the point of installing the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;natalie&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2018 22:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364164#M3410</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-01-17T22:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364165#M3411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you are looking to install the latest version of pulp on your machine running ArcMap 10.3, you can do the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Download the get-pip.py file from&amp;nbsp;&lt;A class="link-titled" href="https://bootstrap.pypa.io/get-pip.py" title="https://bootstrap.pypa.io/get-pip.py"&gt;https://bootstrap.pypa.io/get-pip.py&lt;/A&gt;&amp;nbsp;and save it locally such as in c:\data folder. The details are at&amp;nbsp;&lt;A class="link-titled" href="https://pip.pypa.io/en/stable/installing/" title="https://pip.pypa.io/en/stable/installing/"&gt;Installation — pip 9.0.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Open a windows command prompt&amp;nbsp; and type the following command&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;C:\Python27\ArcGIS10.3\python.exe c:\data\get-pip.py&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;3. Once pip is installed, install pulp using the following command&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;C:\Python27\ArcGIS10.3\Scripts\pip.exe install pulp&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;4. You should now be able to use pulp and arcpy in your python scripts. For example, you can run these commands after starting a python interactive session such as in&amp;nbsp; IDLE&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;import pulp&lt;/P&gt;&lt;P&gt;print arcpy.GetInstallInfo()&lt;/P&gt;&lt;P&gt;pulp.pulpTestAll()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Deelesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 00:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364165#M3411</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-01-18T00:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364166#M3412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/dmandloi-esristaff"&gt;dmandloi-esristaff&lt;/A&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your succinct directions.&amp;nbsp; I was able to quickly get everything installed, as compared to the hours I spent before going between the PULP and PIP sites.&amp;nbsp; When I run the test you recommend, I get this error shown below in two screen shots,&amp;nbsp; the bottom one showing the final message.&amp;nbsp; Can you please provide any insights on this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;natalie&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/395079_error picture 1.jpg" style="width: 620px; height: 490px;" /&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/395080_error picture 2.jpg" style="width: 620px; height: 540px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 00:59:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364166#M3412</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-01-27T00:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364167#M3413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The RuntimeError you are encountering is because arcpy is not licensed for use on your machine. This happens when you don't have a license for ArcMap on your machine. If you don't need to use arcpy or cannot install a license for ArcGIS,&amp;nbsp;you can test your pulp installation by running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="border: 0px;"&gt;import pulp&lt;/P&gt;&lt;P style="border: 0px;"&gt;pulp.pulpTestAll()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deelesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jan 2018 05:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364167#M3413</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-01-28T05:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364168#M3414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/people/dmandloi-esristaff"&gt;dmandloi-esristaff&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You are right - I have to connect to a GIS license through the Cisco AnyConnect program since the GIS licenses exist on a&amp;nbsp;university server. I did find that the arcpy module runs when I am connected to the license.&amp;nbsp; Thank you for that info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I run the PULP test, I get the error below.&amp;nbsp; I sure hope you will have a quick answer to this problem as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;natalie&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/395193_error picture 1.jpg" style="width: 620px; height: 519px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364168#M3414</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-01-29T21:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364169#M3415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I run the tests for pulp 1.6.8 on my windows machine that has 64 bit python 2.7.14, I don't get any such failures. So I am not sure what would be causing this error on your end. Can you try running the pulp tests from the windows command prompt instead of using an IDE like PyScripter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32&lt;BR /&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; import pulp&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; pulp.pulpTestAll()&lt;BR /&gt;Testing zero subtraction&lt;BR /&gt; Testing inconsistant lp solution&lt;BR /&gt; Testing continuous LP solution&lt;BR /&gt; Testing maximize continuous LP solution&lt;BR /&gt; Testing unbounded continuous LP solution&lt;BR /&gt; Testing Long Names&lt;BR /&gt; Testing repeated Names&lt;BR /&gt; Testing zero constraint&lt;BR /&gt; Testing zero objective&lt;BR /&gt; Testing LpVariable (not LpAffineExpression) objective&lt;BR /&gt; Testing Long lines in LP&lt;BR /&gt; Testing LpAffineExpression divide&lt;BR /&gt; Testing MIP solution&lt;BR /&gt; Testing MIP solution with floats in objective&lt;BR /&gt; Testing MIP relaxation&lt;BR /&gt; Testing feasibility problem (no objective)&lt;BR /&gt; Testing an infeasible problem&lt;BR /&gt; Testing an integer infeasible problem&lt;BR /&gt; Testing column based modelling&lt;BR /&gt; Testing dual variables and slacks reporting&lt;BR /&gt; Testing fractional constraints&lt;BR /&gt; Testing elastic constraints (no change)&lt;BR /&gt; Testing elastic constraints (freebound)&lt;BR /&gt; Testing elastic constraints (penalty unchanged)&lt;BR /&gt; Testing elastic constraints (penalty unbounded)&lt;BR /&gt;* Solver pulp.solvers.PULP_CBC_CMD passed.&lt;BR /&gt;Solver pulp.solvers.CPLEX_DLL unavailable&lt;BR /&gt;Solver pulp.solvers.CPLEX_CMD unavailable&lt;BR /&gt;Solver pulp.solvers.CPLEX_PY unavailable&lt;BR /&gt;Solver pulp.solvers.COIN_CMD unavailable&lt;BR /&gt;Solver pulp.solvers.COINMP_DLL unavailable&lt;BR /&gt;Solver pulp.solvers.GLPK_CMD unavailable&lt;BR /&gt;Solver pulp.solvers.XPRESS unavailable&lt;BR /&gt;Solver pulp.solvers.GUROBI unavailable&lt;BR /&gt;Solver pulp.solvers.GUROBI_CMD unavailable&lt;BR /&gt;Solver pulp.solvers.PYGLPK unavailable&lt;BR /&gt;Solver pulp.solvers.YAPOSIB unavailable&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 21:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364169#M3415</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-01-29T21:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364170#M3416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I ran it as you suggested, I get the same results as you. Does that mean it is installed and ready to go? Im guessing the reason the PyScripter one failed is that the solvers are unavailable, as we saw in the Python run.&amp;nbsp; It fails in the Solver section of the code.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 22:05:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364170#M3416</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-01-29T22:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364171#M3417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes if pulpTestAll is working fine you should be good. You can also try to run some of the &lt;A href="https://github.com/coin-or/pulp/tree/master/examples"&gt;examples&lt;/A&gt;&amp;nbsp;such as &lt;A href="https://raw.githubusercontent.com/coin-or/pulp/master/examples/AmericanSteelProblem.py"&gt;AmericanSteelProblem.py&lt;/A&gt;&amp;nbsp;and see if things are working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;$ python AmericanSteelProblem.py&lt;BR /&gt;('Status:', 'Optimal')&lt;BR /&gt;("Route_('Chicago',_'Gary')", '=', 4000.0)&lt;BR /&gt;("Route_('Chicago',_'Tempe')", '=', 2000.0)&lt;BR /&gt;("Route_('Cincinatti',_'Albany')", '=', 2000.0)&lt;BR /&gt;("Route_('Cincinatti',_'Houston')", '=', 3000.0)&lt;BR /&gt;("Route_('Kansas_City',_'Houston')", '=', 4000.0)&lt;BR /&gt;("Route_('Kansas_City',_'Tempe')", '=', 2000.0)&lt;BR /&gt;("Route_('Pittsburgh',_'Chicago')", '=', 3000.0)&lt;BR /&gt;("Route_('Pittsburgh',_'Cincinatti')", '=', 2000.0)&lt;BR /&gt;("Route_('Pittsburgh',_'Gary')", '=', 2000.0)&lt;BR /&gt;("Route_('Pittsburgh',_'Kansas_City')", '=', 3000.0)&lt;BR /&gt;("Route_('Youngstown',_'Albany')", '=', 1000.0)&lt;BR /&gt;("Route_('Youngstown',_'Chicago')", '=', 3000.0)&lt;BR /&gt;("Route_('Youngstown',_'Cincinatti')", '=', 3000.0)&lt;BR /&gt;("Route_('Youngstown',_'Kansas_City')", '=', 3000.0)&lt;BR /&gt;('Total Cost of Transportation = ', 15005.0)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 16:28:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364171#M3417</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-02-01T16:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364172#M3418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deelesh,&lt;/P&gt;&lt;P&gt;Thank you again for helping me to get PuLP installed.&amp;nbsp; I copied the American Steel problem into PyScripter, and when I run it I get the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Traceback (most recent call last):&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;File "&amp;lt;module2&amp;gt;", line 101, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;File "C:\Python27\ArcGIS10.3\lib\site-packages\pulp\pulp.py", line 1513, in writeLP&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;f = open(filename, "w")&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IOError: [Errno 13] Permission denied: 'AmericanSteel.lp'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something simple I need to do to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Natalie&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 23:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364172#M3418</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-05-02T23:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364173#M3419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Natalie,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Do you get the same error if you run the script from outside of PyScripter such as from the command line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Deelesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 17:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364173#M3419</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-05-03T17:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364174#M3420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran it in Python 2.7 and it worked fine.&amp;nbsp; Thanks for pointing that out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Natalie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 17:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364174#M3420</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-05-03T17:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364175#M3421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use PyScripter as my Python IDE. So I am not sure what could be causing the issue. One thing you&amp;nbsp; might want to check is if you are using the correct Python interpreter from within Pyscripter. i.e. PyScripter might be somehow loading the 64 bit version of Python (in case you have both 32 bit and 64 bit versions of Python interpreters installed on your machine).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 20:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364175#M3421</guid>
      <dc:creator>DeeleshMandloi</dc:creator>
      <dc:date>2018-05-04T20:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linear programming (PuLP) for location allocation</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364176#M3422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deelesh,&lt;/P&gt;&lt;P&gt;I was able to solve the problem. It had to do with where I was saving the python script.&amp;nbsp; Thanks for all your help and being so responsive. I greatly appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 20:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/linear-programming-pulp-for-location-allocation/m-p/364176#M3422</guid>
      <dc:creator>nataliemartinkus1</dc:creator>
      <dc:date>2018-05-04T20:28:25Z</dc:date>
    </item>
  </channel>
</rss>

