Reference documentation and code samples for the Cloud Optimization v1 API enum InjectedSolutionConstraint.Types.ConstraintRelaxation.Types.Relaxation.Types.Level.
Expresses the different constraint relaxation levels, which are
applied for a visit and those that follow when it satifies the
threshold conditions.
The enumeration below is in order of increasing relaxation.
Same as RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD, but the
vehicle is also relaxed: visits are completely free at or after the
threshold time and can potentially become unperformed.
RelaxVisitTimesAfterThreshold
Visit start times and vehicle start/end times will be relaxed, but
each visit remains bound to the same vehicle and the visit sequence
must be observed: no visit can be inserted between them or before
them.
RelaxVisitTimesAndSequenceAfterThreshold
Same as RELAX_VISIT_TIMES_AFTER_THRESHOLD, but the visit sequence
is also relaxed: visits remain simply bound to their vehicle.
Unspecified
Implicit default relaxation level: no constraints are relaxed,
i.e., all visits are fully constrained.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This document outlines the different versions of the `InjectedSolutionConstraint.Types.ConstraintRelaxation.Types.Relaxation.Types.Level` enum, ranging from version 1.0.0-beta01 to the latest version 2.6.0."],["The `Level` enum defines constraint relaxation options within the Cloud Optimization v1 API, specifying how constraints are eased for visits under certain conditions."],["The `RelaxAllAfterThreshold` field allows for complete freedom of visits and vehicles after the threshold, while `RelaxVisitTimesAfterThreshold` relaxes timing but maintains vehicle and sequence integrity."],["`RelaxVisitTimesAndSequenceAfterThreshold` field relaxes visit times and sequences, while keeping each visit tied to their designated vehicle."],["The `Unspecified` field represents a default state with no constraint relaxation, meaning all visits are fully constrained."]]],[]]