learn what you must.
solve the rest exactly.

Graybox optimization combines both. kint fits the parts only past data can show, each with its uncertainty and a holdout score. It then solves the decision exactly, in a model your experts can read. A decision with several levels stays one model, with the coupling between levels written down.

Model 03 of 4 · graybox and combined
fitted from history · solved exactlyone model, two kinds of knowledge
Graybox, explained

fit what history knows. solve the rest exactly.

Most real decisions mix the two. Berth windows and crane counts are rules you can write down. How fast a crane works on a given vessel is something only your logs know.

ves Aves Bves Cves Dves E
Illustrative · crane moves per hour, per vessel, with interval
01 · fit

estimate what only history knows

Each learned part is fitted from the data, scored on data it has not seen, and carries its uncertainty. Gaps are filled and marked as estimates.per part: uncertainty · holdout score · data version
  • Inputrate(v) = fitted rate, lower edge of interval
  • Rulemoves(v) ≤ rate(v) × crane hours(v)
  • Rulecrane hours(v) ≤ window(v) × cranes(v)
  • Rulecranes in use(t) ≤ cranes available
  • Goalminimize cranes + carriers in use
Illustrative excerpt · v = vessel, t = hour
02 · solve

solve the decision exactly

The fitted parts enter an exact model as inputs. The solver searches every plan the rules allow and reports bound and gap.per run: bound and gap · model version · fitted parts used
Hierarchical and multi-level

berth, then crane, then yard. coupled in one model.

Many decisions are nested. kint solves them level by level and writes the coupling between levels down as constraints. A change on one level then shows up on the others.

LEVEL 1 · BERTHLEVEL 2 · QUAY CRANESLEVEL 3 · YARDwhich vessel,when, wherewhich craneon which vesselwhere each boxis stackedvessel A · berth 1vessel C · berth 1vessel B · berth 2↓ berth windows fix when cranes workcrane 1crane 2crane 3crane 4ACABBCAC↓ crane rates set the yard inflowblock 1block 2block 3block 4block 6block 5 · nearly full↑ yard space limits crane rate
Illustrative terminal · three levelscoupling written as constraints · binding link marked
Robust and multi-objective

plans that hold, trade-offs you can see.

staffing planholds at the spikedemand scenariosmonsun
Robust

a decision that holds when history cannot pin the future down.

The plan is solved against the range of futures the data allows, so a staffing plan survives a demand spike instead of breaking on it. The fitted intervals from the graybox step feed straight in.

Illustrative scenarios

cost →service level
Multi-objective

the frontier, then your choice.

Cost against service level: kint returns the set of best compromises. Your team picks the point; the record keeps why.

Illustrative frontier

Grain

answers at their own level.

Each model answers at one level: terminal, shift, vessel, crane or move. A question asked at another level gets a named refusal, with the reason, instead of a number that only looks right.

  1. terminalThroughput per week
  2. shiftCranes and carriers per shiftmodel level
  3. vesselMoves and crane hours per vesselmodel level
  4. craneSequence per crane
  5. moveSingle container movesasked here
QuestionWhen does crane 3 lift box 41 on vessel B?

Refused: grain mismatch. This model answers per shift and vessel. The question asks per move. A sequencing model at crane level answers it.

Illustrative question and answer

Model families

one platform, the right family for each part.

kint picks the family with your team, part by part. Every family returns the same answer format and lands in the same record.

Model families compared
FamilyYou start fromThe resultExamplePage
whiteboxRules you can write downOptimal for the model as stated once the gap reaches 0.0 %, bound and gap storedNext week's production mix from live bills of materials in the planning systemwhitebox →
blackboxPast decisions and outcomesBest found on the learned model, with an uncertainty rangeTuning process settings when one simulation run takes hoursblackbox →
grayboxRules plus parts only history knowsExact solve on fitted parts, each with uncertainty and holdout scoreCrane productivity learned, then the shift plan solved exactlythis page
robustA future history cannot pin downA decision that holds across the range the data allowsA staffing plan that survives a demand spikeabove ↑
hierarchicalA nested decisionEach level solved, coupling explicitBerth, then quay crane, then yardabove ↑
multi-objectiveGoals that pull against each otherThe trade-off frontier to choose fromCost against service levelabove ↑
simulationA plan and what could happenOutcomes per scenario, comparedThe shift plan tested against a failed cranesimulation →

bring a decision with a part nobody can write down.

Bring the rules your planners know and the history that knows the rest. We fit what has to be learned, solve what can be solved exactly, and show you both.

Families
whitebox · blackbox · graybox · simulation
Fitted parts
Uncertainty and holdout score per part
Gap
Bound and gap, stored with the run
Contact
hello@kint.pro