Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§2, pp. 94–95 — the solution rebuilt from the y*_ij has objective value LB

Proved
RossSolandGAP.Bound.rebuilt_solution_cost

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

generalized-assignmentinteger-programmingknapsackp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Assume the setting of the principal result: m≥2m\ge2m≥2, bi>0b_i>0bi​>0, rij≥0r_{ij}\ge0rij​≥0, a cheapest-agent selection j↦ijj\mapsto i_jj↦ij​, and optimal solutions yi∗y^*_iyi∗​ of (PKi_ii​) for i∈I′i\in I'i∈I′. For every task jjj let kj≠ijk_j\ne i_jkj​=ij​ be an agent with pj=ckjj−cijjp_j=c_{k_jj}-c_{i_jj}pj​=ckj​j​−cij​j​. Build x′x'x′ from the (PR) solution: every task jjj with ij∈I′i_j\in I'ij​∈I′ and yijj∗=1y^*_{i_jj}=1yij​j∗​=1 is taken from iji_jij​ (xijj′=0x'_{i_jj}=0xij​j′​=0) and given to kjk_jkj​ (xkjj′=1x'_{k_jj}=1xkj​j′​=1); every other task stays with iji_jij​. Then x′x'x′ is feasible for (PR) and

∑i∈I∑j∈Jcijxij′=LB.\sum_{i\in I}\sum_{j\in J}c_{ij}x'_{ij}=\mathrm{LB}.i∈I∑​j∈J∑​cij​xij′​=LB.

Consequently, if x′x'x′ also satisfies the resource constraints, i.e. is feasible for (P), it is an optimal solution of (P).

The construction is how the algorithm finds candidate incumbents: the knapsack solutions say which tasks to move, and the move costs exactly the penalty.

Formalization Note The optimality conclusion combines the cost identity with the principal result, so it carries the same hypotheses (rij≥0r_{ij}\ge0rij​≥0, bi>0b_i>0bi​>0, m≥2m\ge2m≥2). Agents and tasks are 0-based.

Preamble
import Mathlib
import Definitions.Def_RossSolandGAP_Bound_Model
open Finset
Formal statement
namespace RossSolandGAP.Bound

theorem rebuilt_solution_cost {m n : ℕ} (hm : 1 < m) (c r : Fin m → Fin n → ℝ)
    (b : Fin m → ℝ) (hb : ∀ i, 0 < b i) (hr : ∀ i j, 0 ≤ r i j)
    (a : Fin n → Fin m) (ha : IsCheapest c a) (ystar : Fin m → Fin n → ℝ)
    (hystar : ∀ i ∈ Iprime r b a, IsOptPK hm c r b a i (ystar i))
    (k : Fin n → Fin m) (hk : ∀ j, k j ≠ a j ∧ pen hm c a j = c (k j) j - c (a j) j) :
    FeasiblePR (rebuilt r b a ystar k) ∧
    cost c (rebuilt r b a ystar k) = LB hm c r b a ystar ∧
    (FeasibleP r b (rebuilt r b a ystar k) →
      ∀ x, FeasibleP r b x → cost c (rebuilt r b a ystar k) ≤ cost c x) := by sorry

end RossSolandGAP.Bound
Source
Ross & Soland, A Branch and Bound Algorithm for the Generalized Assignment Problem, Mathematical Programming 8, 1975, pp. 94-95, §2, paragraph after the display LB
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me