A deterministic 1 −1/e approximation for one-directional two-period dating
A deterministic polynomial-time policy achieves at least \(1-1/e\) of the maximum expected number of matches in a one-directional, two-period dating market that permits simultaneous matches in both periods. The benchmark is the best fully adaptive policy, which can use all first-period outcomes to choose its second-period displays. Ríos and Torrico asked whether this setting admits a polynomial-time \(1/(2+\epsilon)\) approximation for every \(\epsilon>0\). The answer is yes, since \(1-1/e>1/2\). Ríos and Torrico, *The Dating Heuristic*, Appendix E.5, immediately after Theorem E.13 (direct passage in arXiv v5). The earlier polynomial-time guarantee in Proposition E.10 permitted simultaneous matches only in period 1. For simultaneous matches in both periods, Theorem E.13 transferred a \(\gamma\)-approximation for the period-1-only problem with a factor of \(\gamma(1/(2e)-o(1))\), where \(o(1)\) vanishes in the large-market limit. That transfer assumed time-independent like probabilities and an initiating like probability of at most \(1/|I|\) on each pair, where \(|I|\) is the number of initiating users. The new guarantee holds for finite markets with arbitrary rational like probabilities, which may vary by period. Proposition E.10 and Theorem E.13 in Appendix E. The user sets \(I\) and \(J\) are fixed, and the original question starts with an empty backlog of likes. An initiator \(i\in I\) may see any currently feasible profile \(j\in J\). A receiver \(j\) may see \(i\) after \(i\) has liked \(j\), or when both profiles are displayed to one another simultaneously. A profile can be shown to a given user at most once. A match requires both users to like one another after seeing the other's profile, either in the same period or in successive periods. For an eligible pair \(ij\) and period \(t\in\{1,2\}\), write \(p_{ij}^t\) for the probability that \(i\) likes \(j\) and \(q_{ji}^t\) for the reverse probability. Like decisions are independent, with probabilities fixed for each direction and period regardless of the observed history. The display capacities \(k_i^t\) and \(k_j^t\) are non-negative integers. Setting \(k_\ell^1=k_\ell^2=K_\ell\) for each user \(\ell\) gives the capacities in the original question. The policy starts by solving a linear programme. For each initially feasible pair, let \(s_{ij}\) be the probability of a first-period display to \(i\) alone, \(a_{ij}\) the probability of a first-period simultaneous display, \(b_{ij}\) the unconditional probability of a second-period response display to \(j\) following a first-period one-sided like, and \(c_{ij}\) the unconditional probability of a second-period simultaneous display. These variables are non-negative. The constraints are \[\begin{aligned} \sum_j(s_{ij}+a_{ij})&\le k_i^1, & \sum_i a_{ij}&\le k_j^1,\\ \sum_j c_{ij}&\le k_i^2, & \sum_i(b_{ij}+c_{ij})&\le k_j^2,\\ s_{ij}+a_{ij}+c_{ij}&\le 1, & b_{ij}&\le p_{ij}^1s_{ij}. \end{aligned} \] The capacity constraints hold for every user and the last two inequalities hold for every eligible pair. The three ways to initiate a pair are mutually exclusive, and a sequential response requires a first-period like. Maximising \[L(s,a,b,c)=\sum_{ij}\left(p_{ij}^1q_{ji}^1a_{ij}+q_{ji}^2b_{ij}+p_{ij}^2q_{ji}^2c_{ij}\right) \] over these constraints gives an upper bound \(L^\star\) on the fully adaptive optimum. Each summand is the unconditional expected contribution of that pair to the match count. To turn an optimal fractional solution into display plans, give each proposer a bipartite multigraph with its eligible pairs on one side and two period nodes on the other. Each pair has capacity one. Its \(s_{ij}\) and \(a_{ij}\) edges go to the first-period node of capacity \(k_i^1\), and its \(c_{ij}\) edge goes to the second-period node of capacity \(k_i^2\). Split each period node into unit slots, using at most as many slots as the proposer has eligible pairs, and distribute the incident fractions over the slots. Decompose the resulting fractional matching into a polynomial-size distribution of integral matchings, preserving the edge labels. This can be done by padding with dummy vertices to obtain a fractional perfect matching, then repeatedly selecting a perfect matching of positive residual edges and subtracting the smallest residual weight on its edges. Removing the dummy edges gives a distribution of feasible plans with the required marginals. In period 1, carry out all planned one-sided displays. Each receiver keeps up to \(k_j^1\) simultaneous proposals with the largest weights \(p_{ij}^1q_{ji}^1\). In period 2, each receiver keeps up to \(k_j^2\) candidates with the largest weights, counting a confirmed one-sided like at \(q_{ji}^2\) and a reserved simultaneous proposal at \(p_{ij}^2q_{ji}^2\). A response uses only the receiver's display capacity. The proposer's reserved slots cover every simultaneous display that survives, and the plan reserves each pair for at most one kind of initiation. For independent candidates with non-negative weights and an expected candidate count at most \(K\), keeping the largest \(K\) weights preserves at least \(1-1/e\) of their total expected weight. Independent proposer plans give this structure at each receiver. In period 2, a comparison distribution retains each confirmed first-period like with probability \(b_{ij}/(p_{ij}^1s_{ij})\) when the denominator is positive, and retains none otherwise. The comparison has mean candidate count \(\sum_i(b_{ij}+c_{ij})\le k_j^2\), and keeping all confirmed likes can only increase the weight selected. The expected match count under independent plans is therefore at least \((1-1/e)L^\star\). The plans can be fixed before any likes are observed. For each proposer in turn, select a plan from its finite distribution that maximises the conditional expected match count with all earlier choices fixed. To compute that expectation at a receiver in a given period, sort the distinct positive candidate weights as \(0=v_0<v_1<\cdots<v_m\). If \(N_r\) counts candidates of weight at least \(v_r\), the expected weight kept at capacity \(K\) is \[\sum_{r=1}^m(v_r-v_{r-1})\,\mathbb E[\min(K,N_r)]. \] Each \(N_r\) has a distribution computable by a Bernoulli-sum dynamic programme, using each proposer's probability of supplying a candidate at the threshold. For a response candidate this includes the first-period like probability \(p_{ij}^1\). Summing over receivers and periods gives the conditional expectation in polynomial time with exact rational arithmetic. Fixing the plans this way preserves the guarantee. At execution the platform makes deterministic display decisions given the observed likes. The construction also covers a known initial backlog of one-way likes from \(I\) to \(J\). An already initiated pair has two exclusive response choices with non-negative marginals \(r_{ij}^1,r_{ij}^2\) satisfying \(r_{ij}^1+r_{ij}^2\le1\). In period \(t\) its response adds \(r_{ij}^t\) to the receiver's capacity constraint and \(q_{ji}^t r_{ij}^t\) to the objective. These choices go in a separate bucket in the proposer's decomposition, with room for all its backlog pairs. A selected response enters that period's receiver list with weight \(q_{ji}^t\).
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24804382
- Primary Topic
- Optimization and Search Problems
- Type
- preprint