On the number of distinct solutions generated by the simplex method - - PowerPoint PPT Presentation

on the number of distinct solutions generated by the
SMART_READER_LITE
LIVE PREVIEW

On the number of distinct solutions generated by the simplex method - - PowerPoint PPT Presentation

Retrospective Workshop Fields Institute Toronto, Ontario, Canada . . On the number of distinct solutions generated by the simplex method for LP . . . . . Tomonari Kitahara and Shinji Mizuno Tokyo Institute of Technology November


slide-1
SLIDE 1

Retrospective Workshop Fields Institute Toronto, Ontario, Canada . . . . . . .

On the number of distinct solutions generated by the simplex method for LP

Tomonari Kitahara and Shinji Mizuno

Tokyo Institute of Technology

November 25–29, 2013

slide-2
SLIDE 2

Contents

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-3
SLIDE 3

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-4
SLIDE 4

Introduction

The simplex method and our results

The simplex method for LP was originally developed by G. Dantzig in 1947. The simplex method needs an exponential number

(2n/2 − 1) of iterations for Klee-Minty’s LP

. We get new bounds for the number of distinct solutions generated by the simplex method with Dantzig’s rule and with any rule.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 4 / 48

slide-5
SLIDE 5

Introduction

A simple example of LP on a cube

min −(x1 + x2 + x3), subject to 0 ≤ x1, x2, x3 ≤ 1 The initial point is x0 = (0, 0, 0)T and the optimal solution is x∗ = (1, 1, 1)T.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 5 / 48

slide-6
SLIDE 6

Introduction

The shortest path

The length (number of edges) of the shortest path from x0 to x∗ is equal to the dimension m = 3.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 6 / 48

slide-7
SLIDE 7

Introduction

The longest path

The length of the shortest path is m = 3. The length of the longest path is 2m − 1 = 7.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 7 / 48

slide-8
SLIDE 8

Introduction

The simplex method on the cube

m ≤ the number of vertices (or BFS) generated by the simplex method ≤ 2m − 1.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 8 / 48

slide-9
SLIDE 9

Introduction

Klee-Minty’s LP

Klee and Minty showed that the simplex method generates an exponential number (2m − 1) of vertices for a special LP on a perturbed cube, where n = 2m.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 9 / 48

slide-10
SLIDE 10

Introduction

Klee-Minty’s LP (image)

x cT

1 2 3 4 5 6 7 8

Number of vertices (or BFS) generated is 2m − 1 = 7.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 10 / 48

slide-11
SLIDE 11

Introduction

The simplex method on the cube (2)

The length of any monotone path (objective value is strictly decreasing) between x0 and x∗ is at most m. Hence the number of iterations of the primal simplex method is at most m.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 11 / 48

slide-12
SLIDE 12

Introduction

Motivation of our research

Although if then

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 12 / 48

slide-13
SLIDE 13

Introduction

Motivation of our research

Although the simplex method for an LP on a perturbed cube may generates exponential number 2m − 1 of vertices, if then

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 12 / 48

slide-14
SLIDE 14

Introduction

Motivation of our research

Although the simplex method for an LP on a perturbed cube may generates exponential number 2m − 1 of vertices, if the feasible region is the cube without perturbation then

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 12 / 48

slide-15
SLIDE 15

Introduction

Motivation of our research

Although the simplex method for an LP on a perturbed cube may generates exponential number 2m − 1 of vertices, if the feasible region is the cube without perturbation then the number of vertices (BFS) generated is bounded by m.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 12 / 48

slide-16
SLIDE 16

Introduction

Motivation of our research

Although the simplex method for an LP on a perturbed cube may generates exponential number 2m − 1 of vertices, if the feasible region is the cube without perturbation then the number of vertices (BFS) generated is bounded by m. Question: Is it possible to get a good upper bound for general LP , which is small for LP on the cube (but must be big for Klee-Minty’s LP)?

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 12 / 48

slide-17
SLIDE 17

Introduction

Standard form of LP

The standard form of LP is min c1x1 + c2x2 + · · · + cnxn

subject to a11x1 + a12x2 + · · · + a1nxn = b1, . . .

am1x1 + am2x2 + · · · + amnxn = bm,

(x1, x2, · · · , xn)T ≥ 0.

  • r

min cTx,

subject to Ax = b, x ≥ 0

by using vectors and a matrix.

· n is the number of variables. · m is the number of equality constraints.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 13 / 48

slide-18
SLIDE 18

Introduction

Upper Bound 1

· The number of distinct BFSs (basic feasible solutions)

generated by the simplex method with Dantzig’s rule (the most negative pivoting rule) is bounded by nmγ

δ

log(mγ

δ),

where δ and γ are the minimum and the maximum values of all the positive elements of primal BFSs.

· When the primal problem is nondegenerate, it

becomes a bound for the number of iterations.

· The bound is almost tight in the sense that there

exists an LP instance for which the number of iterations is γ

δ where γ δ = 2m − 1.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 14 / 48

slide-19
SLIDE 19

Introduction

Ye’s result for MDP

· Our work is influenced by Ye (2010), in which he

shows that the simplex method is strongly polynomial for the Markov Decision Problem (MDP).

· We extend his analysis for MDP to general LPs. · Our results include his result for MDP

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 15 / 48

slide-20
SLIDE 20

Introduction

Upper Bound 2

· The number of distinct BFSs (basic feasible solutions)

generated by the primal simplex method with any pivoting rule is bounded by m

γγ′

D

δδ′

D

where δ′

D and γ′ D are the minimum and the maximum

absolute values of all the negative elements of dual BFSs for primal feasible bases.

· The bound is tight in the sense that there exists an LP

instance for which the number of iterations is m

γγ′

D

δδ′

D .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 16 / 48

slide-21
SLIDE 21

Introduction

The bounds are small for special LPs

We can show that the upper bounds are small for some special LPs, including network problems, LP with a totally unimodular matrix, MDP , and LP on the cube. When A is totally unimodular and b and c are integral, the upper bounds become nm∥b∥1 log(m∥b∥1) (Dantzig’s rule), m∥b∥1 ∥c∥1 (any pivoting rule).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 17 / 48

slide-22
SLIDE 22

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-23
SLIDE 23

LP and the simplex method

LP and its dual

The standard form of LP is min cTx,

subject to Ax = b, x ≥ 0.

The dual problem is max bTy,

subject to ATy + s = c, s ≥ 0.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 19 / 48

slide-24
SLIDE 24

LP and the simplex method

Assumptions and notations

Assume only that

rank(A) = m,

the primal problem has an optimal solution, an initial BFS x0 is available. Let x∗: an optimal BFS of the primal problem,

(y∗, s∗): an optimal solution of the dual problem,

z∗: the optimal value.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 20 / 48

slide-25
SLIDE 25

LP and the simplex method

δ and γ

· Let δ and γ be the minimum and the maximum values

  • f all the positive elements of BFSs, i. e., we have

δ ≤ ˆ

xj ≤ γ if ˆ xj 0 for any BFS ˆ x and any j ∈ {1, 2, . . . , n}.

· The values of δ and γ depend only on A and b

(feasible region), but not on c (objective function).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 21 / 48

slide-26
SLIDE 26

Figure of δ, γ, and BFSs (vertices)

1

N

x

2

N

x

δ δ γ γ

O

slide-27
SLIDE 27

LP and the simplex method

Pivoting

· At k-th iterate (BFS) xk of the simplex method, if all

the reduced costs are nonnegative (¯ cN ≥ 0), xk is

  • ptimal.

· Otherwise we conduct a pivot. We always choose a

nonbasic variable xj whose reduced cost ¯ cj is negative.

· Under Dantzig’s rule, we choose a nonbasic variable

xj whose reduced cost is minimum, i.e., j = arg min

j∈N ¯

cj.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 23 / 48

slide-28
SLIDE 28

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-29
SLIDE 29

Upper Bounds

Constant reduction rate of the gap (1)

· Let {xk} be a sequence of BFSs generated by the

simplex method.

· If there exists a λ > 0 such that

cTxk+1 − z∗ ≤ (1 − 1

λ)(cTxk − z∗)

whenever xk+1 xk, the number of distinct BFSs generated by the simplex method is bounded by

λ log cTx0 − z∗

cT¯ x − z∗ or simply λL where ¯ x is the second optimal solution, z∗ is the

  • ptimal value, and L is the size of LP

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 25 / 48

slide-30
SLIDE 30

Upper Bounds

Constant reduction rate of the gap (2)

· When we use Dantzig’s rule, we have

cTxk+1 − z∗ ≤ (1 − 1

λ)(cTxk − z∗)

for λ = m γ

δ whenever xk+1 xk. Hence the number of

distinct BFSs is bounded by mγ

δ

log cTx0 − z∗ cT¯ x − z∗ .

· Note that the upper bound depends on c (the

  • bjective function).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 26 / 48

slide-31
SLIDE 31

Upper Bounds

Reduction of a variable

· If xp is not optimal, there exists a (current basic)

variable xj such that xp

j > 0 and

xk

j ≤ mγcTxk − z∗

cTxp − z∗ for any (basic) feasible solution xk.

· Suppose that we use Dantzig’s rule. The value of

variable xj becomes 0 and stays 0 if we generate more than M = mγ

δ

log(mγ

δ)

distinct BFSs after p-th iterate.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 27 / 48

slide-32
SLIDE 32

Upper Bounds

Number of BFSs (Dantzig’s rule)

The number of distinct BFSs generated by the simplex method with Dantzig’s rule is bounded by nM = nmγ

δ

log(mγ

δ).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 28 / 48

slide-33
SLIDE 33

Upper Bounds

Constant reduction of the objective function (1)

· Let {xk} be a sequence of BFSs generated by the

simplex method.

· If there exists a constant K > 0 such that

cTxk − cTxk+1 ≥ K whenever xk+1 xk, the number of distinct BFSs generated by the simplex method is bounded by cTx0 − z∗ K

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 29 / 48

slide-34
SLIDE 34

Upper Bounds

Number of BFSs (any rule)

· For any pivoting rule, we have that

cTxk − cTxk+1 ≥ δδ′

D

whenever xk+1 xk. We also see that cTx0 − z∗ ≤ mγγ′

D.

(Here δ′

D and γ′ D are the minimum and the maximum absolute

values of all the negative elements of dual BFSs for primal feasible

  • bases. )

· Hence the number of distinct BFSs is bounded by

m

γγ′

D

δδ′

D

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 30 / 48

slide-35
SLIDE 35

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-36
SLIDE 36

Application to special LPs

0-1 vertices

Assume that all the elements of BFSs (such as an assignment problem) is 0 or 1, that is, δ = γ = 1. Then the number of distinct BFSs generated by the simplex method with Dantzig’s rule is bounded by nm log m.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 32 / 48

slide-37
SLIDE 37

Application to special LPs

Shortest path problem

min ∑

(i,j)∈E cijxij,

s.t. ∑

j:(i,j)∈E xij − ∑ j:(j,i)∈E xij =

{ |V| − 1 for source −1

  • ther nodes

x ≥ 0. Since the shortest path problem is nondegenerate, n = |E|, m = |V|, γ ≤ |V| − 1, and δ ≥ 1, the number

  • f iterations of the simplex method with Dantzig’s rule is

bounded by

|E||V|2 log |V|2.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 33 / 48

slide-38
SLIDE 38

Application to special LPs

Minimum cost flow problem

min ∑

(i,j)∈E cijxij,

s.t. ∑

j:(i,j)∈E xij − ∑ j:(j,i)∈E xij = bi for i ∈ V

0 ≤ x ≤ u. Assume that the capacities uij and the supplies bi are

  • integral. Since n = |E|, m = |V|,

γ ≤ U = max(i,j)∈E uij, and δ ≥ 1, the number of

distinct solutions generated by the simplex method with Dantzig’s rule is bounded by

|E|2U log |E|U.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 34 / 48

slide-39
SLIDE 39

Application to special LPs

Minimum cost flow problem (continue)

It is known that if we perturb the minimum cost flow problem by adding −(|V| − 1)/|V| to bi for the root node and 1/|V| for the other nodes, then the problem is nondegenerate and we can solve the original problem by solving this perturbed problem. Hence the number

  • f iterations of the simplex method with Dantzig’s rule

for solving a minimum cost flow problem is bounded by

|E|2|V|U log |E||V|U.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 35 / 48

slide-40
SLIDE 40

Application to special LPs

LP with a totally unimodular matrix

When a constraint matrix A is totally unimodular and constant vectors b and c are integral, the number of distinct solutions generated by the simplex method is at most nm∥b∥1 log(m∥b∥1) for Dantzig’s rule and m∥b∥1 ∥c∥1 for any pivoting rule.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 36 / 48

slide-41
SLIDE 41

Application to special LPs

MDP

· The Markov Decision Problem (MDP):

min cT

1 x1 + cT 2 x2,

subject to (I − θP1)x1 + (I − θP2)x2 = e,

x1, x2 ≥ 0.

· (Y. Ye) The simplex method with Dantzig’s rule for

solving MDP finds an optimal solution in at most n m2 1 − θ log m2 1 − θ iterations, where n = 2m.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 37 / 48

slide-42
SLIDE 42

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-43
SLIDE 43

Lowr Bounds

Outline of this section

Klee-Minty’s LP requires an exponential number of iterations (2m − 1) by Dantzig’s simplex method. Therefore the ratio γ/δ for Klee-Minty’s LP must be

  • big. In fact, it is about 100m.

We construct a variant of Klee-Minty’s LP , for which the number of iterations (Dantzig’s rule) is equal to

γ δ where γ δ = 2m − 1.

We also present a simple LP on a cube for which the number of iterations (any rule) is equal to m

γγ′

D

δδ′

D .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 39 / 48

slide-44
SLIDE 44

Lowr Bounds

A variant of Klee-Minty’s LP

· The variant of Klee-Minty’s LP is represented as

max ∑m

i=1 xi,

  • s. t.

2 ∑k−1

i=1 xi + xk ≤ 2k − 1 (k = 1, 2, · · · , m),

x ≥ 0. (Only b has exponential size).

· The standard form is

max ∑m

i=1 xi,

  • s. t.

2 ∑k−1

i=1 xi + xk + yk = 2k − 1 (k = 1, 2, · · · , m),

x ≥ 0, y ≥ 0.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 40 / 48

slide-45
SLIDE 45

Lowr Bounds

Properties of the variant

The variant has the following properties for each i ∈ {1, 2, · · · , m} at any BFS, exactly one

  • f xi and yi is a basic variable,

the problem has 2m BFSs, each component of any BFS is an integer, the problem is nondegenerate, The optimal BFS is x∗ = (0, 0, · · · , 0, 2m − 1)T, y∗ = (1, 22 − 1, · · · , 2m−1 − 1, 0)T, and the optimal value is (2m − 1).

δ = 1 and γ = (2m − 1).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 41 / 48

slide-46
SLIDE 46

Lowr Bounds

Properties of the variant (2)

When we generate a sequence of BFSs by Dantzig’s simplex method for the variant from an initial BFS where x = 0, any reduced cost of every dictionary is 1 or −1, which implies δ′

D = 1 and γ′ D = 1,

the number of iterations is (2m − 1), which is equal to γ

δ and γγ′

D

δδ′

D ,

the objective function value increases by 1 at each iteration, so there exists exactly one BFS whose

  • bjective function value is k for each integer

k ∈ [0, 2m − 1].

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 42 / 48

slide-47
SLIDE 47

Vertices generated by Dantzig’s simplex method (m = 3)

1

x

2

x

3

x

u

1

u

2

u

3

u

4

u

5

u

6

u

7

u

slide-48
SLIDE 48

Lowr Bounds

An LP on a cube

· The standard form of LP on a cube

max ∑m

i=1 xi,

  • s. t.

xk + yk = 1, xk ≥ 0, yk ≥ 0 (k = 1, 2, · · · , m).

· We see that δ = γ = 1 and δ′

D = γ′ D = 1.

· When the initial solution is x = 0, the number of

iterations is exactly m, which is equal to m

γγ′

D

δδ′

D

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 44 / 48

slide-49
SLIDE 49

New Section

. . .

1

Introduction . . .

2

LP and the simplex method . . .

3

Upper Bounds . . .

4

Application to special LPs . . .

5

Lowr Bounds . . .

6

Conclusion

slide-50
SLIDE 50

Conclusion

Problems, Pivoting, and Assumptions

· Problems:

The standard form of LP and its dual.

· Pivoting:

Dantzig’s rule Any rule which chooses a nonbasic variable whose reduced cost is negative.

· Assumptions: rank(A) = m.

The primal problem has an optimal solution. An initial BFS is available.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 46 / 48

slide-51
SLIDE 51

Results

.

..

1

The number of BFSs is bounded by nmγ

δ

log(mγ

δ) or m γγ′

D

δδ′

D

.

.

..

.

..

.

..

slide-52
SLIDE 52

Results

.

..

1

The number of BFSs is bounded by nmγ

δ

log(mγ

δ) or m γγ′

D

δδ′

D

.

.

..

2

Totally unimodular case: nm∥b∥1 log(m∥b∥1) or m∥b∥1∥c∥1. .

..

.

..

slide-53
SLIDE 53

Results

.

..

1

The number of BFSs is bounded by nmγ

δ

log(mγ

δ) or m γγ′

D

δδ′

D

.

.

..

2

Totally unimodular case: nm∥b∥1 log(m∥b∥1) or m∥b∥1∥c∥1. .

..

3

There exists an LP (a variant of Klee-Minty’s LP) for which the number of iterations is γ

δ and γγ′

D

δδ′

D

where γ

δ = 2m − 1 and γ′

D

δ′

D = 1.

.

..

slide-54
SLIDE 54

Results

.

..

1

The number of BFSs is bounded by nmγ

δ

log(mγ

δ) or m γγ′

D

δδ′

D

.

.

..

2

Totally unimodular case: nm∥b∥1 log(m∥b∥1) or m∥b∥1∥c∥1. .

..

3

There exists an LP (a variant of Klee-Minty’s LP) for which the number of iterations is γ

δ and γγ′

D

δδ′

D

where γ

δ = 2m − 1 and γ′

D

δ′

D = 1.

.

..

4

There exists an LP (on a cube) for which the number of iterations is m γ

δ and m γγ′

D

δδ′

D .

slide-55
SLIDE 55

Conclusion

Announcement

ICCOPT V 2016 TOKYO

(The 5th International Conference on Continuous Optimization of the Mathematical Optimization Society)

Place: Roppongi, Tokyo, JAPAN Dates: Aug. 6 (Sat) - 11 (Thu), 2016 Venue: National Graduate Institute for Policy Studies (GRIPS)

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 25–29, 2013 48 / 48