Airplane Package Scheduler (TEMOO Cargo)

Dijkstra + branch-and-cut

Airplane Package Scheduler (TEMOO Cargo)

TEMOO Cargo: A logistics route optimization simulator implemented in JavaScript and Haskell solving multi-constraint cargo scheduling.

About the Project

TEMOO Cargo is an expedited air cargo logistics simulator developed to evaluate and compare imperative (JavaScript/Node.js) and functional (Haskell) programming paradigms when solving complex graph routing problems. The system models a commercial shipping network headquartered at a central hub airport with scheduled deliveries across Canadian destination nodes.

The routing engine processes JSON distance matrices and flight constraints, accounting for airplane weight limits, cruise speed, fuel boundaries, package deadlines (strict 24-hour delivery windows), and mandatory round-trip return journeys. It employs shortest-path algorithms (Dijkstra and Floyd–Warshall) to navigate multi-hop trajectories, alongside backtracking and branch-and-cut optimization algorithms to discover schedules that minimize total flight distance and fuel consumption while guaranteeing zero late packages.

Key Features & Engineering Highlights

  • Dual implementation in JavaScript (Node.js) and pure functional Haskell for comparative paradigm analysis
  • Graph-based airport network model using 2D distance matrices and multi-hop weighted paths
  • Multi-constraint optimization: aircraft payload capacity, flight speed/range, and strict 24-hour package delivery deadlines
  • Branch-and-cut / backtracking route permutation engine exploring global schedule efficiencies
  • Comprehensive validation verifying zero payload overages and deadline adherence

Related Projects

Other work that shares technologies or themes with Airplane Package Scheduler (TEMOO Cargo).