Where to produce, how much to store and how to distribute at minimum cost. Your planner solves it without writing equations, with an Excel template, SOT II 2026 and artificial intelligence, in seconds.
lower transport cost than the actual plan in a large Spanish agricultural company. See the case
Optimizing with mathematical programming usually means a specialist writes the model, and must be called back every time something changes. Not with SOT II 2026.
Fill in an Excel template with your network: plants, warehouses, customers, products, costs and capacities.
Writes every equation of the model automatically and solves it, even with hundreds of thousands of variables.
Get the optimal plan in Excel, in a report you can query with AI, or in an interactive dashboard.
A cost, a capacity or demand changes? Change it in Excel and solve again. No waiting for anyone.
The real case
lower transport cost than the plan actually executed
with new capacities
with expanded storage
Large Spanish agricultural company: 18 plants and warehouses, 5 products and 12 months, in a model with 5,247 constraints and 75,105 variables. Case published by Springer (2019).
Why SOT II 2026
A model with 369,540 variables and 93,552 constraints is solved in 14 seconds with the free HiGHS solver on a desktop PC. Replan in minutes, not days.
Your planner builds the model from an Excel template, changes it and re-solves it on their own. They write no equations and need no consultant to build the model for them.
Any network of plants, warehouses, transport and customers, with many products and transformations, and periods of days, weeks, months or years.
Evaluate closures, expansions or changes in demand and cost before they happen.
Talk to the solution in Claude or ChatGPT with a prompt prepared with the data.
It runs on your computer, with no cloud and no annual subscription; your data never leaves the company. A free solver by default; Xpress or Gurobi if you need them.
Local web application, executive summary, full detail and an interactive results dashboard.
Solved cases
Three models solved with SOT II 2026 and a free solver on an ordinary computer. The figures are the program's actual output, not estimates.
Teaching example from the book Planificación óptima de la producción y la distribución (in Spanish).
| Book example | Real 5-product network (12 months) | Scale test | |
|---|---|---|---|
| Network | 4 origins, 10 destinations | 18 plants and warehouses, 57 aggregated customer locations | 8 plants, 35 warehouses, 1,457 customers |
| Products | 1 | 5 products | 5 |
| Horizon | 1 period | 12-month season, with stock carried between months | 1 period |
| Model size | 54 variables, 14 constraints | 75,105 variables, 5,247 constraints | 27,100 variables, 7,500 constraints |
| Time to optimum, today | 0.1 s | 1.5 s | 1.0 s |
| What it shows | A reference case, solved instantly | A real industrial problem, solved in seconds | Ample headroom for very large networks |
The real network is anonymized: no company, product or customer names, and no costs. The scale test is the book's REAL model, a synthetic case designed to measure capacity. Current times use the free HiGHS solver and include model building.
A new case from the book
In an agri-food group with four plants, the scenario of closing one of them came out infeasible: starch was short, a product that plant did not even make. An AI assistant was asked why.
“The scenario is 4,727 t per year short of processing capacity. Starch is just the product the model chooses to cut.”
The assistant’s answer (translated from Spanish), later checked with SOT II 2026
What was missing was not starch but capacity across the network. With that, the closure was restated with three possible expansions, and SOT II 2026 computed the cost of each:
| To close the plant, expand… | Additional annual variable cost |
|---|---|
| Zaragoza by 30% and its maize line | +€2.32M |
| Albacete by 420 t per month | +€2.63M |
| Valladolid by 500 t per month | +€2.64M |
The closure pays off if the fixed costs it saves exceed that figure plus the cost of the expansion. A case with invented data (CEREAL12), developed in the book. AI explains; the numbers come from the optimizer.
The real network, month by month
In the real agricultural network, production is concentrated in two seasons, and demand is seasonal too, but on a different calendar: it rises in summer and autumn and drops in December, February and August. In a single calculation, SOT II 2026 decides how much to produce and pack, how much to store and in which warehouse, and which flows to ship from each plant and warehouse each month, matching both calendars at minimum cost.
Optimal solution computed with SOT II 2026: 18 plants and warehouses, 57 aggregated customer locations, 12-month season (October to September). Volumes in thousand tonnes. Anonymized data.
Ask the results
Copy a prompt that already contains the anonymized results of the real network, paste it into Claude, ChatGPT or the assistant you use, and ask anything: why stock builds up in a given month, what role each site plays, or what would need recalculating after a change.
Then keep the conversation going with these questions. Each one is copied on its own:
Build-up (October-December). 301.7 kt are produced and 158.8 delivered; stock rises from 186.0 to 328.9 kt. December combines high production (112.3 kt) with the year's lowest deliveries (42.6 kt), because there are no exports that month.
Drawdown (January-May). Production falls to 78.7 kt over five months against 247.2 kt delivered, and stock drops to 160.4 kt.
Second season (June-August). 228.4 kt are produced and 163.8 delivered; stock recovers to 225.0 kt.
Close (September). With almost no production (7.2 kt), stock ends at 172.7 kt, 13 kt below the start.
Where it is held. Most stock is kept as base product (peak of 191.4 kt in December). Product 2 is packed in season and stored packed: its 103.7 kt peak covers 6.6 months of its deliveries, and it ends the year at 41.7 kt, less than half its opening level. Products 3 and 4 are packed almost at the pace of demand and end the year with virtually no stock.
1. Stock is the network's structural lever. Monthly production ranges from 7 to 112 kt while demand only ranges from 43 to 60. A change in storage cost or capacity will move the solution far more than a change in freight rates.
2. Exports act as a seasonal valve. They are served when there is production and cut off in winter and spring. If they were product 2, its domestic deliveries would be flat, between 7 and 11 kt a month; the data suggests this but does not confirm it.
3. The network spreads stock across sites. Sites 01, 08 and 10 produce well above what they ship (site 08: 53.5 kt against 26.7), while sites 02 and 04 ship more than they produce. At the other end, warehouses 16 and 17 barely move 5.4 and 0.1 kt: the first candidates for a closure scenario.
Costs, capacities, stock by site and origin-to-destination flows. Any question about them requires running a scenario in SOT II 2026.
With this data I cannot compute the new optimum: the scenario has to be run in SOT II 2026. I can, however, say what to look for.
10% more demand from June to August means about 16 kt extra. Volume should not be the problem: in May the network still holds 160 kt of stock.
The bottleneck would rather be summer packing of products 3 and 4, which today are packed almost at the pace of demand and end the year with no stock, and perhaps sites already working close to capacity.
To confirm it, simply raise demand for those three months in the template, solve again and check which capacities become saturated and what each extra tonne costs.
Answers by Claude (Anthropic) to this same prompt, October 2026. Each run may be worded slightly differently.
The AI reasons about the solution already computed; it does not recompute it. To evaluate a new scenario with a guaranteed optimum, that scenario is solved in SOT II 2026.
What it solves
Planning production and distribution in a company with several plants, many products and strong seasonality is slow, and replanning when a cost, a capacity or demand changes is slower still. Decisions are usually made with the best intuition available, not with the best possible solution.
SOT II 2026 formulates the whole problem as a linear programming model and solves it in one pass: which market each plant serves, how much it produces and stores in each period, and which flows it ships between plants, warehouses and customers, all at minimum total cost. The result is not just a good solution; it is the model's optimum, and it is defensible.
How it works
Your planner fills in an Excel template with the network: plants, warehouses, customers, products, periods, costs and capacities.
SOT II 2026 writes every equation of the model for you, even with hundreds of thousands of variables.
The solver finds the minimum-cost plan that satisfies every constraint.
Results in Excel and an interactive dashboard, ready to decide and explain.
Who it is for
SOT II 2026 is not built for a single industry: it works wherever you must decide what to produce, where to store it and how to get it to each customer. Some examples:
Which plant packs each format and how to supply retail in peak season without running out of stock.
Harvest seasons concentrated in a few months, intermediate storage and sales spread across the year.
Perishable product with short lead times between plant, cold store and customer.
Heavy product where freight cost decides which plant serves each market.
Seasonal demand, bulk transport and conversion of intermediate products into finished goods.
Refineries, terminals and depots supplied by ship, pipeline or truck.
Raw material scattered across a region, collected and hauled in bulk to several mills.
Regional warehouses, store replenishment and transfers between sites.
The horizon fits the decision.
You define the periods: days or weeks for operations, months for the season or the annual budget, years for investment, expansion or closure decisions. The same model links the periods through the stock carried from one to the next.
How we work
About the author
Telecommunications Engineer (Ingeniero Superior de Telecomunicación, a master's-level degree) and PhD in Economics. Associate Professor (Profesor Titular) at the University of Alcalá, Spain, where he has taught mathematics, operations research and energy economics.
Thirty-five years at the CEPSA group (now Moeve), from operations research analyst and project lead to CFO of Refining, with twenty years of responsibility for budgeting and management control and seats on several boards of directors. He has developed more than twenty software systems for management control and operations research.
Planificación óptima de la producción y la distribución (in English: Optimal Production and Distribution Planning).
Enrique Parra Iglesias. Forthcoming, in Spanish.
The new book: how to plan with the network you have and decide whether it is the one you need, with worked cases, a real industrial case and real conversations with an AI assistant about the results. Materials for readers.
Recent Springer publications
For the full track record, I am happy to send my CV.
Request the CVFor readers of the book
Models and tools for «Planificación óptima de la producción y la distribución» (in Spanish), to follow the chapters and do the exercises on your own computer.
The 19 teaching models from the chapters in .SOT format, with costs in euros. Large models on request.
Download (ZIP, 21 KB)Contact
A free, no-commitment diagnostic is the starting point.