Left to Solve
Problems / MathOverflow (not formalized)

Is this (funny) combinatorial optimization problem NP-hard ? (cutting numbers and placing them in urns)

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

The parameters of the problem are numbers which are integers (these numbers are denoted ), urns and in each urn, we can place numbers. We assume so that the problem is feasible.

Let's take an example with numbers (with , , ) and urns with capacity . The problem consists to cut the numbers in order to have parts. The cut must preserve each number, for example we have parts by doing:

• .

• .

• .

Then we must place these numbers in the urns (knowing that each urn has a capacity of ), for example:

• Urn 1: (2) - (3) - (2) - (1)

• Urn 2: (1) - (1) - (2) - (1)

The cost of any solution is defined as the sum of the biggest numbers in each urn, in this case: .

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 …

Posed by user2370336 · co.combinatorics, discrete-mathematics, combinatorial-optimization

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-212623.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-212623.lean

import Mathlib

/-!
# Is this (funny) combinatorial optimization problem NP-hard ? (cutting numbers and placing them in urns)

Source: https://mathoverflow.net/questions/212623
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_212623

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_212623