Solver Configuration
Customise operational constraints, cost weights, and recovery strategies.
Overview
The SolverConfig object controls how the Pleiades solver approaches disruption recovery. It's passed as an optional field in the simulation request. All fields have sensible defaults — you only need to specify the values you want to override.
{
"config": {
"operational": { "turn_minutes": 40 },
"costs": { "cancel_flight": 15000 },
"strategies": ["delay", "swap"]
}
}SolverConfig
| Field | Type | Default | Description |
|---|---|---|---|
operational | OperationalConfig | See below | Operational constraint parameters |
costs | CostWeights | See below | Cost weights for the objective function |
strategies | string[] | All four strategies | Which recovery strategies to evaluate |
OperationalConfig
These parameters define the physical and regulatory constraints of the operation.
| Parameter | Type | Required | Description |
|---|---|---|---|
turn_minutes | integer= 35 | Optional | Minimum aircraft turnaround time between flights, in minutes. |
time_block | integer= 5 | Optional | Delay granularity in minutes. All delays are multiples of this value. |
max_runtime | integer= 30 | Optional | Maximum solver runtime in seconds. Higher values may find better solutions. |
reaccom_window | integer= 720 | Optional | Re-accommodation window in minutes (12 hours). If a delay exceeds this, cancellation is forced. |
reaccom_hotel_threshold | integer= 720 | Optional | Wait time threshold at which hotel accommodation costs apply (minutes). |
crew_brief_min | integer= 60 | Optional | Crew briefing time before first flight in a duty period (minutes). |
crew_debrief_min | integer= 30 | Optional | Crew debriefing time after last flight in a duty period (minutes). |
max_crew_duty_min | integer= 840 | Optional | Maximum crew duty period in minutes (14 hours = 840 minutes). |
crew_connect_min | integer= 30 | Optional | Minimum crew connection time between consecutive flights (minutes). |
duty_split_layover_min | integer= 120 | Optional | Layover duration that splits into a new duty period (minutes). |
Validation
Use the Validate Config endpoint to check your configuration for warnings before running a simulation.