how intractable is the ‘‘invisible hand’’: polynomial time algorithms for market equilibria

124
How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for Market Equilibria Vijay V. Vazirani Georgia Tech

Upload: ulema

Post on 19-Jan-2016

26 views

Category:

Documents


0 download

DESCRIPTION

How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for Market Equilibria. Vijay V. Vazirani Georgia Tech. Market Equilibrium. $. $$$$$$$$$. ¢. wine. bread. cheese. milk. $$$$. People want to maximize happiness Find prices s.t. market clears. Walras, 1874. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

How Intractable is the ‘‘Invisible Hand’’:Polynomial Time Algorithms for

Market Equilibria

Vijay V. Vazirani

Georgia Tech

Page 2: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Market Equilibrium

cheese milk

winebread

¢¢

$$$$$$$$$$$$$$$$$$

$$

$$$$$$$$

•People want to maximize happiness

•Find prices s.t. market clears

Page 3: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Walras, 1874

• Pioneered mathematical theory of

general economic equilibrium

Page 4: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem, 1954

• Celebrated theorem in Mathematical Economics

• Shows existence of equilibrium prices

using Kakutani’s fixed point theorem

Page 5: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem is highly non-constructive

• How do markets find equilibria?

Page 6: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem is highly non-constructive

• How do markets find equilibria?

– “Invisible hand” of the market: Adam Smith

Wealth of Nations, 1776

Page 7: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem is highly non-constructive

• How do markets find equilibria?

– “Invisible hand” of the market: Adam Smith

Wealth of Nations, 1776

– Scarf, 1973: approximate fixed point algorithms

Page 8: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem is highly non-constructive

• How do markets find equilibria?

– “Invisible hand” of the market: Adam Smith

Wealth of Nations, 1776

– Scarf, 1973: approximate fixed point algorithms

– Use techniques from modern theory of algorithms

Page 9: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Arrow-Debreu Theorem is highly non-constructive

• How do markets find equilibria?

– “Invisible hand” of the market: Adam Smith

Wealth of Nations, 1776

– Scarf, 1973: approximate fixed point algorithms

– Use techniques from modern theory of algorithms

Deng, Papadimitriou & Safra, 2002: linear case in P?

Page 10: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Market Equilibrium

cheese milk

winebread

$$$$

$$

$$

$$

•People want to maximize happiness

•Find prices s.t. market clears

Page 11: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

History

• Irving Fisher 1891 (concave functions)– Hydraulic apparatus for calculating equilibrium

Page 12: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria
Page 13: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

History

• Irving Fisher 1891 (concave functions)– Hydraulic apparatus for calculating equilibrium

• Eisenberg & Gale 1959– (unique) equilibrium exists

Page 14: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

History

• Irving Fisher 1891 (concave functions)– Hydraulic apparatus for calculating equilibrium

• Eisenberg & Gale 1959– (unique) equilibrium exists

• Devanur, Papadimitriou, Saberi & V. 2002– poly time alg for linear case

Page 15: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

History

• Irving Fisher 1891 (concave functions)– Hydraulic apparatus for calculating equilibrium

• Eisenberg & Gale 1959– (unique) equilibrium exists

• Devanur, Papadimitriou, Saberi & V. 2002– poly time alg for linear case

• V. 2002: alg for generalization of linear case

Page 16: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Market Equilibrium• n buyers, with specified money,• m goods (unit amount)• Linear utilities: utility derived by i

on obtaining one unit of j

iju

i ij ijj

U u x

Page 17: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Market Equilibrium• n buyers, with specified money,• m goods (unit amount)• Linear utilities: utility derived by i

on obtaining one unit of j

• Find prices s.t. market clears

iju

i ij ijj

U u x

Page 18: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

People Goods

$100

$60

$20

$140

Page 19: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Bang per buck

$100

$60

$20

$140

$20

$40

$10

$60

10

20

4

2

utilities

Page 20: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Bang per buck

$100

$60

$20

$140

$20

$40

$10

$60

10

20

4

2

10/20

20/40

4/10

2/60

Page 21: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Bang per buck

$100

$60

$20

$140

$20

$40

$10

$60

10

20

4

2

10/20

20/40

4/10

2/60

Page 22: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Bang per buck

}/{max jijji pu

Given prices , each i picks goods to maximize

her bang per buck, i.e.,

jp

Page 23: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Equality subgraph

$100

$60

$20

$140

$20

$40

$10

$60

for all i: most desirable j’s

Page 24: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Any goods sold in equality subgraph make agents happiest

• How do we maximize sales in equality subgraph?

Page 25: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Any goods sold in equality subgraph make agents happiest

• How do we maximize sales in equality subgraph?

Use max-flow!

Page 26: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Max flow

100

60

20

140

20

40

10

60

infinite capacities

Page 27: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Max flow

100

60

20

140

20

40

10

60

Page 28: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Idea of Algorithm

Invariant: source edges form min-cut

(agents have surplus)

Want: prices s.t. sink edges also form min-cut

Gradually raise prices, decrease surplus,

until 0

Page 29: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

ensuring Invariant initially

• Set each price to 1/n

• Assume buyers’ money integral

Page 30: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

How to raise prices?

• Ensure equality edges retained

i

j

l

ij il

j l

u u

p p

Page 31: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

How to raise prices?

• Ensure equality edges retained

i

j

l

ij il

j l

u u

p p

• Raise prices proportionatelyj ij

l il

p u

p u

Page 32: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

20x

40x

10x

60x

initialize: x = 1

x

Page 33: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

20x

40x

10x

60x

x = 2: another min-cut

x>2: Invariant violated

Page 34: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

40x

80x

20

120

active

frozenreinitialize: x = 1

Page 35: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

50

100

20

120

active

frozen x = 1.25

Page 36: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

50

100

20

120

Page 37: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

50

100

20

120

unfreeze

Page 38: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

100

60

20

140

50x

100x

20x

120x

x = 1, x

Page 39: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m

buyers goods

Page 40: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m p

buyers goodsequality

subgraph ensure Invariant

Page 41: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m px

x = 1, x

Page 42: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

}{ S( )S

( ) ( ( ))x p S m S

Page 43: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

}{ S( )S

( ) ( ( ))x p S m S freeze S

tight set

Page 44: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

}{ S( )S

prices in S are market clearing

Page 45: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

x = 1, x

S( )S

active

frozen

px

Page 46: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

x = 1, x

S( )S

active

frozen

px

Page 47: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

x = 1, x

S( )S

active

frozen

px

Page 48: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

new edge enters equality subgraph

S( )S

active

frozen

Page 49: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

unfreeze component

active

frozen

Page 50: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• All goods frozen => terminate

(market clears)

Page 51: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• All goods frozen => terminate

(market clears)

• When does a new set go tight?

Page 52: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

}{ S( )S

* ( ( ) ): min

( )S A

m Sx

p S

Page 53: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Try S = A (all goods)

Let

Clearly,

If s is min-cut, x=x* and S* = A.

( ).

( )

m Bx

p A

*x x

Page 54: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m px

Otherwise, x > x* .

s

S*( *)S

Page 55: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Sufficient to recurse on smaller graph

s

S*( *)S

Page 56: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Termination

• Prices in S* have denominators

• Terminates in max-flows.

,nnU

max { }ij ijU u

2 2Mn

Page 57: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Polynomial time

• Pre-emptively freeze sets that have small

surplus (at most ).

Page 58: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m s

S*( *)S

*x p

Page 59: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m s

S*( *)S

Page 60: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m s

S*( *)S }freeze

Page 61: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

m

add to prices and find new min-cut

s

S*( *)S

*x p

Page 62: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Next freezing: prices must increase

• Problem: at end, surplus

.

0.

Page 63: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Next freezing: prices must increase

• Problem: at end, surplus

• But, surplus

.

0.

.n

Page 64: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

initial surplus

M

Page 65: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

ε

2

M

n

Page 66: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

final surplus2

Mn

Page 67: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria
Page 68: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria
Page 69: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria
Page 70: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Polynomial time

2 2( ( log log ))O n n U MnTheorem:

max-flow computations suffice.

Page 71: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Question

• Is main algorithm, i.e., without

pre-emptive freezing, polynomial time?

Page 72: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Question

• Is main algorithm, i.e., without

pre-emptive freezing, polynomial time?

• Strongly polynomial?

Page 73: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Post-mortem

Page 74: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Primal-Dual Schema

Highly successful algorithm design

technique from exact and

approximation algorithms

Page 75: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Central Idea Behind Primal-Dual Schema

Two processes

making local improvements

(relative to each other) and

achieving global objective

Page 76: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Post-mortem

• “primal” variables: flow in equality subgraph

• “dual” variables: prices

• algorithm: primal & dual improvements

Page 77: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Post-mortem

• “primal” variables: flow in equality subgraph

• “dual” variables: prices

• algorithm: primal & dual improvements

• nonzero flow from j to i iijj up /

Page 78: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Post-mortem

• “primal” variables: flow in equality subgraph

• “dual” variables: prices

• algorithm: primal & dual improvements

• nonzero flow from j to i

“complementary slackness condition”

iijj up /

Page 79: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Post-mortem

• “primal” variables: flow in equality subgraph

• “dual” variables: prices

• algorithm: primal & dual improvements

• algorithm inspired by Kuhn’s

primal-dual algorithm for bipartite matching

Page 80: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

‘‘Primal-Dual-Type’’ Algorithms

• Formal mathematical setting?

• Analogous setting for primal-dual

algorithms: LP-Duality Theory

Page 81: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Concave utilities

• Buyers get satiated by goods

• Fix prices => each buyer has unique

optimal bundle

Page 82: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Concave utilities

• Buyers get satiated by goods

• Fix prices => each buyer has unique optimal bundle

Economy of communication!

Distributed market clearing

Page 83: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

utility

Concave utility function

amount of j

Page 84: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

utility

Piece-wise linear, concave

amount of j

Page 85: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

utility

PTAS for concave fn.

amount of j

Page 86: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

utility

Piece-wise linear, concave

amount of j

Page 87: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

rate

rate = utility/amount of j

amount of j

Differentiate

Page 88: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

$20 $70 $100

for buyer i, good j

rate

rate = utility/unit amount of j

ijf

Page 89: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

0

( )( )

x ij

j

f yu x dy

p

Fix price of j, then utility/$ given by

ij

j

f

p

utility derived,

Page 90: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

$20 $70 $100

utility

fix price of j

piecewise-linear, concave

Page 91: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

V. 2002:

Rate at which i derives happiness depends on fraction of budget spent on j.

Spending constraint model

Page 92: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Theorem: Equilibrium price is unique,

and can be computed in polynomial time

Page 93: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Theorem: Equilibrium price is unique,

and can be computed in polynomial time

(Not unique in traditional model,

even for piece-wise linear case)

Page 94: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

$20 $40 $100

Can generalize notion of ‘‘market clearing’’ --assume that buyers have utility for money.

rate

Page 95: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Does the spending constraint

model measure up to

traditional theory?

Page 96: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

$100

for buyer i, good j

rate

continuous, decreasing rate function

ijf

Page 97: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

0

( )( )

x ij

j

f yu x dy

putility derived,

Strictly concave function.

Each buyer has unique optimal bundle.

Page 98: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Devanur & V., 2003

Equilibrium exists for cts., decreasing rate fns.

(Proof uses Brauwer’s fixed point theorem),

Page 99: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Devanur & V., 2003

Equilibrium exists for cts., decreasing rate fns.

(Proof uses Brauwer’s fixed point theorem),

and prices are unique.

Page 100: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Devanur & V., 2003

Equilibrium exists for cts., decreasing rate fns.

(Proof uses Brauwer’s fixed point theorem),

and prices are unique.

PTAS for computing equilibrium.

Page 101: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Devanur & V., 2003

Extend model to Arrow-Debreu setting.

Page 102: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Devanur & V., 2003

Extend model to Arrow-Debreu setting.

Equilibrium exists.

(Proof uses Kakutani’s fixed point theorem.)

Page 103: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Algorithmic Game Theory

• Mechanism design: find equilibria that

ensure truthful, fair functioning of agents,

and are efficiently computable.

• Approximations: deal with NP-hardness,

stringent game-theoretic notions

Page 104: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Q: Distributed algorithm for equilibria?

• Appropriate model?

• Primal-dual schema operates via

local improvements

Page 105: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Global optimality via local improvement

• Exploit in distributed setting

Kelly, Low, Lapsley, Doyle, Paganini …

Page 106: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

TCP congestion control

primal process: packet rates at sources

dual process: packet drop at links

AIMD + RED solves utility maximization

problem in limit

Page 107: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Kelly, `97: charging, rate control and routing for elastic traffic

Kelly & V. 2002:

It is essentially a market equilibrium question, and generalizes Fisher’s problem!

Page 108: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Kelly, `97: charging, rate control and routing for elastic traffic

Kelly & V. 2002:

It is essentially a market equilibrium question, and generalizes Fisher’s problem!

Q: Polynomial time alg?

Page 109: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Develop an algorithmic theory

of market equilibria,

via polynomial time exact and

approximation algorithms

Page 110: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• w.r.t. prices p, i sorts segments according

to utility/$, and partitions into classes

Page 111: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• w.r.t. prices p, i sorts segments according

to utility/$, and partitions into classes

$50 $30 $40 $40 $60

Page 112: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• w.r.t. prices p, i sorts segments according

to utility/$, and partitions into classes

$50 $30 $40 $40 $60

Assume i has $100

Page 113: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• w.r.t. prices p, i sorts segments according

to utility/$, and partitions into classes

$50 $30 $40 $40 $60

forcedflexible

undesirable

Page 114: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

Page 115: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

Page 116: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

– as prices change, allocs may become undesirable

Page 117: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

– as prices change, allocs may become undesirable

Deallocate

Page 118: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

– as prices change, allocs may become undesirable

Deallocate - exponential time??

Page 119: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

– as prices change, allocs may become undesirable

Deallocate - exponential time??

Reduce prices

Page 120: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

• Invariant 1: Approach eq. from below

• Invariant 2: Forced allocs follow sorted order

– simultaneously, for all i

– as prices change, allocs may become undesirable

Deallocate - exponential time??

Reduce prices - measure of progress??

Page 121: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

Maintains both Invariants

+ deallocations

+ monotonicity of prices

Algorithm

Page 122: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

flexibleforced undesirable

Page 123: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

flexibleforced undesirable

Page 124: How Intractable is the ‘‘Invisible Hand’’: Polynomial Time Algorithms for  Market Equilibria

flexibleforced undesirable

Can ensure prices