I have the following problem: I need to find the optimal Bluetooth frequency configuration for a set of positions, where each position must have a different sender frequency and the minimum threshold for detecting all signals shall be as large as possible.
Or, to transfer it to a strictly mathematical description:
Let $x = 1\dots M$ be $M$ different positions and $y = 1\dots N$, $N\geq M$, be $N$ different frequency channels. For each position and each channel, the signal strength is $S_{xy}$.
Now, for each position, a channel shall be selected, so that no channel shall be used on more than one position. Let us call this set $S = \{S_{1y_1}, S_{2y_2}, \dots S_{My_M}\}$, where all the $S_{1y_1}, \dots S_{My_M}$ shall be different.
Let $S_{\min} = \min(S)$ be the lower bound of the set $S$. I want to find the set that maximizes $S_{\min}$.
Example: For three positions and four channels, assume the matrix $S_{xy}$ to be: $$\begin{array}{cccc} 8 &9 &7 &6\\ 5 &6 &9 &4\\ 8 &2 &3 &7\\ \end{array} $$ A possible set would be $\{S_{11}= 8, S_{22} = 6, S_{34} = 7\}$, where $S_{\min} = 6$. This is, however, not the optimal set, which would be $\{S_{12}= 9, S_{23} = 9, S_{31} = 8\}$, where $S_{\min} = 8$.
I know there is a solution to a similar problem, where the sum of all elements of S shall be maximized (or minimized), known as the Hungarian algorithm, but I am not aware of a solution for this problem. A brute force attempt, being $\mathcal{O}(n!)$, is forbiddingly costly, so my question is if there is a known (polynomial) solution to this problem.