Back to projects

MaritimeHack — Smart Fleet Selection

MILP optimization model for selecting optimal chemical tanker fleet to transport bunker fuel from Singapore to Australia

Feb 2026 · Competition model

PythonMILPOptimizationMonte CarloOperations Research

Overview

Built at Maritime Hackathon 2026 with Team REPmonkeys (Category A), this project solves the optimal fleet selection problem for Chemical/Products Tankers transporting bunker fuel from Singapore to Port Hedland (Australia West Coast), minimising cost while meeting safety, emissions, and fuel-diversity constraints.

Achievement

Maritime Hackathon 2026 — 1st Runner-Up

Approach

We solve the problem in two stages:

  1. Base MILP: Binary integer linear program minimising total fleet cost under current assumptions (21 vessels, $19.7M/month)
  2. Min-Max Robust MILP: Stress-tests the base solution across 4 scenarios (carbon price $80-$160/t, safety threshold 3.0-4.0), then selects one fleet that minimises worst-case cost (22 vessels, $20.8M base / $21.7M worst-case)

In the competition model, we selected the robust fleet—5.4% higher base cost buys resilience against carbon price doubling and stricter safety regulation, with 10% lower emissions and a safety score of 4.0.

Modelled Results (Robust Fleet)

  • Fleet size: 22 vessels
  • Base-scenario cost: $20,765,143/month
  • Worst-case cost: $21,705,607/month
  • Avg safety score: 4.00
  • CO2-equivalent: 11,756 tonnes
  • Fuel types: All 8

Technical Highlights

Data Pipeline

  • AIS data processing for vessel modes, load factors, fuel consumption, and emissions
  • 108 vessels with pre-computed costs as pipeline input

Cost Model

4-component cost model:

  • Fuel costs
  • Carbon costs
  • CAPEX allocation
  • Risk premiums

Optimization

  • Base MILP solver for minimum-cost fleet selection
  • Min-max robust MILP for scenario-resilient solutions
  • Sensitivity analysis: safety/carbon/Pareto sweeps, shadow prices, diversity analysis

Analysis & Visualization

  • Pareto frontier charts
  • MACC (Marginal Abatement Cost Curve)
  • Fleet composition breakdowns
  • Carbon price sensitivity sweeps

Tech Stack

  • Optimization: Python with MILP solvers
  • Data Processing: Pandas, NumPy
  • Visualization: Matplotlib for charts
  • Testing: pytest (comprehensive test suite)

Project Structure

MaritimeHack/
├── run.py                    # Main pipeline
├── run_sensitivity_analysis.py
├── src/
│   ├── constants.py          # SOP parameters
│   ├── data_loader.py        # AIS data processing
│   ├── cost_model.py         # 4-component cost model
│   ├── optimization.py       # Base + robust MILP solvers
│   ├── sensitivity.py        # Sweeps and analysis
│   └── charts.py             # Visualization
├── data/processed/           # 108 vessels dataset
├── outputs/                  # Results, charts, submission
└── docs/                     # Full documentation