on the number of solutions generated by the simplex method … · 2017-10-25 · introduction the...

58
Workshop 1 on Large Scale Conic Optimization IMS (NUS) . . . . On the Number of Solutions Generated by the Simplex Method for LP Tomonari Kitahara and Shinji Mizuno Tokyo Institute of Technology November 19–23, 2012

Upload: others

Post on 11-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Workshop 1 on Large ScaleConic Optimization

IMS (NUS)

.

.. ..

.

.

On the Number of SolutionsGenerated by

the Simplex Method for LP

Tomonari Kitahara and Shinji Mizuno

Tokyo Institute of Technology

November 19–23, 2012

Page 2: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Contents

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 3: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 4: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

The simplex method and our results

The simplex method for LP was originallydeveloped by G. Dantzig in 1947.

We do not have any good bound for the number ofiterations (the bound I knew is only the number ofbases n!

m!(n−m)!≤ 2n when nondegenerate).

The simplex method needs an exponential number(2n/2 − 1) of iterations for Klee-Minty’s LP.

We obtain new bounds for the number of solutionsgenerated by the simplex method with Dantzig’srule and with any rule.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 4 / 51

Page 5: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

A simple example of LP on a cube

min −(x1 + x2 + x3), subject to 0 ≤ x1, x2, x3 ≤ 1

The initial point is x 0 = (0, 0, 0)T and the optimalsolution is x ∗ = (1, 1, 1)T .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 5 / 51

Page 6: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

The shortest path

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

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 6 / 51

Page 7: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 19–23, 2012 7 / 51

Page 8: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

The simplex method

m ≤ the number of vertices generatedby the simplex method

≤ 2m − 1.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 8 / 51

Page 9: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Klee-Minty’s LP

Klee and Minty presents a special LP on a perturbedcube for which the simplex method generates anexponential number (2m − 1) of vertices.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 9 / 51

Page 10: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Klee-Minty’s LP (image)

xcT 12

345 6

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

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 10 / 51

Page 11: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

The simplex method on the cube (2)

The length of any monotone path (objective value isstrictly decreasing) between x 0 and x ∗ is at most m .Hence the number of solutions generated by thesimplex method is at most m .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 11 / 51

Page 12: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Motivation of our researchAlthough

the simplex method on a perturbed cube maygenerates exponential number 2m − 1 of vertices,

if

the feasible region is the cube without perturbation

then

the number of vertices (BFS) generated isbounded by m .

Question: Is it possible to get a good upper bound forgeneral 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 19–23, 2012 12 / 51

Page 13: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Motivation of our researchAlthough

the simplex method on a perturbed cube maygenerates exponential number 2m − 1 of vertices,

if

the feasible region is the cube without perturbation

then

the number of vertices (BFS) generated isbounded by m .

Question: Is it possible to get a good upper bound forgeneral 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 19–23, 2012 12 / 51

Page 14: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Motivation of our researchAlthough

the simplex method on a perturbed cube maygenerates exponential number 2m − 1 of vertices,

if

the feasible region is the cube without perturbation

then

the number of vertices (BFS) generated isbounded by m .

Question: Is it possible to get a good upper bound forgeneral 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 19–23, 2012 12 / 51

Page 15: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Motivation of our researchAlthough

the simplex method on a perturbed cube maygenerates exponential number 2m − 1 of vertices,

if

the feasible region is the cube without perturbation

then

the number of vertices (BFS) generated isbounded by m .

Question: Is it possible to get a good upper bound forgeneral 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 19–23, 2012 12 / 51

Page 16: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Motivation of our researchAlthough

the simplex method on a perturbed cube maygenerates exponential number 2m − 1 of vertices,

if

the feasible region is the cube without perturbation

then

the number of vertices (BFS) generated isbounded by m .

Question: Is it possible to get a good upper bound forgeneral 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 19–23, 2012 12 / 51

Page 17: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Standard form of LPThe standard form of LP is

min c1x1 + c2x2 + · · ·+ cnxn

subject to a11x1 + a12x2 + · · ·+ a1nxn = b1,...am1x1 + am2x2 + · · ·+ amn xn = bm ,(x1, x2, · · · , xn)T ≥ 0.

ormin 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 19–23, 2012 13 / 51

Page 18: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Dantzig’s rule· 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 maximumvalues 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 iterationsis γδ

where γδ= 2m − 1.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 14 / 51

Page 19: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Ye’s result for MDP

· Our work is influenced by Ye (2010), in which heshows that the simplex method is strongly polynomialfor 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 19–23, 2012 15 / 51

Page 20: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

Any pivoting rule· The number of distinct BFSs (basic feasible solutions)generated by the primal simplex method withany pivoting rule is bounded by

mγγ′

D

δδ′D

where δ′D

and γ′D

are the minimum and the maximumabsolute values of all the negative elements of dualBFSs 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 19–23, 2012 16 / 51

Page 21: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Introduction

The bounds are small for special LPs

We can show that the upper bounds are small forsome special LPs, including network problems, LPwith a totally unimodular matrix, MDP, and LP on a0-1 polytope.

When A is totally unimodular and b and c areintegral, 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 19–23, 2012 17 / 51

Page 22: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 23: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 b Ty ,subject to A Ty + s = c , s ≥ 0.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 19 / 51

Page 24: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

LP and the simplex method

Assumptions and notations

Assume that

rank(A ) = m ,

the primal problem has an optimal solution,

an initial BFS x 0 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 19–23, 2012 20 / 51

Page 25: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

LP and the simplex method

δ and γ

· Let δ and γ be the minimum and the maximum valuesof all the positive elements of BFSs, i. e., we have

δ ≤ x̂ j ≤ γ if x̂ j , 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 19–23, 2012 21 / 51

Page 26: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Figure of δ, γ, and BFSs (vertices)

1Nx

2Nx

δδ γ

γ

O

Page 27: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

LP and the simplex method

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

the reduced costs (c̄N = cN − A TN(A −1

B)TcB ) are

nonnegative, then x k is optimal:

min cTB

A −1B

b + (cN − A TN(A −1

B)TcB)TxN,

subject to xB = A −1B

b − A −1B

ANxN,

xB ≥ 0, xN ≥ 0

· Otherwise we conduct a pivot. We always choose anonbasic variable x j whose reduced cost c̄ j is negative.· Under Dantzig’s rule, we choose a nonbasic variable

x j whose reduced cost is minimum, i.e.,

j = arg minj∈N

c̄ j .KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 23 / 51

Page 28: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 29: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Constant reduction rate of the gap (1)· Let {x k } be a sequence of BFSs generated by the

simplex method.· If there exists a λ > 0 such that

cTx k+1 − z∗ ≤ (1 − 1

λ)(cTx k − z∗)

whenever x k+1 , x k , the number of distinct BFSsgenerated by the simplex method is bounded by

λ logcTx 0 − z∗

cT x̄ − z∗or simply λL

where x̄ is the second optimal solution, z∗ is theoptimal value, and L is the size of LP.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 25 / 51

Page 30: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Constant reduction rate of the gap (2)

·When we use Dantzig’s rule, we have

cTx k+1 − z∗ ≤ (1 − 1

λ)(cTx k − z∗)

for λ = m γ

δwhenever x k+1 , x k . Hence the number of

distinct BFSs generated is bounded by

δlog

cTx 0 − z∗

cT x̄ − z∗.

· Note that the upper bound depends on c (theobjective function).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 26 / 51

Page 31: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Reduction of a variable· If x p is not optimal, there exists a (current basic)

variable x j such that x p

j> 0 and

x kj≤ mγ

cTx k − z∗

cTx p − z∗

for any (basic) feasible solution x k .· Suppose that we use Dantzig’s rule. The value of

variable x j becomes 0 and stays 0 if we generate morethan

M = mγ

δlog (m

γ

δ)

distinct BFSs after p -th iterate.KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 27 / 51

Page 32: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Number of BFSs (Dantzig’s rule)

The number of distinct BFSs generated by the simplexmethod with Dantzig’s rule is bounded by

nM = nmγ

δlog (m

γ

δ).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 28 / 51

Page 33: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Constant reduction of the objectivefunction (1)· Let {x k } be a sequence of BFSs generated by the

simplex method.· If there exists a constant K > 0 such that

cTx k − cTx k+1 ≥ K

whenever x k+1 , x k , the number of distinct BFSsgenerated by the simplex method is bounded by

cTx 0 − z∗

K.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 29 / 51

Page 34: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline of analysis (upper bounds)

Number of BFSs (any rule)· For any pivoting rule, we have that

cTx k − cTx k+1 ≥ δδ′D

whenever x k+1 , x k . We also see that

cTx 0 − 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 generated isbounded by

mγγ′

D

δδ′D

.KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 30 / 51

Page 35: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 36: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Extension to other LPs

The Dual Problem

max b Ty ,subject to A Ty + s = c , s ≥ 0.

.Theorem..

.. ..

.

.

When we apply the (dual) simplex method with themost positive pivoting rule for the dual problem above,the number of distinct BFSs is bounded by

nmγD

δDlog (m

γD

δD),

where δD and γD are the minimum and maximumvalues of all the positive elements of dual BFSs.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 32 / 51

Page 37: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Extension to other LPs

LP with Bounded Variables

min cTx ,subject to Ax = b , 0 ≤ x ≤ u,

.Theorem..

.. ..

.

.

When we use the simplex method with Dantzig’s rulefor the LP above, the number of distinct BFSs isbounded by

n(n − m)γ

δlog ((n − m)

γ

δ).

In this case, γ ≤ max i u i .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 33 / 51

Page 38: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 39: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

0-1 vertices

Suppose that all the elements of BFSs (such as anassignment problem) are 0 or 1, that is, δ = γ = 1.Then the number of distinct BFSs generated by thesimplex method with Dantzig’s rule is bounded by

nm log m .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 35 / 51

Page 40: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

Shortest path problem

min∑

(i ,j)∈E c ij x ij ,

s.t.∑

j :(i ,j)∈E x ij −∑

j :(j ,i)∈E x ij =

{|V | − 1 for source−1 other nodes

x ≥ 0.

Since the shortest path problem is nondegenerate,n = |E|, m = |V |, γ ≤ |V | − 1, and δ ≥ 1, the numberof iterations of the simplex method with Dantzig’s rule isbounded by

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

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 36 / 51

Page 41: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

Minimum cost flow problem

min∑

(i ,j)∈E c ij x ij ,s.t.

∑j :(i ,j)∈E x ij −

∑j :(j ,i)∈E x ij = b i for i ∈ V

0 ≤ x ≤ u.

Assume that the capacities u ij and the supplies b i areintegral. Since n = |E|, m = |V |,γ ≤ U = max (i ,j)∈E u ij , and δ ≥ 1, the number ofdistinct solutions generated by the simplex method withDantzig’s rule is bounded by

(|E| − |V |)2U log ((|E| − |V |)U).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 37 / 51

Page 42: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

Minimum cost flow problem (continue)

It is known that if we perturb the minimum cost flowproblem by adding −(|V | − 1)/|V | to b i for the rootnode and 1/|V | for the other nodes, then the problem isnondegenerate and we can solve the original problemby solving this perturbed problem. Hence the numberof iterations of the simplex method with Dantzig’s rulefor solving a minimum cost flow problem is bounded by

(|E| − |V |)2|V |U log ((|E| − |V |)|V |U).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 38 / 51

Page 43: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

LP with a totally unimodular matrix

When a constraint matrix A is totally unimodular andconstant vectors b and c are integral, the number ofdistinct solutions generated by the simplex method is atmost

nm∥b∥1 log (m∥b∥1)for Dantzig’s rule and

m∥b∥1 ∥c1∥

for any pivoting rule.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 39 / 51

Page 44: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Application to special LPs

MDP

· The Markov Decision Problem (MDP):

min cT1

x1 + cT2

x2,

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

· (Y. Ye) The simplex method with Dantzig’s rule forsolving MDP finds an optimal solution in at most

nm2

1 − θlog

m2

1 − θiterations, where n = 2m .

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 40 / 51

Page 45: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 46: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

How tight are the upper bounds?

Outline of this section

Klee-Minty’s LP requires an exponential number ofiterations (2m − 1) by Dantzig’s simplex method.Therefore the ratio γ/δ for Klee-Minty’s LP must bebig. In fact, it is about 100m .

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

δwhere γ

δ= 2m − 1.

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

mγγ′

D

δδ′D

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 42 / 51

Page 47: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

How tight are the upper bounds?

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

max∑m

i=1x i ,

s. t. 2∑k−1

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

x ≥ 0.

(Only b has exponential size).· The standard form is

max∑m

i=1x i ,

s. t. 2∑k−1

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

x ≥ 0, y ≥ 0.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 43 / 51

Page 48: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

How tight are the upper bounds?

Properties of the variant

The variant has the following properties

for each i ∈ {1, 2, · · · ,m} at any BFS, exactly oneof x i and y i 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 optimalvalue is (2m − 1).δ = 1 and γ = (2m − 1).

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 44 / 51

Page 49: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

How tight are the upper bounds?

Properties of the variant (2)When we generate a sequence of BFSs by Dantzig’ssimplex method for the variant from an initial BFSwhere 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 eachiteration, so there exists exactly one BFS whoseobjective function value is k for each integerk ∈ [0, 2m − 1].

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 45 / 51

Page 50: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Vertices generated by Dantzig’s simplexmethod (m = 3)

1x2x

3x

0u1u 2u 3u4u

5u6u

7u

Page 51: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

How tight are the upper bounds?

An LP on a cube· The standard form of LP on a cube

max∑m

i=1x i ,

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 ofiterations is exactly m , which is equal to

mγγ′

D

δδ′D

.

KITAHARA & MIZUNO (TIT) Number of Solutions by Simplex Method November 19–23, 2012 47 / 51

Page 52: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Outline

.. .1 Introduction

.. .2 LP and the simplex method

.. .3 Outline of analysis (upper bounds)

.. .4 Extension to other LPs

.. .5 Application to special LPs

.. .6 How tight are the upper bounds?

.. .7 Conclusion

Page 53: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 whosereduced 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 19–23, 2012 49 / 51

Page 54: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 the cube) for which the

number of iterations is m γ

δand m

γγ′D

δδ′D

.

Page 55: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 the cube) for which the

number of iterations is m γ

δand m

γγ′D

δδ′D

.

Page 56: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 the cube) for which the

number of iterations is m γ

δand m

γγ′D

δδ′D

.

Page 57: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

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 the cube) for which the

number of iterations is m γ

δand m

γγ′D

δδ′D

.

Page 58: On the Number of Solutions Generated by the Simplex Method … · 2017-10-25 · Introduction The simplex method and our results The simplex method for LP was originally developed

Thank You for Your Attention!