teleo-codex/domains/internet-finance/general-jssp-is-np-complete-for-more-than-two-machines-making-optimal-scheduling-computationally-intractable-at-scale.md
Teleo Pipeline 3060d749ab extract: 2023-00-00-sciencedirect-flexible-job-shop-scheduling-review
Pentagon-Agent: Ganymede <F99EBFA6-547B-4096-BEEA-1D59C3E4028A>
2026-03-15 15:17:41 +00:00

45 lines
No EOL
2.7 KiB
Markdown

---
type: claim
domain: internet-finance
description: "Classical job shop scheduling becomes computationally intractable beyond trivial cases, forcing approximation methods"
confidence: proven
source: "ScienceDirect review article on Flexible Job Shop Scheduling Problem, 2023; established operations research result"
created: 2026-03-11
---
# General JSSP is NP-complete for more than two machines making optimal scheduling computationally intractable at scale
The classical Job Shop Scheduling Problem (JSSP) is NP-complete for m > 2 machines, meaning no polynomial-time algorithm exists to find optimal schedules as problem size grows. This computational intractability is why metaheuristics (genetic algorithms, simulated annealing, tabu search) dominate practical scheduling applications—they sacrifice optimality guarantees for tractable computation time.
The complexity arises from:
1. **Combinatorial explosion** — n jobs with m operations each creates (n!)^m possible schedules
2. **Interdependencies** — operation sequencing constraints create complex constraint satisfaction problems
3. **Machine assignment** — in flexible variants, choosing which machine processes each operation adds another decision layer
This is a foundational result in operations research and computational complexity theory, with practical implications for any system attempting to optimize resource allocation across multiple stages with precedence constraints.
## Evidence
The ScienceDirect review states: "Classical Job Shop Scheduling Problem (JSSP): n jobs, m machines, fixed operation-to-machine mapping, NP-complete for m > 2."
This is a well-established result in complexity theory. The proof shows that JSSP reduces to the Hamiltonian path problem, which is known to be NP-complete.
The review notes that "solution approaches: metaheuristics (genetic algorithms, simulated annealing, tabu search) dominate for NP-hard instances" precisely because optimal algorithms are computationally intractable.
## Implications
For AI agent coordination systems:
- **General multi-agent task allocation** is computationally hard when agents have different capabilities and tasks have complex dependencies
- **Structured pipelines** (flow-shop, hybrid flow-shop) are computationally easier because they constrain the problem space
- **Approximation methods** are not just pragmatic compromises—they're necessary for real-time operation at scale
The computational complexity of scheduling is why pipeline architectures with fixed stage sequences are attractive: they trade flexibility for tractability.
---
Relevant Notes:
- domains/internet-finance/_map
Topics:
- core/mechanisms/_map
- foundations/collective-intelligence/_map