Skip to main content

Precast Scheduling

Permutation Flow Shop · Prefabrication · Fm | prmu | Cmax

Construction · Schedule & Sequence · Tactical

Precast concrete elements, prefab modular units, and factory-built structural assemblies all flow through a fixed sequence of production stations: casting → curing → finishing → quality control → delivery. When every element visits the stations in the same order, the production line is a classical permutation flow shop \( F_m \mid prmu \mid C_{\max} \) — one of the most-studied problems in scheduling OR. The optimal sequence of elements minimises the delivery-ready time (makespan) of the entire batch. Chan & Hu (2002) and Leu & Hwang (2002) adapted the classical Nawaz, Enscore & Ham (1983) NEH heuristic to precast plants, delivering near-optimal sequences for real-world batches of 20–50 elements per day.

Where This Decision Fits

Offsite production planning — the highlighted step is what this page optimises

Element DesignGeometry & mix
Daily BatchWhich elements today
Flow-Shop SequenceOrder through stations
Delivery MatchTo site erection
ErectRCPSP on site

The Problem

Sequence n elements through m identical-order stations

A precast plant has \( m \) stations (casting bed, steam-cure chamber, stripping area, quality check, yard staging). \( n \) elements must be produced today, each with a known processing time \( p_{ij} \) at station \( j \). All elements visit stations in the same order \( 1, 2, \ldots, m \) (permutation flow shop). The scheduling decision is the sequence \( \pi \) — a permutation of \( \{1, \ldots, n\} \) — in which elements are released to the line. Once \( \pi \) is chosen, each element's start time at each station is determined by chaining.

Permutation flow shop — makespan minimisation $$ C_{[k], j} \;=\; \max\!\Big(C_{[k-1], j}, \; C_{[k], j-1}\Big) + p_{[k], j} $$ $$ C_{[k], 1} \;=\; C_{[k-1], 1} + p_{[k], 1}, \quad C_{[0], j} = 0, \quad C_{[1], j} = \sum_{j'=1}^{j} p_{[1], j'} $$ $$ \min_{\pi}\; C_{\max}(\pi) \;=\; C_{[n], m} $$

Here \( [k] \) is the element at position \( k \) in the permutation, so \( C_{[k], j} \) is the finish time of the \( k \)-th processed element at station \( j \). The recurrence is left-max-of-(up, down) — the element can only start at station \( j \) once the previous element has left it and it has finished at station \( j-1 \).

For \( m = 2 \) stations, Johnson (1954) gave an exact \( O(n \log n) \) algorithm. For \( m \ge 3 \), the problem becomes strongly NP-hard; Nawaz, Enscore & Ham (1983)'s NEH heuristic remains the best-known constructive method and is what this page's solver uses. Chan & Hu (2002) and Leu & Hwang (2002) demonstrated NEH's effectiveness on real precast plants with 3–5 stations and daily batches of 20–60 elements.

See base RCPSP — precedence without the flow-shop structure

Try It Yourself

Compare NEH, Johnson (if 2 stations), and a random sequence

Precast Flow-Shop Scheduler

10 Elements · 4 Stations
NEH (Nawaz-Enscore-Ham 1983)
Johnson's Rule (2-station exact)
Random sequence (baseline)

Pick a scenario and algorithm, then click Sequence.

The Algorithms

From Johnson's rule to NEH to modern metaheuristics

Exact (m=2)

Johnson's Rule (1954)

O(n log n) for 2 stations; also optimal for m=3 under restrictive conditions

Johnson (1954)'s elegant result: for a 2-station flow shop, partition elements into those with \( p_{i1} \le p_{i2} \) and those with \( p_{i1} > p_{i2} \); sort the first group by ascending \( p_{i1} \), the second by descending \( p_{i2} \), concatenate. Provably optimal for \( m = 2 \). For \( m = 3 \) it is optimal only when the middle station is dominated — a condition rarely met in real precast plants.

Heuristic (m\u22653)

NEH (Nawaz-Enscore-Ham 1983)

O(n\u00b2 m) constructive insertion

Sort elements by decreasing total processing time \( \sum_j p_{ij} \). Seed the sequence with the two longest; for each subsequent element, try inserting it at every position and keep the position that gives the lowest makespan so far. After 40+ years of benchmarking, NEH still delivers within 3–5% of optimum on the Taillard benchmarks — outstanding for an O(n\u00b2m) constructive. Chan & Hu (2002) adapted it directly to precast plants. This is the default algorithm on this page.

Metaheuristic

Iterated Greedy (Ruiz-Stützle)

Iterative · destroy-d + NEH-reinsertion

For larger plants (80+ elements/day), Ruiz & Stützle (2007)'s Iterated Greedy beats NEH by another 1–2%. Repeatedly remove \( d \) random elements and re-insert them NEH-style; accept the new sequence by a Metropolis criterion. The state of the art for PFSP; implementable in Python in 50 lines.

Real-World Complexity

Why real precast plants go beyond textbook PFSP

Beyond Standard Flow Shop

  • Curing is time-constrained — Concrete must cure for a minimum duration and cannot be stripped before a quality threshold. This is a no-wait or time-window flow shop (Hall & Sriskandarajah 1996 classification).
  • Parallel beds per station — A plant with 4 casting beds + 1 cure chamber is a hybrid flow shop, not pure permutation; the HFS variants (Ribas et al. 2010) apply.
  • Element-to-mould compatibility — Not every element fits every mould. A setup cost is incurred when consecutive elements use different moulds; sequence-dependent setup-time variants (SDST-FSP, Ruiz & Andrés 2007) apply.
  • Delivery-time-window coordination — Late elements delay site erection; early ones clog yard staging. Ko & Wang (2010) integrated precast production with delivery scheduling via genetic algorithms.
  • Demand-driven small batches — Modern modular construction (Katerra-style) targets small batches with rapid mix changes, stressing setup-cost modelling.
  • Material availability — Reinforcing steel, prestressing strands, and special-mix additives all have lead times; truly integrated plants solve joint procurement + sequencing problems.

Related Scheduling Variants

Precast is the offsite-production sibling of on-site RCPSP

RCPSP — site erection. Once precast elements leave the plant, site installation is a classical RCPSP with precedence (erection sequence) and renewable resources (cranes). → Open Project Scheduling
Linear / LOB Scheduling. If the precast plant itself has a repetitive station layout (pallet-carousel), LSM applies more naturally than flow-shop. → Open Linear Scheduling
Time-Cost Tradeoff. Steam vs ambient curing, premium mixes for faster strength — mode choice at the curing station. MRCPSP applies. → Open Time-Cost Tradeoff
Stochastic Variants. Cure times are weather-sensitive (ambient cure) and test-dependent (quality checks fail). Stochastic PFSP applies. → Open Stochastic RCPSP
Material Procurement. Reinforcing steel, strands, and cement procurement timing feeds into the plant. Wagner-Whitin lot sizing sits upstream. → Open Material Procurement
Equipment Routing. Moving finished elements from plant to site is a heterogeneous-fleet VRP with oversized-load permits. → Open Equipment Routing

Key References

Cited above · DOIs & permanent URLs

Johnson, S. M. (1954).
“Optimal two- and three-stage production schedules with setup times included.”
Naval Research Logistics Quarterly, 1(1), 61–68. (The original 2-station exact flow-shop algorithm.) doi:10.1002/nav.3800010110
Nawaz, M., Enscore Jr, E. E., & Ham, I. (1983).
“A heuristic algorithm for the m-machine, n-job flow-shop sequencing problem.”
OMEGA, 11(1), 91–95. (NEH — still the benchmark constructive heuristic 40 years on.) doi:10.1016/0305-0483(83)90088-9
Chan, W. T., & Hu, H. (2002).
“Production scheduling for precast plants using a flow shop sequencing model.”
Journal of Computing in Civil Engineering, 16(3), 165–174. (The canonical application of NEH to precast.) doi:10.1061/(ASCE)0887-3801(2002)16:3(165)
Leu, S. S., & Hwang, S. T. (2002).
“GA-based resource-constrained flow-shop scheduling model for mixed precast production.”
Automation in Construction, 11(4), 439–452. (Extension to mixed-element mould constraints.) doi:10.1016/S0926-5805(01)00083-8
Ko, C. H., & Wang, S. F. (2010).
“GA-based decision support system for precasting production scheduling.”
Automation in Construction, 19(7), 907–916. (Integrated production + delivery scheduling for precast.) doi:10.1016/j.autcon.2010.06.004
Hall, N. G., & Sriskandarajah, C. (1996).
“A survey of machine scheduling problems with blocking and no-wait in process.”
Operations Research, 44(3), 510–525. (No-wait and blocking flow-shop classification, relevant to cure constraints.) doi:10.1287/opre.44.3.510
Ruiz, R., & Stützle, T. (2007).
“A simple and effective iterated greedy algorithm for the permutation flowshop scheduling problem.”
European Journal of Operational Research, 177(3), 2033–2049. (State-of-the-art metaheuristic for PFSP.) doi:10.1016/j.ejor.2005.12.009
Ribas, I., Leisten, R., & Framinán, J. M. (2010).
“Review and classification of hybrid flow shop scheduling problems.”
Computers & Operations Research, 37(8), 1439–1454. (Hybrid flow-shop classification for parallel-bed plants.) doi:10.1016/j.cor.2009.11.001
Taillard, E. (1993).
“Benchmarks for basic scheduling problems.”
European Journal of Operational Research, 64(2), 278–285. (The Taillard benchmark set used across PFSP research.) doi:10.1016/0377-2217(93)90182-M

Running a precast plant or modular factory?

From daily sequencing to integrated production-and-delivery scheduling, OR turns precast plants from craft-based to data-driven. Let's discuss how Operations Research can work for your precast or prefab operation.

Disclaimer
Element types, processing times, and station counts are illustrative values chosen to demonstrate the PFSP algorithms. Real precast plants involve parallel beds, curing windows, mould-compatibility constraints, and delivery coordination not captured in the simple model shown here.
Back