Given: Set $N = \{0, \ldots, n-1\}, k \in \mathbb{N}, d_{ij} \geq 0$ with $d_{ii} = 0$.
Task: Find subset $C \subseteq N, |C| \leq k$ that minimizes $\max_{i \in N} \min_{j \in C} d_{ij}$.
Idea: I define $x_i$ with $x_i = 1$ if $i \in C$ and zero otherwise, constrained by $\sum_{i \in N} x_i \leq k$.
Now I want to define $w_i$, constrained with $w_i \geq d_{ij}$ for one arbitrary $j$ with $x_j = 1$. Here lies my biggest problem. I can write these things in python but not as a linear program. No matter what I try, I lose linearity or something else in my formulation.
If I can do this step, I could define $y$, constrained by $y \geq w_i$ for every $i \in N$ and minimize $y$.
I think I have a major flaw in my idea, but after thinking a lot about it, I can't come up with a different approach, probably because this is the first LP I have to write.
Does anyone have any idea as to how I could formulate my problem as an LP?