Provio Optima in five minutes
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.
"Plan three weeks of production on one machine at the lowest cost, and meet every order."
made + stock ≥ demand
machine hours ≤ 13
The best plan found reaches the lower bound.
All constraints hold. Cost 2,740 USD. No cheaper plan exists.
Where it plans
Each sector starts from a model already built and tested on a worked case, which your experts adjust to your rules. A problem outside these four is modelled from your description.
Surgery planned around beds
- The weekly theatre timetable: which surgeon has which theatre on which day
- The day of surgery for each patient on the waiting list
- A bed in intensive care or on a ward for every night of each expected stay
Inspection, lanes and rosters
- Which containers are released on documents, scanned, partly opened or unpacked, and when
- Which lanes open at a land border, hour by hour, and who staffs them
- A month's roster of officers across posts and shifts
Production planning
- How much of each product to make in each period
- When to set up a line, given what each set-up costs
- How much stock to carry between periods
Supply and transport networks
- Which warehouse supplies which customer
- How much moves on each lane that exists
- How capacity is shared when it is short
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.
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 Optima | Spreadsheets and experience | A chat assistant | A configured planning engine | |
|---|---|---|---|---|
| Written for your own problem | From your description; your experts answer its questions | By the planner | Text, not a model | Within its library |
| Says how good the plan is | Optimal only with the solver's proof; otherwise the gap | No | No | Ask for the gap |
| Checked by a second program | Every constraint recomputed before anyone sees the plan | No | No | Rarely shown |
| Tested against what can go wrong | Hundreds of possible months, with frequencies and intervals | No | No | Scenarios, if built |
| A person approves before use | Edits scored, reasons kept, two experts for scheduled models | Yes | Up to you | Varies |
| Value measured against a baseline | Agreed in writing before the period; never quoted from generated data | Rarely | No | Varies |
| Data stays in your network | Inside your network; the language model never sees values | Yes | Usually not | Varies |
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.
A planning model with about 800,000 variables
One run each, on the same laptop, with generated data.
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.
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.
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.
Customs and border operations
7 cases · generated dataOther examples
generated dataWhen 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
What really happened
What was actually done is loaded back and compared with the plan, line by line.
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.
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.
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.
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.
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.
Before anyone relies on it
The plan is checked, played through possible futures, compared with your current plan, and tried against past periods.
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.