I am currently trying to solve the following Problems:
I have a given a set of values. I want to find a partition of the set into a fixed number of subsets, so that the maximum ratio between the minimal and maximal value in the subsets becomes minimal. In case this was confusing, a more mathematical description:
Given $S=\{a_1,a_2,\ldots ,a_{n1}\}$ with $a_i\geq 0$, I want to find subsets $S_1,S_2,\ldots ,S_{n2}\subset S$ so that $S_1\cup S_2\cdots \cup S_{n2}=S$ that minimize $\max \limits _{1\leq i\leq n2}\dfrac{a^i_{max}}{a^i_{min}}$.
I want to find a partition into a minimal amount of subsets without a fixed number of subsets $n2$ for which $\max \limits _{1\leq i\leq n2}\dfrac{a^i_{max}}{a^i_{min}}\leq c$, for some constant $c\geq 1$.
Do these problem have a name that I can research? Any tips in general?
I am grateful for anything.
Here's a mixed integer linear programming formulation for the first problem. Let $b_i = \log a_i$. Let $L = \min_i b_i$ and $U = \max_i b_i$. Let binary decision variable $x_{i,j}$ indicate whether item $i$ is assigned to set $j$. The problem is to minimize $z$ subject to \begin{align} \sum_j x_{i,j} &= 1 &&\text{for all $i$} \tag1 \\ \sum_i x_{i,j} &\ge 1 &&\text{for all $j$} \tag2 \\ u_j &\ge b_i x_{i,j} + L (1-x_{i,j}) &&\text{for all $i$ and $j$} \tag3 \\ v_j &\le b_i x_{i,j} + U (1-x_{i,j}) &&\text{for all $i$ and $j$} \tag4 \\ z &\ge u_j - v_j &&\text{for all $j$} \tag5 \end{align} Constraint $(1)$ assigns each item to exactly one set. Constraint $(2)$ assigns at least one item to each set. Constraint $(3)$ enforces $u_j \ge \max_{i:x_{i,j} = 1} b_i$. Constraint $(4)$ enforces $v_j \le \min_{i:x_{i,j} = 1} b_i$. Constraint $(5)$ implements the minimax objective.