noSolnObject
Defines how Spiral generates “no solution” responses — the costs and consequences of not scheduling a particular stop type (e.g. outsourcing).
{
"costStop": <real>,
"costKm": <real>,
"costHour": <real>,
"ageFactor": <real>,
"handoverDistance": <real> | null,
"travelFactor": <real>,
"apptMargin": <real>,
}
-
costStopreal - Outsourcing expense for the stop.
-
costKmreal - Per-kilometre travel cost (from travel distance or parent-stop routing).
-
costHourreal - Cost per hour for the stop, including travel and on-site time.
-
ETAtimeInterval - Estimated arrival delay from the current time.
-
travelTimetimeIntervaldefault45 min - Expected duration when outsourced.
-
earlyDeploytimeIntervaldefault1 hour - Earliest possible outsourcing window.
-
stopTimetimeIntervaldefault20 min - Expected on-scene duration.
-
includedDistancedistancedefault0 km - Delivery distance covered by the base cost (applies to “to” stops).
-
agePeriodtimeInterval - Period at which 50% of the age cost applies.
-
ageFactorrealdefault0.0 - Maximum cost-increase multiplier as stops age.
-
handoverDistancereal - Typical max distance before supplier handover is needed.
-
travelFactorreal - Multiplier applied to the outsourced travel estimate.
-
apptPeriodtimeInterval - Appointment window granularity used when offering an outsourced slot.
-
apptMarginreal - Cost margin applied to outsourced appointment options.
-
apptEarlyOSRCtimeInterval - How early an outsourced (OSRC) appointment may be offered.