Enum InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level (1.5.0)

public enum InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level extends Enum<InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level

Implements

ProtocolMessageEnum

Static Fields

NameDescription
LEVEL_UNSPECIFIED

Implicit default relaxation level: no constraints are relaxed, i.e., all visits are fully constrained. This value must not be explicly used in level.

LEVEL_UNSPECIFIED = 0;

LEVEL_UNSPECIFIED_VALUE

Implicit default relaxation level: no constraints are relaxed, i.e., all visits are fully constrained. This value must not be explicly used in level.

LEVEL_UNSPECIFIED = 0;

RELAX_ALL_AFTER_THRESHOLD

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.

RELAX_ALL_AFTER_THRESHOLD = 3;

RELAX_ALL_AFTER_THRESHOLD_VALUE

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.

RELAX_ALL_AFTER_THRESHOLD = 3;

RELAX_VISIT_TIMES_AFTER_THRESHOLD

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.

RELAX_VISIT_TIMES_AFTER_THRESHOLD = 1;

RELAX_VISIT_TIMES_AFTER_THRESHOLD_VALUE

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.

RELAX_VISIT_TIMES_AFTER_THRESHOLD = 1;

RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD

Same as RELAX_VISIT_TIMES_AFTER_THRESHOLD, but the visit sequence is also relaxed: visits remain simply bound to their vehicle.

RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD = 2;

RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD_VALUE

Same as RELAX_VISIT_TIMES_AFTER_THRESHOLD, but the visit sequence is also relaxed: visits remain simply bound to their vehicle.

RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()