Skip to content

useCondition

useCondition determines the accessibility requirement for selecting a solution tier during resource scheduling.

ConditionMeaning
NEVERThe solution tier is directly inaccessible via this stop.
NOSOLNAccessible only when the stop cannot be resourced through economical alternatives.
WAITINGAccessible if the resource is WAITING to sign on (typically ST_SURGE).
CLOSERAccessible when the solution is significantly closer than alternatives (per useCloserMargin).
LATEAccessible if the alternative solution incurs positive delay costs.
EARLIERAccessible when the solution provides an earlier arrival than the alternative.
SOLVEAccessible when the stop is the primary focus of the next optimisation step (not when booking new projects).
INITAccessible when booking a new project for immediate service (not for future appointments).
APPTAccessible at any time.
ALWAYSSynonym for APPT.

The options are hierarchical: each level includes all options above it. For example, selecting CLOSER also enables WAITING and NOSOLN.