-
Hi all, I hope this email finds you well. I recently came across your post with respect to Demostrating network-based optimal facility location modeling. I am a PhD student at University College London and I want to use this code as a preprocessing step for a deep learning pipeline I am building. Naturally, this is not my area of expertise. I was wondering if the same code could be used with lat-lon locations and a city map instead of the "shape" data. I have a list of clients, their demand and their (lat, lon) coordinates, and I would like to use spaghetti to find the optimal number and location of possible factories to be deployed in the area. Thank you in advance for your time and consideration. Looking forward to your response. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for starting this discussion @gelazari.
Hope this helps! If it (or other discussion threads) do help, please mark as "answered." |
Beta Was this translation helpful? Give feedback.
Thanks for starting this discussion @gelazari.
spaghetti
(see also this comment). The optimal facility location modeling is simply a tutorial/demo for integrating the output ofspaghetti
as input for optimization problems utilizing other Python libraries/wrappers. That being said, you are free to use any code in thespaghetti
docs as you like (we are under a BSD 3-Clause license), but please citespaghetti
appropriately. In the (near?) future, the optimization code will actually find a home in another PySAL project (spopt
), so check there from time to time.