Eq. (11) — the cost of an interchange under the order-preserving assumption (8)
ProvedGilmoreGomoryTSP.MinCost.eq_11_interchange_costp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1sequencingtraveling-salesman
Let be locally integrable with , let be the states of the jobs and any permutation. For jobs assume (8): and . Then the cost of the interchange is
where (and ).
In particular for interchanges that create a crossing; this formula is the computational core of the algorithm (step P4).
Formalization Note The right-hand side is the set integral of over , which is when the intersection is empty or a point. The case "with the reverse order, preceded by a minus sign" is not part of this item.
Preamble
import Mathlib import Definitions.Def_GilmoreGomoryTSP_MinCost_Model
Formal statement
namespace GilmoreGomoryTSP.MinCost
theorem eq_11_interchange_cost {n : ℕ}
(f g : ℝ → ℝ) (hf : MeasureTheory.LocallyIntegrable f) (hg : MeasureTheory.LocallyIntegrable g)
(hfg : ∀ x, 0 ≤ f x + g x) (A B : Fin (n + 1) → ℝ)
(ψ : Equiv.Perm (Fin (n + 1))) (i j : Fin (n + 1))
(hBij : B i ≤ B j) (hAij : A (ψ i) ≤ A (ψ j)) :
interchangeCost f g A B ψ i j =
∫ x in Set.Icc (B i) (B j) ∩ Set.Icc (A (ψ i)) (A (ψ j)), (f x + g x) := by sorry
end GilmoreGomoryTSP.MinCost
Source
Gilmore and Gomory, Sequencing a one state-variable machine, Oper. Res. 12 (1964), p. 659, Eqs. (8) and (11)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.