Linear Programming: Chapter 11 Game Theory



Similar documents
4.6 Linear Programming duality

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

Mathematical finance and linear programming (optimization)

1 Portfolio Selection

The Multiplicative Weights Update method

Chapter 4. Duality. 4.1 A Graphical Example

The Equivalence of Linear Programs and Zero-Sum Games

1 Portfolio mean and variance

Equilibrium computation: Part 1

Two-Stage Stochastic Linear Programs

Optimization in R n Introduction

October 3rd, Linear Algebra & Properties of the Covariance Matrix

α = u v. In other words, Orthogonal Projection

2.3 Convex Constrained Optimization Problems

Some representability and duality results for convex mixed-integer programs.

Linear Programming Notes V Problem Transformations

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

GAME THEORY. Part II. Two-Person Zero-Sum Games. Thomas S. Ferguson

Linear programming and reductions

DATA ANALYSIS II. Matrix Algorithms

Linear Programming. March 14, 2014

FUZZY CLUSTERING ANALYSIS OF DATA MINING: APPLICATION TO AN ACCIDENT MINING SYSTEM

An Introduction to Competitive Analysis for Online Optimization. Maurice Queyranne University of British Columbia, and IMA Visitor (Fall 2002)

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

56:171 Operations Research Midterm Exam Solutions Fall 2001

1 Nonzero sum games and Nash equilibria

Practical Guide to the Simplex Method of Linear Programming

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

6.231 Dynamic Programming and Stochastic Control Fall 2008

Numerical Analysis Lecture Notes

Applied Algorithm Design Lecture 5

1 Norms and Vector Spaces

Modern Optimization Methods for Big Data Problems MATH11146 The University of Edinburgh

Advanced Lecture on Mathematical Science and Information Science I. Optimization in Finance

Nonlinear Optimization: Algorithms 3: Interior-point methods

What is Linear Programming?

Linear Programming Problems

Operation Research. Module 1. Module 2. Unit 1. Unit 2. Unit 3. Unit 1

A Log-Robust Optimization Approach to Portfolio Management

Notes on Determinant

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Approximation Algorithms

Proximal mapping via network optimization

EXCEL SOLVER TUTORIAL

3.2 Roulette and Markov Chains

Similarity and Diagonalization. Similar Matrices

CASH FLOW MATCHING PROBLEM WITH CVaR CONSTRAINTS: A CASE STUDY WITH PORTFOLIO SAFEGUARD. Danjue Shang and Stan Uryasev

How to Solve Strategic Games? Dominant Strategies

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Section Inner Products and Norms

THOMAS S. FERGUSON, University of California, Los Angeles C. MELOLIDAKIS, Technical University of Crete

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

A Game-Theoretical Approach for Designing Market Trading Strategies

160 CHAPTER 4. VECTOR SPACES

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Inner products on R n, and more

1 Solving LPs: The Simplex Algorithm of George Dantzig

A short note on American option prices

Duality in General Programs. Ryan Tibshirani Convex Optimization /36-725

Linear Programming I

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

NOTES ON LINEAR TRANSFORMATIONS

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Dynamics and Equilibria

4: SINGLE-PERIOD MARKET MODELS

Solving Systems of Linear Equations

Game Theory and Nash Equilibrium

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Systems of Linear Equations

Lecture 2 Matrix Operations

6.207/14.15: Networks Lecture 15: Repeated Games and Cooperation

T ( a i x i ) = a i T (x i ).

Computational Learning Theory Spring Semester, 2003/4. Lecture 1: March 2

Math 215 HW #6 Solutions

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach

Bayesian logistic betting strategy against probability forecasting. Akimichi Takemura, Univ. Tokyo. November 12, 2012

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Vector and Matrix Norms

Do not open this exam until told to do so.

1 VECTOR SPACES AND SUBSPACES

A Negative Result Concerning Explicit Matrices With The Restricted Isometry Property

(67902) Topics in Theory and Complexity Nov 2, Lecture 7

Notes on Symmetric Matrices

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem

ALMOST COMMON PRIORS 1. INTRODUCTION

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

6.042/18.062J Mathematics for Computer Science. Expected Value I

26 Linear Programming

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

Recovery of primal solutions from dual subgradient methods for mixed binary linear programming; a branch-and-bound approach

Some Research Problems in Uncertainty Theory

Transcription:

Linear Programming: Chapter 11 Game Theory Robert J. Vanderbei October 17, 2007 Operations Research and Financial Engineering Princeton University Princeton, NJ 08544 http://www.princeton.edu/ rvdb

Rock-Paper-Scissors A two person game. Rules. At the count of three declare one of: Rock Paper Scissors Winner Selection. Identical selection is a draw. Otherwise: Rock beats Scissors Paper beats Rock Scissors beats Paper Payoff Matrix. Payoffs are from row player to column player: A = P S R P S R 0 1 1 1 0 1 1 1 0 Note: Any deterministic strategy employed by either player can be defeated systematically by the other player.

Two-Person Zero-Sum Games Given: m n matrix A. Row player (rowboy) selects a strategy i {1,..., m}. Col player (colgirl) selects a strategy j {1,..., n}. Rowboy pays colgirl a ij dollars. Note: The rows of A represent deterministic strategies for rowboy, while columns of A represent deterministic strategies for colgirl. Deterministic strategies can be bad.

Randomized Strategies. Suppose rowboy picks i with probability y i. Suppose colgirl picks j with probability x j. Throughout, x = [ x 1 x 2 ] T x n and y = [ y 1 y 2 ] T y m will denote stochastic vectors: x j 0, j = 1, 2,..., n x j = 1. j If rowboy uses random strategy y and colgirl uses x, then expected payoff from rowboy to colgirl is y i a ij x j = y T Ax i j

Colgirl s Analysis Suppose colgirl were to adopt strategy x. Then, rowboy s best defense is to use y that minimizes y T Ax: min y y T Ax And so colgirl should choose that x which maximizes these possibilities: max x min y y T Ax

Solving Max-Min Problems as LPs Inner optimization is easy: min y y T Ax = min i e T i Ax (e i denotes the vector that s all zeros except for a one in the i-th position that is, deterministic strategy i). Note: Reduced a minimization over a continuum to one over a finite set. We have: max (min i x j = 1, j e T i Ax) x j 0, j = 1, 2,..., n.

Reduction to a Linear Programming Problem Introduce a scalar variable v representing the value of the inner minimization: max v Writing in pure matrix-vector notation: (e denotes the vector of all ones). v e T i Ax, i = 1, 2,..., m, x j = 1, j x j 0, j = 1, 2,..., n. max v ve Ax 0 e T x = 1 x 0

Finally, in Block Matrix Form [ 0 max 1 ] T [ x v ] [ A e e T 0 ] [ x v ] = [ 0 1 ] x 0 v free

Rowboy s Perspective Similarly, rowboy seeks y attaining: min y max x y T Ax which is equivalent to: min u ue A T y 0 e T y = 1 y 0

Rowboy s Problem in Block-Matrix Form [ 0 min 1 ] T [ y u ] [ AT e e T 0 ] [ y u ] = [ 0 1 ] y 0 u free Note: Rowboy s problem is dual to colgirl s.

MiniMax Theorem Let x denote colgirl s solution to her max min problem. Let y denote rowboy s solution to his min max problem. Then max x Proof. From Strong Duality Theorem, we have Also, y T Ax = min y y T Ax. u = v. v u = min i = max j e T i Ax = min y y T Ae j = max x y T Ax y T Ax QED

AMPL Model set ROWS; set COLS; param A {ROWS,COLS} default 0; var x{cols} >= 0; var v; maximize zot: v; subject to ineqs {i in ROWS}: sum{j in COLS} -A[i,j] * x[j] + v <= 0; subject to equal: sum{j in COLS} x[j] = 1;

AMPL Data data; set ROWS := P S R; set COLS := P S R; param A: P S R:= P 0 1-2 S -3 0 4 R 5-6 0 ; solve; printf {j in COLS}: " %3s %10.7f \n", j, 102*x[j]; printf {i in ROWS}: " %3s %10.7f \n", i, 102*ineqs[i]; printf: "Value = %10.7f \n", 102*v;

AMPL Output ampl gamethy.mod LOQO: optimal solution (12 iterations) primal objective -0.1568627451 dual objective -0.1568627451 P 40.0000000 S 36.0000000 R 26.0000000 P 62.0000000 S 27.0000000 R 13.0000000 Value = -16.0000000

Dual of Problems in General Form Consider: max c T x Ax = b x 0 Rewrite equality constraints as pairs of inequalities: max c T x Ax b Ax b x 0

Put into block-matrix form: [ max ct ] x A x [ A x 0 b b ] Dual is: [ ] T [ ] b y + min b y [ AT A ] [ ] T y + y c y +, y 0

Which is equivalent to: Finally, letting y = y + y, we get Moral: min b T (y + y ) A T (y + y ) c y +, y 0 min b T y A T y c y free. Equality constraints = free variables in dual. Inequality constraints = nonnegative variables in dual. Corollary: Free variables = equality constraints in dual. Nonnegative variables = inequality constraints in dual.

A Real-World Example The Ultra-Conservative Investor Consider again the historical return on investment data: We can view this as a payoff matrix in a game between Fate and the Investor. Year US US S&P Wilshire NASDAQ Lehman EAFE Gold 3-Month Gov. 500 5000 Composite Bros. T-Bills Long Corp. Bonds Bonds 1973 1.075 0.942 0.852 0.815 0.698 1.023 0.851 1.677 1974 1.084 1.020 0.735 0.716 0.662 1.002 0.768 1.722 1975 1.061 1.056 1.371 1.385 1.318 1.123 1.354 0.760 1976 1.052 1.175 1.236 1.266 1.280 1.156 1.025 0.960 1977 1.055 1.002 0.926 0.974 1.093 1.030 1.181 1.200 1978 1.077 0.982 1.064 1.093 1.146 1.012 1.326 1.295 1979 1.109 0.978 1.184 1.256 1.307 1.023 1.048 2.212 1980 1.127 0.947 1.323 1.337 1.367 1.031 1.226 1.296 1981 1.156 1.003 0.949 0.963 0.990 1.073 0.977 0.688 1982 1.117 1.465 1.215 1.187 1.213 1.311 0.981 1.084 1983 1.092 0.985 1.224 1.235 1.217 1.080 1.237 0.872 1984 1.103 1.159 1.061 1.030 0.903 1.150 1.074 0.825 1985 1.080 1.366 1.316 1.326 1.333 1.213 1.562 1.006 1986 1.063 1.309 1.186 1.161 1.086 1.156 1.694 1.216 1987 1.061 0.925 1.052 1.023 0.959 1.023 1.246 1.244 1988 1.071 1.086 1.165 1.179 1.165 1.076 1.283 0.861 1989 1.087 1.212 1.316 1.292 1.204 1.142 1.105 0.977 1990 1.080 1.054 0.968 0.938 0.830 1.083 0.766 0.922 1991 1.057 1.193 1.304 1.342 1.594 1.161 1.121 0.958 1992 1.036 1.079 1.076 1.090 1.174 1.076 0.878 0.926 1993 1.031 1.217 1.100 1.113 1.162 1.110 1.326 1.146 1994 1.045 0.889 1.012 0.999 0.968 0.965 1.078 0.990

Fate s Conspiracy The columns represent pure strategies for our conservative investor. The rows represent how history might repeat itself. Of course, for next year (1995), Fate won t just repeat a previous year but, rather, will present some mixture of these previous years. Likewise, the investor won t put all of her money into one asset. Instead she will put a certain fraction into each. Using this data in the game-theory ampl model, we get the following mixedstrategy percentages for Fate and for the investor. Investor s Optimal Asset Mix: US 3-MONTH T-BILLS 93.9 NASDAQ COMPOSITE 5.0 EAFE 1.1 Mean, old Fate s Mix: 1992 28.1 1993 7.8 1994 64.1 The value of the game is the investor s expected return: 4.10%.