$Title Warehouse-Location-Problem $Ontext Vorlesung: Service Operations Management Abschnitt: 2.2 Planung von Standorten und Netzwerken Problemstellung: Planung von Standorten und deren Einzugsbereichen zur Betreuung von Kunden - Model - Author: Christoph Schwindt Date: 21/03/2020 $Offtext $eolcom// $include wlp_data.gms variables kosten Gesamtkosten (Zielfunktion) x(i,j) gleich 1 wenn Kunde i Einheit j zugeordnet wird y(j) gleich 1 wenn Einheit j errichtet wird ; positive variable x ; binary variables y ; equations def_kosten Definition der Gesamtkosten kopplung(i,j) Zuordnung von Einheit j zu Kunde i nur wenn j eingerichet wird bedienung(i) Kunde i muss bedient werden ; def_kosten.. kosten =e= sum((i,j), c(i,j)*x(i,j)) + sum(j, cfix(j)*y(j)) ; kopplung(i,j).. x(i,j) =l= y(j) ; bedienung(i).. sum(j, x(i,j)) =e= 1 ; model wlp / all / ; options mip = cplex optcr = 0 reslim = 60 ; solve wlp minimzing kosten using mip ; display kosten.l, y.l, x.l ;