The bilevel lot-sizing problem Tams Kis 1 joint work with Andrs - - PowerPoint PPT Presentation

the bilevel lot sizing problem
SMART_READER_LITE
LIVE PREVIEW

The bilevel lot-sizing problem Tams Kis 1 joint work with Andrs - - PowerPoint PPT Presentation

The bilevel lot-sizing problem Tams Kis 1 joint work with Andrs Kovcs 1 Computing and Automation Research Institute Hungarian Academy of Sciences and Department of Operations Research Etvs Lornd University, Budapest Aussois,


slide-1
SLIDE 1

The bilevel lot-sizing problem

Tamás Kis1 joint work with András Kovács

1Computing and Automation Research Institute

Hungarian Academy of Sciences

and

Department of Operations Research Eötvös Loránd University, Budapest

Aussois, January 9–13, 2012

slide-2
SLIDE 2

Outline

Uncapacitated lot-sizing with backlogging The bilevel lot-sizing problem MIP formulations Computational evaluation Conclusions

slide-3
SLIDE 3

Uncapacitated lot-sizing with backlogging (ULSB)

min n

  • t=1

(ptxt + ftyt + htst + gtrt) | (2) − (6)

  • (1)

where xt + (st−1 − rt−1) = dt + (st − rt), t = 1, . . . , n (2) xt ≤ Myt, t = 1, . . . , n (3) s0 = sn = r0 = rn = 0, (4) xt, st, rt, ≥ 0, t = 1, . . . , n (5) yt ∈ {0, 1}, t = 1, . . . , n (6) where

◮ The pt, ft, ht, gt are the cost parameters, the dt are the demands ◮ The xt, yt, st, rt are the variables

slide-4
SLIDE 4

Some related work

◮ W. I. Zangwill, A backlogging model and a multi-echelon model

  • f a dynamic economic lot size production system – A network
  • approach. Management Science, 15(9):506–527, 1969.

◮ A. Federgruen, M. Tzur, The dynamic lot-sizing model with

backlogging: A simple O(n log n) algorithm and minimal forecast horizon procedure. Naval Res. Logitics 40, 459–478, 1993.

◮ Y. Pochet and L. A. Wolsey. Lot-size models with backlogging:

Strong reformulations and cutting planes. Mathematical Programming, 40:317–335, 1988.

◮ S. Kucukyavuz and Y. Pochet. Uncapacitated lot-sizing with

backlogging: the convex hull. Mathematical Programming, Ser. A, 118:151–175, 2009.

slide-5
SLIDE 5

Network representation of ULSB

1 2 3 4 5 * s1 s2 s3 s4 r1 r2 r3 r4 x1 x2 x3 x4 x5 d1 d2 d3 d4 d5 x5

slide-6
SLIDE 6

Extreme point solutions for ULSB

1 2 3 4 5 * s1 s2 s3 s4 r1 r2 r3 r4 x1 x2 x3 x4 x5 d1 d2 d3 d4 d5 x5

slide-7
SLIDE 7

Bilevel Optimization

◮ Two decision makers, Leader and Follower, who make decisions

sequentially, in this order

◮ General form: optimistic case

min

x,y

f(x, y) (7) subject to L(x, y) (8) y ∈ arg min

y′ (g(x, y′) | F(x, y′))

(9)

◮ General form: pessimistic case

min

x

max

y

f(x, y) (10) subject to L(x, y) (11) y ∈ arg min

y′ (g(x, y′) | F(x, y′)).

(12)

slide-8
SLIDE 8

Bilevel lot-sizing

Rules of the game

◮ Both decision makers solve an uncapacitated lot-sizing problem

with backlogging

◮ The Leader has external demand (d1 t ) ◮ The Leader’s production (x1 t ) equals the supply received from the

Follower

◮ The Follower’s demand (δt) is set by the Leader ◮ Both the Leader and the Follower may backlog some of its

demand

◮ The Follower pays the backlogging cost to the Leader as penalty

for late delivery

◮ In those periods when the Follower backlogs, there is no delivery

to the Leader (r 2

t x1 t = 0) ◮ If the Follower does not backlog in a period, then the total

delivery up to period t equals the total amount requested by the Leader up to period t

slide-9
SLIDE 9

Example

Optimal solution of a sample problem

t 1 2 3 4 5 6 7 8 9 10 d1

t

71 84 43 21 4 81 59 44 32 46 δt 82 73 68 42.72 39.77 57.51 55.46 21.93 44.61 x1

t

82 73 68 82.49 57.51 55.46 21.93 44.61 s1

t

11 25 4 1.49 11.46 1.39 r 1

t

x2

t

82 141 140 122 s2

t

68 57.51 66.54 44.61 r 2

t

42.72

f 1 = 100 p1 = 1 h1 = 6 g1 = 18 f 2 = 492 p2 = 1 h2 = 2 g2 = 6

slide-10
SLIDE 10

Formulation

Minimize

n

  • t=1
  • p1

t x1 t + f 1 t y1 t + h1 t s1 t + g1 t r 1 t − g2 t r 2 t

  • (13)

subject to x1

t + s1 t−1 − r 1 t−1 = d1 t + s1 t − r 1 t ,

t = 1, . . . , n (14) r 2

t = t τ=1(δτ − x1 τ ),

t = 1, . . . , n (15) x1

t ≤ My1 t ,

t = 1, . . . , n (16) x1

t ≤ M(1 − β2 t ),

t = 1, . . . , n − 1 (17) s1

0 = s1 n = r 1 0 = r 1 n = 0,

(18) x1

t , r 1 t , s1 t , δt ≥ 0,

t = 1, . . . , n (19) y1

t ∈ {0, 1},

t = 1, . . . , n (20)

slide-11
SLIDE 11

Formulation (cont.d)

         y2 x2 s2 r 2 β2          ∈ arg min n

  • t=1
  • p2

t x2 t + f 2 t y2 t + h2 t s2 t + g2 t r 2 t

  • | (22) − (28)
  • (21)

where x2

t + (s2 t−1 − r 2 t−1) = δt + (s2 t − r 2 t ),

t = 1, . . . , n (22) x2

t ≤ My2 t ,

t = 1, . . . , n (23) s2

0 = s2 n = r 2 0 = r 2 n = 0,

(24) x2

t , s2 t , r 2 t ≥ 0,

t = 1, . . . , n (25) y2

t ∈ {0, 1},

t = 1, . . . , n (26) r 2

t ≤ Mβ2 t ,

t = 1, . . . , n − 1 (27) β2

t ∈ {0, 1}

t = 1, . . . , n − 1. (28)

slide-12
SLIDE 12

Extreme Point Solutions

Definition

A solution to the bilevel lot-sizing problem is an extreme point solution if the Follower’s part is an extreme point solution of ULSB with demands δt. Assumption g2

t + h2 t > 0 for all t = 1, . . . , n − 1.

This assumption excludes that a solution with r 2

t s2 t > 0 is optimal for

the Follower.

Lemma

Under the assumption, if the bilevel optimization problem admits an

  • ptimal solution, then it admits an extreme point optimal solution.

New constraints to enforce extreme point solutions: st−1 ≤ M(1 − y2

t − β2 t ),

t = 2, . . . , n (29)

slide-13
SLIDE 13

Formulation MIP-1

Definition

Let OP2 be the set of those (¯ x2, ¯ y2, ¯ s2,¯ r 2, ¯ δ) vectors such that n

t=1 ¯

δt = n

t=1 d1 t , and (¯

x2, ¯ y2, ¯ s2,¯ r 2) is an extreme point optimal solution for the ULSB of the Follower w.r.t. demand ¯ δ. Let Z ULSB(δ) denote the optimum value of ULSB for fixed δ > 0

Question

Does OP2 admit a compact (extended) mixed integer formulation?

Answer

YES! Idea: use an extended formulation for ULSB with δ in the

  • bjective function only.
slide-14
SLIDE 14

Formulation MIP-1 (cont.d)

Lemma

(Pochet and Wolsey (1988)) The optimum value of ULSB equals the

  • ptimum value of the following mathematical program

LSP(δ) = min

n

  • k=1

k−1

  • ℓ=1

akℓvkℓ + pkδkzkk +

n

  • ℓ=k+1

bkℓwkℓ

  • +

n

  • t=1

ftztt subject to a shortest path formulation in the network below, where akℓ = pkδℓ,k−1 + k−1

t=ℓ gtδℓ,t for 1 ≤ ℓ < k ≤ n, and

bkℓ = pkδk+1,ℓ + ℓ−1

t=k htδt+1,ℓ for 1 ≤ k < ℓ ≤ n, and δk,ℓ = ℓ t=k δt

for 1 ≤ k ≤ ℓ ≤ n.

1 1' 1'' 2 2' 2'' 3 3' 3'' 4 v1

1

z1

1

w1

1

v2

2

z2

2

w2

2

v3

3

z3

3

w3

3

1 1 v2

1

v3

1

v3

2

w1

2

w2

3

w1

3

slide-15
SLIDE 15

Formulation MIP-1 (cont.d)

The dual of the shortest path formulation is DSP(δ) = max φ2

1

(30) subject to φ2

t − φ2 k′ ≤ ak,t,

k = t, . . . , n φ2

t′ − φ2 t′′ ≤ p2 t δt + f 2 t ,

φ2

t′′ − φ2 k+1 ≤ bt,k,

k = t, . . . , n    for all t = 1, . . . , n. (31) By the strong duality of linear programming Z ULSB(δ) = DSP(δ) for any fixed δ ≥ 0.

Lemma

(ˆ x2, ˆ y2, ˆ s2,ˆ r 2, ˆ δ) ∈ OP2 if and only if n

t=1 δt = n t=1 d1 t , and there

exists ˆ φ2 such that (ˆ x2, ˆ y2, ˆ s2,ˆ r 2, ˆ β, ˆ δ, ˆ φ2) satisfies the constraints (22)-(28), (29), (31), and the equation

n

  • t=1
  • p2

t x2 t + f 2 t y2 t + h2 t s2 t + g2 t r 2 t

  • = φ2

1.

(32)

slide-16
SLIDE 16

Formulation MIP-1 (cont.d)

The complete formulation: MIP-1 : min       

n

  • t=1
  • p1

t x1 t + f 1 t y1 t + h1 t s1 t + g1 t r 1 t − g2 t r 2 t

  • (14)-(16),

(18)-(20), (22)-(28),(29), (31),(32)        .

Lemma

There is a one-to-one correspondence between the extreme point feasible solutions of the bilevel lot-sizing problem and that of MIP-1: (i) Any feasible solution of MIP-1 can be projected onto a feasible solution of the bilevel lot-sizing problem of the same value. (ii) Conversely, any feasible extreme point solution of the bilevel lot-sizing problem can be extended to a feasible solution of MIP-1 of the same value.

slide-17
SLIDE 17

Formulation MIP-2

◮ Again, based on a shortest path formulation

αijk =

  • 1 the requests δi, . . . , δk are produced in j ∈ {i, . . . , k}

0 otherwise

◮ If αijk = 1, then s2 i−1 = s2 k = 0, and r 2 i−1 = r 2 k = 0. ◮ Cost associated with αijk:

cijk = aj,i + fj + pjδj + bj,k

i-1 i+1 αi, i +

1 , k

k αi, i, k αi, k

, k

i

slide-18
SLIDE 18

Formulation MIP-2 (cont.d)

MIP-2 : min

n

  • t=1
  • p1

t x1 t + f 1 t y1 t + h1 t s1 t + g1 t r 1 t − g2 t r 2 t

  • subject to the constraints of the Leader, and

r 2

t ≤ M(1 − β2 t ),

t = 1, . . . , n − 1 β2

t =

  • i≤t<j≤k

αi,j,k, t = 1, . . . , n − 1

  • i≤t≤k
  • i≤j≤k

αi,j,k = 1, t = 1, . . . , n aj,i + fj + pjδj + bj,k + φi−1 ≥ φk, 1 ≤ i ≤ j ≤ k ≤ n aj,i + fj + pjδj + bj,k + φi−1 ≤ φk − M′(1 − αi,j,k), 1 ≤ i ≤ j ≤ k ≤ n φ0 = 0, αi,j,k ∈ {0, 1}, 1 ≤ i ≤ j ≤ k ≤ n.

slide-19
SLIDE 19

Strengthening the formulations

◮ Bounds on variables

Zt = minu≥t+1(pu + u−1

v=t gv) is the minimum cost incurred by

backlogging a unit of production from period t to a later period. St = min1≤u<t(pu + t−1

v=u hv) is the minimum cost of stocking a

unit production from an earlier period to t.

Lemma

The backlogged quantities rt and the stock levels st in any extreme point optimal solution of ULSB satisfy (Zt − pt)rt ≤ ft, for t = 1, . . . , n − 1 (RB) (St − pt)st−1 ≤ ft, for t = 1, . . . , n − 1 (SB)

◮ Cuts

Lemma

Let W = {t ∈ {1, . . . , n − 1} | gt + pt+1 ≥ pt}. The inequalities φt − φ(t+1)′ ≤ ftyt + ptδt + (gt + pt+1 − pt)(rt + st−1), t ∈ W (C) are valid for OPext.

slide-20
SLIDE 20

Computational experiments

◮ For each n ∈ {10, 15, 20, 25, 30, 40, 50}, 100 random instances

with parameters f 1

t ← U[100, 200]

p1

t ← U[1, 5]

h1

t ← U[2, 20]

g1

t ← U[4, 40]

f 2

t ← U[250, 1000]

p2

t ← U[2, 10]

h2

t ← U[1, 10]

g2

t ← U[2, 20]

d1

t ← U[0, 100] ◮ Implementation in FICO XPRESS Mosel environment ◮ Tests performed on a workstation with Intel Xeon CPU (2.5 GHz),

Linux operating system

slide-21
SLIDE 21

Results

  • pt

LB gap (%) UB gap (%) time (sec) max avg max avg max avg MIP-1 n = 10 100 0.00 0.00 0.00 0.00 0.79 0.27 n = 15 100 0.00 0.00 0.00 0.00 1.63 0.59 n = 20 100 0.00 0.00 0.00 0.00 12.46 1.38 n = 25 100 0.00 0.00 0.00 0.00 37.67 4.38 n = 30 100 0.00 0.00 0.00 0.00 224.76 14.57 n = 40 95 17.68 0.57 17.29 0.47 1200.00 215.61 n = 50 58 15.36 2.44 15.17 1.75 1200.00 675.78 MIP-1B n = 10 100 0.00 0.00 0.00 0.00 0.82 0.28 n = 15 100 0.00 0.00 0.00 0.00 1.68 0.60 n = 20 100 0.00 0.00 0.00 0.00 13.00 1.41 n = 25 100 0.00 0.00 0.00 0.00 28.72 3.96 n = 30 100 0.00 0.00 0.00 0.00 147.66 13.40 n = 40 94 18.80 0.52 17.29 0.46 1200.00 226.91 n = 50 69 14.24 1.96 14.45 1.73 1200.00 617.99 MIP-1BC n = 40 94 17.29 0.64 17.29 0.45 1200.00 225.91 n = 50 61 14.81 2.35 14.03 1.76 1200.00 673.99 MIP-2 n = 10 100 0.00 0.00 0.00 0.00 35.65 17.93 n = 15 18 29.52 5.42 932.61 175.21 1200.00 1152.12 n = 20 70.73 43.06 2974.59 1515.28 1200.00 1200.00 MIP-2B n = 10 100 0.00 0.00 0.00 0.00 46.83 10.57 n = 15 57 12.25 1.03 85.12 14.58 1200.00 927.95 n = 20 59.32 17.79 192.80 108.28 1200.00 1200.00

slide-22
SLIDE 22

Conclusions

◮ The method of this talk may be applied to other bilevel

  • ptimization problems, where the Follower’s problem admits a

natural mixed integer primal formulation as well as an extended formulation with the parameters in the objective function.

◮ Extension to the polynomially solvable constant capacity case

requires a new extended formulation (the extended formulation of Van Vyve for CC-LSB is not of the desired form)

◮ A detailed polyhedral study of the convex hull of the feasible

solutions of the extended formulation of OP2 is ongoing work