Cloud Optimization v1 API - Enum InjectedSolutionConstraint.Types.ConstraintRelaxation.Types.Relaxation.Types.Level (2.5.0)

public enum InjectedSolutionConstraint.Types.ConstraintRelaxation.Types.Relaxation.Types.Level

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 satisfies the threshold conditions.

The enumeration below is in order of increasing relaxation.

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Fields

Name Description
RelaxAllAfterThreshold

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 can only be performed by this vehicle, but can potentially become unperformed.

Unspecified

Implicit default relaxation level: no constraints are relaxed, i.e., all visits are fully constrained.

This value must not be explicitly used in level.