You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/match_transport.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,8 @@ import pandas as pd
31
31
## Introduction
32
32
33
33
This notebook presents Python code for solving **composite sorting** problems of the kind
34
-
studied in the August 2023 paper*Composite Sorting* by Job Boerma, Aleh Tsyvinski, Ruodo Wang,
35
-
and Zhenyuan Zhang.
34
+
studied in *Composite Sorting* by Job Boerma, Aleh Tsyvinski, Ruodo Wang,
35
+
and Zhenyuan Zhang {cite}`boerma2023composite`.
36
36
37
37
+++ {"user_expressions": []}
38
38
@@ -487,7 +487,11 @@ Suppose that agents $i$ of type $z_i$ and $j$ of type $z_j$, with $z_i < z_j,$ a
487
487
Then there is an equal number of agents from each side in $\{i+1, \dots, j-1\},$ if this set is not empty.
488
488
489
489
Indeed, if this were not the case, then some agent $k \in \{i+1,j-1\}$ would be matched with some agent $\ell$ with $\ell \notin \{i,\dots, j\},$ i.e., there would be types
490
-
$$z_i < z_k < z_j < z_\ell$$
490
+
491
+
$$
492
+
z_i < z_k < z_j < z_\ell
493
+
$$
494
+
491
495
with matches $(z_i,z_j)$ and $(z_k, z_\ell),$ violating the no intersecting pairs property.
492
496
493
497
We conclude that we can define a binary relation on $[N]$ such that $i \sim j$ if there is an equal number of agents of each side in $\{i,i+1,\dots, j\}$ (or if this set is empty).
We will now present two key results in the context of OT with concave type costs.
939
943
940
-
We refer to the original papers XXXX (can cite both Boerma et al (2023) and [Delon, Salomon, Sobolevski (2011)](https://link.springer.com/article/10.1007/s10958-012-0714-6))
941
-
XXXX for proofs.
944
+
We refer {cite}`boerma2023composite` and {\cite}`delon2011minimum` for proofs.
942
945
943
946
944
947
Consider the problem faced within a layer, i.e., types from $Y \sqcup X$
@@ -1603,7 +1606,7 @@ The dual solutions of $V_D$ and $W_D$ are related by $u_x = \alpha_x - \phi_x$ a
1603
1606
1604
1607
The dual solution $(u,v)$ of $W_D$ can be interpreted as equilibrium utilities of the agents, which include the individual specific amenities and equilibrium shadow costs.
1605
1608
1606
-
The authors propose an efficient method to compute the dual variables from the optimal matching (primal solution) in the case of composite sorting.
1609
+
{cite}`boerma2023composite` propose an efficient method to compute the dual variables from the optimal matching (primal solution) in the case of composite sorting.
1607
1610
1608
1611
Let's generate an instance and compute the optimal matching.
0 commit comments