-1
你好,我正在這個整數編程。如何解決這個整數編程?
我現在的工作,直到有:
Decision Variable:
Yi = 1 if the ambulances located in region i,
Yi = 0 otherwises
Objective: maximize the no. of resident that can be reached within 5
mins, Z =
Y1(43+45)+Y2(52+58)+Y3(45+58)+.......+Y8(52+45+58+58)
43 + 45,無。如果救護車位於Y1,則可在5分鐘內到達Y1和Y5的居民。
Constraints: Y1+Y2+Y3+...+Y8 = 2 (only two locations)
然後,我不知道應該怎樣加入約束,目標似乎是錯誤的...
可能有人幫助我嗎?謝謝!
你的問題對我來說很不清楚。 – moffeltje
你打算只使用Excel還是一般編程? –
@moffeltje請問爲什麼有這樣的說法? –