Docsity

Uncapacitated Warehouse Location Problem: Lagrangean Relaxation - Prof. Rex Kincaid, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Kincaid Csci 658—Lagrangean Relaxation Homework April 1
Due: April 13
1. Consider the following mixed 0-1 integer linear program. It is called the uncapacitated warehouse
location problem (see Parker and Rardin Ch. 5). The fidenote the fixed cost of building warehouse i.
If yi= 1 then we build the warehouse and incur the fixed cost fi. The cij denote the transportation
costs from each warehouse ito each supply point j. The xij give the amount shipped from warehouse
ito supply point j. Finally, the djdenote the demand for warehouse items at each supply point i. The
formulation is
(P) min
n
X
i=1
m
X
j=1
cijxij +
n
X
i=1
fiyi
subject to
n
X
i=1
xij ≥djfor all j= 1,...,m (1)
m
X
j=1
xij ≤(
m
X
j=1
dj)yifor all i= 1,...,n (2)
dj≥xij ≥0 for all i= 1,...,n;j= 1, . . . , m (3)
yi∈ {0,1}for all i= 1,...,n (4)
There are several Lagrangean relaxations available for this problem. First, let’s consider relaxing constraint
set (1). Then, after a bit of rearranging the Lagrangean problem is
(Pu) min
m
X
j=1
ujdj+
n
X
i=1
(fiyi+
m
X
j=1
(cij −uj)xij)
subject to
(2),(3),and (4)
Puis separable in iyielding
v(Pu) =
m
X
j=1
djuj+
n
X
i=1
vfiyi+
m
X
j=1
(cij −uj)xij
subject to
m
X
j=1
xij ≤(
m
X
j=1
dj)yi
dj≥xij ≥0 for all j= 1,...,m
yi∈ {0,1}
Note that the optimal solution to each of the isubproblems is easy to solve. If yi= 0 then xij = 0 for all j.
And, if yi= 1 then xij =djif (cij −uj)<0 and xij = 0 otherwise.
pf2

Partial preview of the text

Download Uncapacitated Warehouse Location Problem: Lagrangean Relaxation - Prof. Rex Kincaid and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Kincaid Csci 658—Lagrangean Relaxation Homework April 1 Due: April 13

  1. Consider the following mixed 0-1 integer linear program. It is called the uncapacitated warehouse location problem (see Parker and Rardin Ch. 5). The fi denote the fixed cost of building warehouse i. If yi = 1 then we build the warehouse and incur the fixed cost fi. The cij denote the transportation costs from each warehouse i to each supply point j. The xij give the amount shipped from warehouse i to supply point j. Finally, the dj denote the demand for warehouse items at each supply point i. The formulation is

(P) min

∑^ n

i=

∑^ m

j=

cij xij +

∑^ n

i=

fiyi

subject to ∑n

i=

xij ≥ dj for all j = 1,... , m (1)

∑^ m

j=

xij ≤ (

∑^ m

j=

dj )yi for all i = 1,... , n (2)

dj ≥ xij ≥ 0 for all i = 1,... , n; j = 1,... , m (3) yi ∈ { 0 , 1 } for all i = 1,... , n (4)

There are several Lagrangean relaxations available for this problem. First, let’s consider relaxing constraint set (1). Then, after a bit of rearranging the Lagrangean problem is

(Pu) min

∑^ m

j=

uj dj +

∑^ n

i=

(fiyi +

∑^ m

j=

(cij − uj )xij )

subject to (2), (3), and (4)

Pu is separable in i yielding

v(Pu) =

∑^ m

j=

dj uj +

∑^ n

i=

v fiyi +

∑^ m

j=

(cij − uj )xij

subject to ∑^ m

j=

xij ≤ (

∑^ m

j=

dj )yi

dj ≥ xij ≥ 0 for all j = 1,... , m yi ∈ { 0 , 1 }

Note that the optimal solution to each of the i subproblems is easy to solve. If yi = 0 then xij = 0 for all j. And, if yi = 1 then xij = dj if (cij − uj ) < 0 and xij = 0 otherwise.

Consider the following small example of an uncapacitated warehouse location problem. (P) min8x 11 + 7x 12 + 5x 21 + 4x 22 + x 31 + 3x 32 + 36y 1 + 12y 2 + 36y 3 subject to x 11 + x 21 + x 31 ≥ 6 x 12 + x 22 + x 32 ≥ 6 x 11 + x 12 ≤ 12 y 1 x 21 + x 22 ≤ 12 y 2 x 31 + x 32 ≤ 12 y 3 6 ≥ xij ≥ 0 for all i = 1, 2 , 3; j = 1, 2 yi ∈ { 0 , 1 } for all i = 1, 2 , 3 a. Solve the LP relaxation of P. b. Solve Pu with u 1 = 4 and u 2 = 6 by using the shortcuts on the bottom of page one of this document. c. Compare the bounds generated in (a) and (b). Does Pu have the integrality property? Why or why not? d. Formulate (in general terms) a second Lagrangean problem Pu^2 from P by relaxing all type (2) constraints. Please rearrange terms so that it is in its simplest form. e. Solve this new Lagrangean problem for the above example when u 1 = u 2 = u 3 = 3. f. Explain how, given uj for all j, it is easy to solve Pu^2 (in general terms). g. Does Pu^2 have the integrality property? Why or why not? This will require some thought.

  1. Perform 3 iterations of the subgradient optimization procedure for the set covering example given below. Let u be initialized as u= (1, 1 , 1) and start with π = 2. Employ all of the applicable speedups discussed in class.

min 2x 1 + 3x 2 + 4x 3 + 5x 4 s.t. x 1 + x 3 ≥ 1 x 1 + x 2 + x 4 ≥ 1 x 2 + x 3 + x 4 ≥ 1 x 1 , x 2 , x 3 , x 4 ∈ { 0 , 1 }

  1. The generalized assignment problem is

(P) min

i

j

cij xij

subject to ∑

i

xij ≥ 1 for all j (1) ∑

j

aj xij ≤ si for all i (2)

xij ∈ { 0 , 1 } for all i, j (3)

where aj is the positive integer size of object j and si is the positive integer capacity of location i.

a. Form the Lagrangean problem that results when constraints of type (2) are relaxed. Be sure to simplify the formulation so that it is in its clearest form. b. Show that this Pu problem has the integrality property.

NOTE: PLEASE DO EITHER 1(g) OR 3(b) BUT NOT BOTH.