DEV Community

尤煒立
尤煒立

Posted on

Why LLMs Fail at Project Scheduling (CPM) and How We Fixed It with Graph Theory published: true tags: python, ai, architecture, productivity

Why LLMs Fail at Project Scheduling (CPM) and How We Fixed It with Graph Theory

If you have ever tried asking ChatGPT or Claude to generate a 120-task master construction schedule, you noticed three fatal flaws:

  1. Broken Dependency Loops: Tasks that depend on each other cyclically.
  2. Calendar Blindness: Scheduling concrete curing over national holiday shutdowns.
  3. Output Friction: Outputting raw text instead of native Microsoft Project (.mpp).

Here is how we solved this problem using a decoupled AI Agent Skill and a deterministic graph engine in Python.

Decoupled Architecture

  • Semantic Parsing (LLM) -> Deterministic CPM Engine (Kahn's Algorithm) -> Native .mpp Export.

Try the Web Demo & Samples

Top comments (0)