Efficient algorithm for rearranging a warehouse?
Statement
My problem is as follows. I have a warehouse and a set of articles . For each article I have two shelves assigned, one where it lies now and one where it should lie in the future . One person has to move the articles. The possible locations each article at each step are the old location, the new location, and one extra shelf that can serve as an intermediate storage. The functions and are not necessarily injective because multiple articles can lie on a shelf.
The question now is to find an order of moving the articles that minimizes a linear combination of
• the number of steps and
• the total distance the person has to move.
Of course, one has to take care that when the mover moves an article to a shelf, there should be enough space on the shelf.
Have you heard of any efficient algorithm for solving this problem? Or any papers on the matter?
Thank you in advance!
Posed by karu · graph-theory
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-255507.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-255507.lean
import Mathlib /-! # Efficient algorithm for rearranging a warehouse? Source: https://mathoverflow.net/questions/255507 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_255507 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_255507