運籌學-整數規劃IP演算法

weixin_42515907發表於2020-10-28

1、整數規劃問題定義

整數規劃是指線上性規劃中對某個變數有整數限制要求的問題。
包括pure integer linear programming、mixed integer linear programming、0-1linear programming等。

2、變數定義限制條件的使用

使用binary variables來表示邏輯性條件限制。
a. Stockco can invest in at most two investments
b. Invest in exactly two investments
c. Mutually exclusive investments (exactly one alternative
must be selected) sum=1
d.Contingency: (Investment 2 could be selected only if
investment 1 is selected.) 有一定先後順序 x2<=x1通過大小比較來判斷
e.If Stockco invests in investment 2, then they must also invest in investment 1.

相關文章