where N is the number of facilities fii the amount/cost of material flow from drop-off point of facility i to pick-up point of facility j,xid,yid coordinates of drop-off point of facility i, and xji,yji are the coordinates of pick-up point for facility j.