Documentation

CslibFrontier.GameTheory.Mechanism.Knapsack

Knapsack auctions #

In a knapsack auction ([Rou13], Lecture 4, §1.1) bidder i has a publicly known size wᵢ and a private valuation, and the seller has a capacity W; the feasible allocations are the 0-1 vectors x with ∑ᵢ wᵢ xᵢ ≤ W. k-unit auctions are the case wᵢ = 1, W = k.

The welfare-maximizing allocation rule (Lecture 4, (1)) is monotone, so by Myerson's Lemma it is implementable, and its DSIC payments are critical bids (Lecture 4, §1.3). No claim is made about computing it: the underlying Knapsack problem is NP-hard (Lecture 4, §1.4).

Main definitions #

Main results #

References #

theorem Cslib.GameTheory.SingleParameter.IsWelfareMaximizing.isBinary {ι : Type u_1} [Fintype ι] {X : Set (ι → ℝ)} {x : (ι → ℝ) → ι → ℝ} (hx : IsWelfareMaximizing X x) (hX : ∀ y ∈ X, ∀ (i : ι), y i = 0 ∨ y i = 1) :

A welfare-maximizing rule over 0-1 feasible allocations is a 0-1 rule.

theorem Cslib.GameTheory.SingleParameter.IsWelfareMaximizing.criticalBidMechanism_isDSIC {ι : Type u_1} [Fintype ι] {X : Set (ι → ℝ)} {x : (ι → ℝ) → ι → ℝ} [DecidableEq ι] (hx : IsWelfareMaximizing X x) (hX : ∀ y ∈ X, ∀ (i : ι), y i = 0 ∨ y i = 1) :

With 0-1 feasible allocations, a welfare-maximizing rule with critical-bid payments is DSIC ([Rou13], Lecture 4, §1.2–1.3).

theorem Cslib.GameTheory.SingleParameter.IsWelfareMaximizing.criticalBidMechanism_isIR {ι : Type u_1} [Fintype ι] {X : Set (ι → ℝ)} {x : (ι → ℝ) → ι → ℝ} [DecidableEq ι] (hx : IsWelfareMaximizing X x) (hX : ∀ y ∈ X, ∀ (i : ι), y i = 0 ∨ y i = 1) :

With 0-1 feasible allocations, a welfare-maximizing rule with critical-bid payments is individually rational.

theorem Cslib.GameTheory.SingleParameter.IsWelfareMaximizing.criticalBid_mul_eq_myersonPayment {ι : Type u_1} [Fintype ι] {X : Set (ι → ℝ)} {x : (ι → ℝ) → ι → ℝ} [DecidableEq ι] (hx : IsWelfareMaximizing X x) (hX : ∀ y ∈ X, ∀ (i : ι), y i = 0 ∨ y i = 1) {b : ι → ℝ} (hb : 0 ≤ b) (i : ι) :
criticalBid x b i * x b i = myersonPayment x b i

With 0-1 feasible allocations, the critical-bid payments of a welfare-maximizing rule are Myerson's payments.

def Cslib.GameTheory.SingleParameter.knapsackFeasible {ι : Type u_1} [Fintype ι] (w : ι → ℝ) (W : ℝ) :
Set (ι → ℝ)

The feasible set of a knapsack auction with sizes w and capacity W: 0-1 allocation vectors x with ∑ᵢ wᵢ xᵢ ≤ W ([Rou13], Lecture 4, §1.1).

theorem Cslib.GameTheory.SingleParameter.exists_knapsack_isWelfareMaximizing {ι : Type u_1} [Fintype ι] [DecidableEq ι] (w : ι → ℝ) {W : ℝ} (hW : 0 ≤ W) :
∃ (x : (ι → ℝ) → ι → ℝ), IsWelfareMaximizing (knapsackFeasible w W) x ∧ (criticalBidMechanism x).IsDSIC ∧ (criticalBidMechanism x).IsIR ∧ ∀ (b : ι → ℝ), 0 ≤ b → ∀ (i : ι), criticalBid x b i * x b i = myersonPayment x b i

Knapsack auctions ([Rou13], Lecture 4, §1.2–1.3): for every capacity W ≥ 0 some allocation rule maximizes the reported welfare over the knapsack-feasible allocations, and with critical-bid payments (which are Myerson's payments) it is DSIC and individually rational.