Provio Optima in five minutes Film for investors · 5:31 · captions · made as OR Copilot

Planning decisions you can defend

Plans you can prove, test and approve

Describe a planning problem in your own words and attach the data you already keep. Provio Optima writes an optimisation model for your problem, solves it with an established solver, proves how good the plan is, tests it against what can go wrong, and leaves every decision to your experts. We are building it at Mabrok Lab.

All the examples on this site use generated data. None of the numbers is a saving at a real organisation.

1 · Question

"Plan three weeks of production on one machine at the lowest cost, and meet every order."

2 · Model
min Σ cost × batches
made + stock ≥ demand
machine hours ≤ 13
3 · Solver

The best plan found reaches the lower bound.

4 · Check and report

All constraints hold. Cost 2,740 USD. No cheaper plan exists.

What problem this addresses

Many routine decisions in an organisation are planning problems: which orders go on which truck, what a factory makes each week, who works which shift, which patients are operated on which day. Each has a huge number of possible answers, and some are much better than others.

Operations research has good methods for these problems, and airlines, refineries and power companies have relied on them for decades. Building a model, though, still takes a specialist and usually several weeks, so most organisations plan with spreadsheets and experience.

Provio Optima is meant to shorten that work. A language model (Claude) writes the optimisation model from the description. The plan itself is computed by a solver, and a separate checker recomputes every constraint on it, so the result does not depend on the language model doing arithmetic.

Even small problems have many answers

Five orders, three vans

3 × 3 × 3 × 3 × 3 = 243 ways to load them.

One month in a hospital

17,534 possible patient-and-day pairs, which combine in far more ways than anyone could check by hand.

How a question becomes a plan

The example below is a real run on the platform: a packaging plant planning three weeks of production on one machine. The plant and its numbers are made up. Click a step to see the screen at that point.

Checks on the answers

A language model can produce something that looks right and isn't. These rules are part of the platform's design and are covered by its tests.

The language model only writes the model

Its job is to translate the description into a specification an expert can review. The plan is computed by a solver.

"Optimal" needs a proof

Results are labelled by what the solver proved. When optimality has not been proved, the report gives the gap to the best possible value.

A second program checks the result

It recomputes the objective and every constraint from the specification before anyone sees the plan.

Data values stay local

The language model receives table and column names, not the values. Names in private tables are replaced unless the client allows them.

Benchmark: 45 problems, three runs each

On 45 textbook-size problems (30 from a public modelling competition, 15 written for the project), the model written by the language model reached the reference optimum in all three runs. The language-model cost was about 7 US cents per problem (an estimate from the SDK), and writing, solving and checking took about 20 seconds per problem on average, on one laptop.

Competition problems (30)Project problems (15)

Each square is one problem in one run. All 135 reached the reference answer.

What makes a plan defensible

Most planning today is done in spreadsheets, with a chat assistant, or with a configured planning engine. Each has its place. This is what we hold ourselves to, and what we suggest asking of any of them.

Provio OptimaSpreadsheets and experienceA chat assistantA configured planning engine
Written for your own problemFrom your description; your experts answer its questionsBy the plannerText, not a modelWithin its library
Says how good the plan isOptimal only with the solver's proof; otherwise the gapNoNoAsk for the gap
Checked by a second programEvery constraint recomputed before anyone sees the planNoNoRarely shown
Tested against what can go wrongHundreds of possible months, with frequencies and intervalsNoNoScenarios, if built
A person approves before useEdits scored, reasons kept, two experts for scheduled modelsYesUp to youVaries
Value measured against a baselineAgreed in writing before the period; never quoted from generated dataRarelyNoVaries
Data stays in your networkInside your network; the language model never sees valuesYesUsually notVaries

Model size

The target is industrial planning models with hundreds of thousands to millions of variables. These measurements were made on one laptop, with generated data.

5,000,000
variables, compiled in under a minute
A transport model with 5 million variables was read, validated and compiled in 50 seconds.
500,000
variables, solved in seconds
A linear model with half a million variables solved in 4 to 6 seconds; the independent check took about a second.
1.2%
proven gap on a very large model
The solver on its own could not handle it; the platform's search found a plan and proved it within 1.2% of the best possible.

A planning model with about 800,000 variables

One run each, on the same laptop, with generated data.

HiGHS on its own
stopped at the memory limit without a plan
The platform's search
plan found, proven gap 1.2%

The search keeps most of the best plan found so far fixed and re-solves the rest, in several processes at once. The bound it reports is proved for the full model.

Cases we have modelled

All the cases use generated data that imitates real operations. They show what the method does; they are not results from any organisation.

Hospital management

Scheduling a month of surgery around bed capacity

A study of 245 NHS hospitals in the UK found that 13.9% of inpatient operations were cancelled on the day of surgery, and NHS statistics list the lack of a free bed as one of the common reasons.

Our model decides three things together: the weekly theatre timetable for each surgeon, the day of surgery for each of the 1,239 patients on the waiting list, and whether every night of each expected stay has an intensive-care or ward bed. The test hospital has 10 theatres, 22 surgeons and 16 intensive-care beds, and we made its beds deliberately scarce.

Wong et al., British Journal of Anaesthesia, 2018.

Planned patients in intensive care, each night of the month
Usual bookingPlatform's planBeds free for planned patients

With the usual booking, 15 patients are expected in intensive care on the first Wednesday night, when 7 beds are free; the shaded nights are where cancellations come from. The platform's plan moves heavy surgical lists to other days and never books more patients than there are free beds, keeping one spare.

129→65
patients past their priority deadline, per month
49% fewer, and lower in all 500 simulated months:
69→42
operations cancelled on the day, per month
40% fewer, and lower in all 500 months:
972→1,006
hours of surgery per month
3.5% more with the same theatres, surgeons and beds; higher in 453 of 500 months:
Caveats Each plan was run through the same 500 simulated months, with random surgery durations, lengths of stay and emergency admissions, and compared with three booking rules a person might follow. A careful rule with the same safety margin cancels fewer operations (30 a month) and operates slightly more urgent patients (190 against 185), but leaves about twice as many patients past their deadline (129 against 65). Emergencies found intensive care full about as often under both plans (0.9 and 1.0 times a month). Most of the improvement comes from choosing patients with the beds in mind on the existing timetable: that alone brings late patients down to 71, and that plan is proven within 1.4% of the best possible. The plan with a new timetable has not been proven close to optimal. A real hospital would have to measure any gain on its own data, against a baseline agreed beforehand.

Customs and border operations

7 cases · generated data

Other examples

generated data

When the month does not go as planned

A plan is made with expected values: how long an operation takes, how many trucks arrive, how many beds emergencies will need. Real days differ. The platform can play a plan through many possible months before anyone relies on it, and it can learn from what happened in past months.

Stress test

500 possible months

The model says which numbers vary and how: operation times by about 25%, emergency beds night by night. The platform draws 500 months from that and checks the plan in each, with the same independent checker it uses for every result. The answer reads like "the bed rule held in 412 of 500 months (95% interval 79% to 86%)". It never calls a plan robust or safe.

Comparison

Plans meet the same months

Several plans, including one a planner made by hand, are played through the same months, and the comparison is month by month: in how many months one plan had fewer late patients than the other.

Recourse

Some decisions wait for the day

The timetable and the bookings are fixed in advance, but whether an operation goes ahead, or a list runs into overtime, is decided on the day. In each month the platform keeps the fixed part and solves the rest again. It says plainly that this sees the whole month at once, which is kinder than a real day-by-day operation.

History

Past logs, kept private

A client can load logs of past operations: theatre records, truck arrivals, past plans. Patient numbers and other identifiers are replaced by keyed codes on the way in. The platform checks the log for missing ends, duplicates and impossible times, and the language model never sees any value from it, only the names of the columns.

Estimates

Numbers taken from the log

An expected operation time can be estimated from the log, by procedure and surgeon, with an interval and the number of operations behind it. A surgeon with too few operations takes the procedure's figure, and the report names every such case. The months of a stress test can also be drawn from the log itself.

Findings

What past practice shows

Past decisions are read as plans and scored against the model's rules, week by week: a rule broken in 30% of weeks, a limit no week came near. Each finding comes with its evidence and goes to an expert, who decides whether the model or the practice should change. Nothing is changed automatically.

A check on the method On the hospital case (generated data), the stress test with recourse put five booking plans in the same order as the hand-written day-by-day simulation for patients past their deadline: 58, 63, 121, 129 and 133 a month against the simulation's 65, 71, 129, 129 and 137. For cancellations two plans changed places, at 47.0 and 47.1 a month; neither the stress test nor the simulation can tell those two apart. The stress test chooses which operations to cancel knowing the whole month, so it cancels a few more and leaves fewer patients late than the simulation does. These are tests of the method on generated data, not results from any hospital.

After the plan is approved

A plan only helps if it is carried out, so the platform also covers what happens after the report. A person makes every decision along the way.

Edits

Changes before approval

Planners can change any decision. Each change is scored straight away (its cost, and any rule it breaks), and a change that breaks a rule needs a written reason.

Export

In the client's own format

The approved plan is exported as a file in the client's template, signed with a hash and the approver's name. The platform does not write into the client's systems.

Actuals

What really happened

What was actually done is loaded back and compared with the plan, line by line.

Value

Measured against an agreed baseline

Gains are measured against a baseline and a measure agreed in writing before the period starts, and these cannot be changed afterwards.

Scheduled runs

Daily, on new data

An approved model can run every day. If the data looks wrong, the run is held until a person has looked at it.

Suggestions

Proposed model changes

If planners keep making the same edit, the platform suggests a change to the model and shows the plan with and without it. Two experts have to approve it.

Films

Short films about the platform and the cases, in English and in Egyptian Arabic, with captions. The screens are from the platform, running on generated data. The films were made before the platform took its name, Provio Optima, and call it OR Copilot.

How a pilot works

A pilot takes one real decision from description to measured result, inside your network. We claim no savings until a pilot has measured them.

1 · Agree

The decision and the measure

The decision to support, the data, the baseline and how success is measured, agreed in writing before anything is built.

2 · Model

On your data

The sector's starting model is adjusted to your rules. Your experts answer the platform's questions and approve what it understood.

3 · Test

Before anyone relies on it

The plan is checked, played through possible futures, compared with your current plan, and tried against past periods.

4 · Run and measure

In daily use

Planners approve and edit plans and export them in your template. What happened is compared with the plan and with the agreed baseline.

Inside your network

On your servers or your approved cloud, with your own login system and roles. Nothing is sent outside unless you allow it.

With or without AI

A mode with no language model at all is there from the start: your experts write the models, and the platform solves, checks and reports.

Your data, your approvals

Identifiers are hashed on intake, plans are shared on a need-to-know basis, and every approval is recorded with who, when and why.