p. 948 — for M, C, S > 0, X = √(240MS/C) is the unique minimizer over X > 0 of Y = (1/240M)(CX + S) + S/X + C
ProvedHarrisEOQ.Lot.economic_lot_sizeeconomic-order-quantityinventoryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1square-root-formula
Let be the number of units used per month, the unit cost in dollars and the set-up cost of an order in dollars. For a lot size the whole cost of a unit is
Let . Then
- , so is an admissible lot size;
- for every ;
- if and , then .
In words, the value of that gives the minimum value to is the square root of divided by , and it is the only such value. This is the square-root (economic order quantity) formula, the main claim of the paper; Harris states it without proof.
Formalization Note The page does not state ; they are implicit in the meaning of a usage rate, a price and a cost, and are added as hypotheses. Lot sizes range over the real numbers : in Lean , so admitting would make the statement false.
Preamble
import Mathlib import Definitions.Def_HarrisEOQ_Lot_Setting
Formal statement
namespace HarrisEOQ.Lot
theorem economic_lot_size (M C S : ℝ) (hM : 0 < M) (hC : 0 < C) (hS : 0 < S) :
0 < econLotSize M C S ∧
(∀ X : ℝ, 0 < X → costPerUnit M C S (econLotSize M C S) ≤ costPerUnit M C S X) ∧
(∀ X : ℝ, 0 < X → costPerUnit M C S X = costPerUnit M C S (econLotSize M C S) →
X = econLotSize M C S) := by sorry
end HarrisEOQ.Lot
Source
Harris, How many parts to make at once, Operations Research 38(6) (1990), p. 948, the display Y (foot of the left column) and the sentence following it (top of the right column: "the value for X that will give the minimum value to Y, reduces to the square root of (240MS divided by C)")
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.