Locating multiple warehouses at center of mass (using R)

In a previous post I showed how a single warehouse location problem can be approached by locating the warehouse near its center of mass. In this post we want to locate multiple warehouses at their center of mass. We will use the functions already defined in previous posts. In http://www.supplychaindataanalytics.com/single-warehouse-problem-locating-warehouse-at-center-of-mass-using-r/ I provided a function for locating a […]