CE322 Algorithmic Game Theory

CE322 Algorithmic Game Theory
Assignment 2022/23
Lecturer: Maria Kyropoulou
Answer all (four) questions below.
• The filename of each submitted file (report and matlab files) should contain your registration number. For example, CE322 RegNumber Report.pdf, CE322 RegNumber Task3.m.
• Make sure that your code is easy to follow by adequately commenting on your code and/or briefly describing in the report the steps you take.
• Your assignment will be assessed on the quality of the files you submit --correctness, work quality and quality of presentation-- and how clearly you explain what you have done. Aim for precise and concise answers and explanations.
• Explicit marking criteria have been uploaded in a separate document on moodle.
Question 1 [25%]
Four colleagues, A, B,C, and D, want to decide how to commute to work. The company they work for offers a shuttle service, for a total cost of 12 pounds, that would be evenly split among the people who chose to use it. For example, if two people use the shuttle service, each of them would pay 6 pounds.
Each person also has the option to drive with their own car to work. The cost for using their own car is fixed but different for each person: A's cost for driving is 2; B's cost for driving is 3, C's cost for driving
is 5; D's cost for driving is 11. Your tasks:
a. [6% ] Give a formal definition of the game described above. Who are the players, what are their strategies and how are their utilities defined for each state (strategy combination).
b. [9% ] Are there any strictly dominated strategies in this game? If so, reduce the game as much as possible by eliminating them.
c. [5% ] Identify all pure Nash equilibria of the game and their social cost (sum of costs).
d. [5% ] What is the price of stability of the game?
Your tasks:
a. [4% ] Reduce the game as much as possible by removing any possible strictly dominated strategies.
b. [4% ] Is there a pure Nash equilibrium in the remaining game? Justify your answer.
c. [12% ] Compute a mixed Nash equilibrium using the indifference conditions of the players. Present both the equilibrium and the analysis clearly. No coding is required.
Question 3 [25%]
Consider the following general normal form game G. Your task is to find the correlated equilibrium that maximizes the sum of players' utilities, using Linear Programming in MATLAB. In your report, you need to present the equilibrium that you have computed, the linear program that you are solving (which should include the equilibrium conditions that are satisfied), and a screenshot of your MATLAB input AND output. Use the following ordering of variables when constructing your MATLAB input:
p XA , p XB , p XC , p Y A , p Y B , p Y C , p ZA , p ZB , p ZC
Question 4 [30%]
Consider the following sponsored search auction instance I :
• 2 slots. The top slot has a known click-through rate (CTR) ctr 1 = 1 and the bottom slot has a known click-through rate ctr 3 = 0 . 5.
• 2 advertisers. Advertiser 1 has a private value-per-click v 1 = 1 and advertiser 2 has a private value-per-click v 2 = 0 . 5.
• The utility of the advertiser (let's call them i , i = 1 , 2) is:
-- ( v i p ), if i is assigned to the top slot, where p is the price charged per-click in the top slot.
-- 0 . 5 · v i , if i is assigned to the bottom slot (price 0 is charged per-click in the bottom slot).
Under the Generalized Second-Price (GSP) auction rule:

  • Advertisers are asked to place bids in the auction (players are supposed to declare their value per click, but the bids aren't always truthful!). Advertisers are then ranked according to their bids and the advertiser with the highest bid is assigned to the slot with the highest CTR (top slot),
    the other advertiser is assigned to the slot with the lowest CTR (bottom slot). In case of a tie, advertiser 1 is allocated to the top slot. The per-click payment p at the top slot is set to be equal to the bid of the advertiser assigned to the bottom slot.
    a. [4% ] Compute the optimal/highest social welfare (sum of individual values) in I .
    b. [6% ] Let b 1 and b 2 denote the bids placed by advertiser 1 and 2, respectively, and assume b 1 > b 2 .
    Formulate the conditions that need to be satisfied at equilibrium. The conditions should contain only variables v 1 , v 2 , b 1 and b 2 .
    c. [8% ] Write a function in MATLAB that takes as input the bids of the two players and outputs their utilities.
    d. [12% ] Assume the following strategy sets (the allowed strategies each player can make) S 1 = { 0 , 0 . 5 , 1 } and S 2 = { 0 , 0 . 5 } . Write MATLAB code that computes all Nash equilibria in I , and outputs the equilibrium strategies and the associated social welfare. Your code can call the function of part c.
    You can (or not) follow a brute-force approach, i.e. consider all possible combinations of bids and for each of them check if it is an equilibrium. Copy and paste your MATLAB code in your report, and explicitly mention where in your MATLAB code you guarantee that the equilibrium conditions are satisfied. If your code successfully computes one or more equilibria, present them in the report alongside their social welfare.
相关推荐
ECT-OS-JiuHuaShan5 小时前
否定之否定的辩证法,谁会不承认?但又有多少人说的透?
开发语言·人工智能·数学建模·生活·学习方法·量子计算·拓扑学
小龙报2 天前
《算法通关指南数据结构和算法篇(2)--- 链表专题》
c语言·数据结构·c++·算法·链表·学习方法·visual studio
小龙报3 天前
《算法通关指南:数据结构和算法篇 --- 链表相关算法题》--- 1. 队列安排,2.约瑟夫问题
c语言·数据结构·c++·算法·创业创新·学习方法·visual studio
qiyongwork4 天前
学习方法的总结和应用实例
学习方法·学习方法实践
我命由我123454 天前
Excel - Excel 找回意外关闭的未保存的文档
学习·职场和发展·excel·求职招聘·职场发展·运维开发·学习方法
一起养小猫5 天前
《半小时漫画计算机》读后感:从入门到构建知识体系
职场和发展·学习方法·改行学it
贝塔实验室5 天前
Altium Designer 6.0 初学教程-如何从原理图及PCB 中生成网表并且实现网表的加载
fpga开发·硬件架构·硬件工程·学习方法·射频工程·基带工程·pcb工艺
大佬,救命!!!6 天前
C++函数式策略模式代码练习
开发语言·c++·学习笔记·学习方法·策略模式·迭代加深·多文件编译
松涛和鸣7 天前
14、C 语言进阶:函数指针、typedef、二级指针、const 指针
c语言·开发语言·算法·排序算法·学习方法
go_bai7 天前
Linux-线程2
linux·c++·经验分享·笔记·学习方法