Back to Case Studies

Building an AI Department for a Metallurgical Plant

Logistics Rate Optimisation and Market-Driven Demand Forecasting

ProductionManufacturing & IndustryLogistics & ShippingMar 2023 – Feb 2024MLOps, Infrastructure & Data Science
Up to 8%
Lower logistics costs
3
AI engineers in the department I built
2
Use cases: logistics and demand
From zero
Team, data foundation, roadmap and MLOps

My Role

Role
Independent consultant, AI department lead
Independent consulting
Team
Me + 3 engineers I hired
Stage reached
In production, two use cases
Key decisions
  • Logistics rates as the department's first use case
  • Small senior team of three, not a big hire
  • Demand forecast driven by customers' market trends

Approach at a Glance

Details
  1. 1Small, Senior Team
  2. 2Data Foundation First
  3. 3AI Roadmap and Processes
  4. 4Logistics as the First Use Case
  5. 5Forecasting the Customers' Customers

Executive Summary

As an independent consultant, I built and led an AI department from scratch for a metallurgical plant in Ukraine from March 2023 to February 2024. That meant everything a new department needs:

  • the team: structure, hiring and onboarding of three engineers;
  • a data foundation from the plant's ERP and logistics data;
  • an AI roadmap with a prioritised portfolio of use cases;
  • processes and MLOps for how models are built, deployed and monitored.

I chose logistics rate optimisation as the department's first use case, because it could prove its value quickly and in money. Freight rate forecasting, carrier and route selection, shipment consolidation and tender support together cut logistics costs by up to 8%. The second use case was demand forecasting. For a metal producer, it means forecasting the demand of the plant's customers' customers, from general market trends.

In 2024, I applied the same playbook at a textile factory: see Building an AI Department for a Textile Factory.


Client Profile

The client is a metallurgical plant that ships heavy, bulky products to industrial customers. Logistics is a large share of its costs, and freight rates change with fuel, season, carriers and the market. Demand is volatile, because it depends on what the plant's customers produce and sell.

Starting AI in a company like this has its own problems:

  • No AI team and no AI processes. Everything had to be built from zero: people, tooling and the way work gets done.
  • Data is scattered. Production, sales and logistics data live in the ERP and in separate operational records, not in a form models can use.
  • A new department must prove itself fast. Management needs to see measurable value before investing further.
  • Demand is indirect. A metal plant's orders follow its customers' markets, such as construction or manufacturing, so its own history alone doesn't explain demand.

Technical Approach

  1. Small, Senior Team – Instead of a large hire, I built a team of three engineers with a clear structure and onboarding. A small, senior team could cover data engineering, modelling and deployment for a first set of use cases, without the overhead of a big department before it had proved itself.

  2. Data Foundation First – Before any model, we brought together the plant's ERP, sales and logistics data: shipments, carriers, rates, routes and orders. Every later use case depended on this foundation, and building it first kept the department from building models on data nobody trusted.

  3. AI Roadmap and Processes – I set up an AI roadmap with a portfolio of use cases ranked by value and feasibility, plus the department's processes and MLOps: how a use case goes from idea to a deployed, monitored model.

  4. Logistics as the First Use Case – I chose logistics rates to start, because savings are direct, measurable and visible to management. It had four parts:

    • Freight rate forecasting with gradient boosting and time-series models, to anticipate carrier prices.
    • Carrier and route selection with linear and mixed-integer programming, choosing the cheapest feasible combination for each shipment.
    • Load and shipment consolidation: fewer, fuller shipments.
    • Tender and negotiation support: rate benchmarks for negotiating with carriers and suppliers.

    Together, they reduced logistics costs by up to 8%.

  5. Forecasting the Customers' Customers – Demand for metal is driven downstream. I designed the demand forecast to look beyond the plant's own order history and include general market trends in the industries its customers serve, so the model forecasts what the plant's customers will need based on their own markets.


Business Outcome

The plant went from no AI capability to a working AI department in a year: a team of three engineers, a data foundation, a roadmap and the processes to deliver models into production. Its first use case cut logistics costs by up to 8%, and its demand forecast brought downstream market trends into planning.

Starting with logistics was the decision that mattered most. A use case with direct, measurable savings proved the department's value early, and gave it the trust to take on harder problems like demand.

Technologies

Gradient BoostingTime-Series ForecastingLinear & Mixed-Integer ProgrammingData EngineeringERP & Logistics DataMarket IndicatorsMLOps

Planning something similar?

Tell me about it on a short call. New projects can start within 2 weeks