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.
相关推荐
晨非辰1 天前
#C语言——刷题攻略:牛客编程入门训练(九):攻克 分支控制(三)、循环控制(一),轻松拿捏!
c语言·开发语言·经验分享·学习方法·visual studio
dragoooon341 天前
[数据结构——lesson3.单链表]
数据结构·c++·leetcode·学习方法
dragoooon341 天前
[优选算法专题二滑动窗口——串联所有单词的子串]
数据结构·c++·学习·算法·leetcode·学习方法
晓衣2 天前
2025“獬豸杯”全国电子数据取证竞赛-k8s服务器取证wp
服务器·经验分享·程序人生·网络安全·容器·kubernetes·学习方法
jingling5553 天前
uniapp | 解决组件样式不生效问题
前端·css·uni-app·html·学习方法
jingling5555 天前
【高级】系统架构师 | 信息系统战略规划、EAI 与新技术
程序人生·职场和发展·系统架构·学习方法·程序员创富
Hygge-star6 天前
【MySQL自学】SQL主键使用误区:你必须知道的关键细节
数据库·sql·mysql·数据分析·学习方法
潘潘潘潘潘潘潘潘潘潘潘潘6 天前
【Linux】Linux开发必备:Git版本控制与GDB调试全指南
linux·运维·服务器·git·学习方法
山中月侣8 天前
MySQL下载及安装(Windows 11)
数据库·经验分享·mysql·学习方法
小牛历险记10 天前
手表--带屏幕音响-时间制切换12/24小时
c语言·开发语言·c·学习方法