In his paper Divisors in Residue Classes, H.W. Lenstra describes the following (Proposition 2.1 in the paper).
Proposition 2.1 (H.W Lenstra) If $V$ is a finite set with $w$ a finite measure on the power-set of $V$, and $\alpha > 1/4$ is any real number, then for any collection $\mathscr{D}$ of subsets of $V$ satisfying $$\max\left( w\left(D_1\setminus D_2\right), w\left(D_2\setminus D_1\right)\right)\geq \alpha w\left(V\right)$$ for all $D_1,D_2 \in \mathscr{D}$, then $\#\mathscr{D}\leq c(\alpha)$ where $c(\alpha)$ is a finite constant only depending on $\alpha$.
The proof of this proposition is straightforward and makes sense to me, but I have a question about a statement made later on in the paper. Lenstra later says,
For an integer $k\geq 2$, let $\alpha(k)$ be the largest possible value of $\alpha$ for which the hypotheses of Proposition (2.1) can be satisfied with $\#\mathscr{D}=k$. It is not difficult to see that $\alpha(k)$ exists and that, for given $k$, it can be computed by solving a linear programming problem with $2^k + 1$ variables.
Does anyone have some insight into how to set up the linear program that Lenstra is describing here? I'm familiar with the trick of adding an extra variable to a linear programming question in order to describe the maximum of two variables, (like this question here) but can't see how to set up this linear program to maximize $\alpha$.
Edit: Here's an idea I've been playing around with, set $\mathscr{D} = \{D_1,\dots,D_k\}$ and let $\mathscr{P}$ be the power set of $\mathscr{D}$ and create the linear program with the $2^{k}+1$ variables $x_{A}$ for $A \in \mathscr{P}$ and $\alpha$. The variables $0\leq x_{A}\leq 1$ will represent the value of $w\left(\bigcup_{D_i \in A}D_i\right)$ since wlog we can take $w(V) = 1$. Then the condition that $\max\left( w\left(D_1\setminus D_2\right), w\left(D_2\setminus D_1\right)\right)\geq \alpha w\left(V\right)$ can be given by $x_{\{D_i,D_j\}} \geq x_{\{D_i\}} + \alpha$ for all $i < j$ (since we can also assume wlog that we order the elements of $A$ according to weight so that $x_{\{D_1\}} \leq \dots \leq x_{\{D_k\}}$. Such a linear system can be maximized for $\alpha$, but I still am not sure if this particular linear program will give the optimal $\alpha$.