codeblock

顯示具有 Integer Linear Programming 標籤的文章。 顯示所有文章
顯示具有 Integer Linear Programming 標籤的文章。 顯示所有文章

2016年3月15日 星期二

Integer Linear Programing - Using Binary Vaviables

Some tips about ILP transformaion using binary variables.

- Logic
  - Conjunction, A and B, A∩B => a+b = 2
  - Disjunction, A or B, A∪B => a+b ≥ 1
  - if A then B, A→B, ~A∪B => a ≤ b
  - A if only if B, A↔B => a = b
  - A = ~B => a+b = 1
  - C = A∩B => c ≤ a, c ≤ b, c ≥ a+b-1
  - C = A∪B => c ≥ a, c ≥ b, c ≤ a+b

Integer Linear Programming - Duality

Main Resource: Applied Mathematical Programming by Bradley, Hax, and Magnanti (Addison-Wesley, 1977), provided by MIT

A canonical form of duality of an Integer Linear Programming problem: