Docsity

Integer Programming: Branch-and-Bound Technique in Operations Research, Assignments of Systems Engineering

Partial preview of the text

Download Integer Programming: Branch-and-Bound Technique in Operations Research and more Assignments Systems Engineering in PDF only on Docsity!

ISE 330

Introduction to Operations Research:

Deterministic Models

www-scf.usc.edu/~ise330/

November 28, 2007

Lecture 26

Integer Programming

(Ch. 11)

Integer Programming^ ‡^

Linear Programming makes the assumption that all variables can take on non-integervalues ‡ However, in certain cases, the variables make sense only when they are restricted to integer

values

„^ Assignment of people, machines, and vehicles to activities

‡^ Pure Integer Programming

  • All variables are restricted to integer values

‡^ Mixed Integer Programming

  • Only some variables are restricted to integer values

‡^ Binary Variable

  • Variable that is restricted to values 0 and 1

‡^ Binary Integer Programming

  • All variables are binary variables

„^ Use binary variables to answer yes/no questions

Integer Programming Example^ ‡^

CA Manufacturing Co. is considering building a new factory in either LA or SF (or both) ‡ Also considering building at most one new warehouse ‡ Location of the new warehouse is restricted to a city where a new factory is built ‡ Total capital available is $10 million ‡ The objective is to find the feasible combination of alternatives that maximizes thetotal net present value

$2 million

$4 million X^4

Build warehouse in SF? 4

$5 million

$6 million X^3

Build warehouse inLA? 3

Variable x^1 X^2

Net PresentValue $9 million^ $5 million

$3 million

Build factory in SF? 2

$6 million

Build factory in LA? 1

Capital Required

Yes/No Question

Decision No.

Integer Programming Example

‡^ All variables are binary:

„^ xj

= 1 if decision j is yes „^ xj

= 0 if decision j is no

‡^ Z = total net present value

$2 million

$4 million X^4

Build warehouse in SF? 4

$5 million

$6 million X^3

Build warehouse inLA? 3

Variable x^1 X^2

Net PresentValue $9 million^ $5 million

$3 million

Build factory in SF? 2

$6 million

Build factory in LA? 1

Capital Required

Yes/No Question

Decision No.

Max Z = 9x

+ 5x 1

+ 6x 2

+ 4x 3

4

s.t.^

6x^ + 3x^1

+ 5x 2

+ 2x 3

≤^104

x+ x^3

≤^14

-x^1

+ x^3

≤^0

-x^2

+ x^4

≤^0 x ≤^1 j x ≥^0 j

xis integer for j = 1, 2, 3, 4j^

x≤^3

x^1

x≤^4

x^2

Integer Programming Example Max Z = 9x

  • 5x 1

  • 6x 2

  • 4x 3 4

s.t.^

6x+ 3x^1

  • 5x 2

  • 2x 3

≤^104

x+ x^3

≤^14

-x^1

  • x^3

≤^0

-x^2

  • x≤^4

xis binary for j = 1, 2, 3, 4j^ Bounding ‡^ To get a bound for sub-problemssolve a relaxation of the problem ‡^ For IP problem, delete integerconstraint and treat as LP problem^ „

Determine bound of Z (16.5) bysolving entire problem

All

x^1^01

Max Z = 5x

  • 6x 2

  • 4x 3 4

s.t.^

3x+ 5x^2

  • 2x 3

≤^104

x+ x^3

≤^14

x^3

≤^0

-x^2

  • x≤^4

xis binary for j = 2, 3, 4j^

x= 0^1

Max Z = 9 + 5x

  • 6x 2

  • 4x 3 4

s.t.^

3x+ 5x^2

  • 2x 3

≤^44

x+ x^3

≤^14

x^3

≤^1

-x^2

  • x≤^4

xis binary for j = 2, 3, 4j^

x= 1^1

(^9) (0,1,0,1) (^16) (1,4/5,0,4/5) (^16) (5/6,1,0,1)

Integer Programming Example Max Z = 9x

  • 5x 1

  • 6x 2

  • 4x 3 4

s.t.^

6x+ 3x^1

  • 5x 2

  • 2x 3

≤^104

x+ x^3

≤^14

-x^1

  • x^3

≤^0

-x^2

  • x≤^4

xis binary for j = 1, 2, 3, 4j^ Fathoming ‡^ Dismiss from consideration if^ „

Solution all integer – set Z to beincumbent Z* „ Z of relaxation is < Z* „ No feasible solution in relaxation

All

x^1^01

Max Z = 5x

  • 6x 2

  • 4x 3 4

s.t.^

3x+ 5x^2

  • 2x 3

≤^104

x+ x^3

≤^14

x^3

≤^0

-x^2

  • x≤^4

xis binary for j = 2, 3, 4j^

x= 0^1

Max Z = 9 + 5x

  • 6x 2

  • 4x 3 4

s.t.^

3x+ 5x^2

  • 2x 3

≤^44

x+ x^3

≤^14

x^3

≤^1

-x^2

  • x≤^4

xis binary for j = 2, 3, 4j^

x= 1^1

(^9) (0,1,0,1) (^16) (1,4/5,0,4/5) (^16) (5/6,1,0,1)

Integer Programming Example^ All

x^1^01

x= 0^3

x= 1^3

(^9) (0,1,0,1) (^16) (1,4/5,0,4/5) (^16) (5/6,1,0,1)

x= 1^2

Max Z = 14 + 6x

  • 4x 3 4

s.t.^

5x+ 2x^3

≤^14

x+ x^3

≤^14

x^3

≤^1 x≤^14

xis binary for j = 3, 4j^

x^2^013 (1,0,4/5,0)^116 (1,1,0,1/2)

Max Z = 14 + 4x x 3 016 (1,1,0,1/2) 1 No FeasibleSolution

4 s.t.^

2x≤^4

(^1) x≤^14

xis binary^4

Max Z = 20 + 4x

4 s.t.^

2x≤^4 -4 x≤^04 x≤^14

xis binary^4

Integer Programming Example^ All

x^1^01

x= 0^4

x= 1^4

(^9) (0,1,0,1) (^16) (1,4/5,0,4/5) (^16) (5/6,1,0,1)

x= 0^3

x^2^013 (1,0,4/5,0)^116 (1,1,0,1/2)

x^3 016 (1,1,0,1/2) 1 No FeasibleSolution

Max Z = 14 + 4x

4 s.t.^

2x≤^4 (^1) x≤^14

xis binary^4

x^4^00

Max Z = 14x= 0^4

Max Z = 18x= 1^4

(^14) (1,1,0,0) No FeasibleSolution