The parameters of the problem are $m$ numbers which are integers (these numbers are denoted $b_i$), $n$ urns and in each urn, we can place $C$ numbers. We assume $nC \geq m$ so that the problem is feasible.
Let's take an example with $m=3$ numbers (with $b_1=1100$, $b_2=540$, $b_3=170$) and $n=2$ urns with capacity $C=4$. The problem consists to cut the $m$ numbers in order to have $nC$ parts. The cut must preserve each number, for example we have $nC=8$ parts by doing:
- $b_1=100+400+450+150$.
- $b_2=100+40+400$.
- $b_3=170$.
Then we must place these $nC$ numbers in the urns (knowing that each urn has a capacity of $C=4$), for example:
- Urn 1: $40$ (2) - $170$ (3) - $100$ (2) - $450$ (1)
- Urn 2: $100$ (1) - $150$ (1) - $400$ (2) - $400$ (1)
The cost $f$ of any solution is defined as the sum of the biggest numbers in each urn, in this case: $f=450+400=850$.
The goal of the problem is to decide how to cut the numbers and how to gather them in the urns in order to minimize the cost (actually, I have no idea what is the optimal solution of the previous instance).
I am not looking for an algorithm to solve this problem but I am wondering if this problem is NP-hard. Maybe this problem can be linked with another combinatorial optimization problem ?
I already searched and all that I could find is that the problem is easy if $n=1$ (and we still assume $C \geq m$) and that there is a polynomial algorithm in that case.
Thank you very much!