public sealed class InjectedSolutionConstraint : IMessage<InjectedSolutionConstraint>, IEquatable<InjectedSolutionConstraint>, IDeepCloneable<InjectedSolutionConstraint>, IBufferMessage, IMessageSolution injected in the request including information about which visits must be constrained and how they must be constrained.
Implements
IMessage<InjectedSolutionConstraint>, IEquatable<InjectedSolutionConstraint>, IDeepCloneable<InjectedSolutionConstraint>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
InjectedSolutionConstraint()
public InjectedSolutionConstraint()InjectedSolutionConstraint(InjectedSolutionConstraint)
public InjectedSolutionConstraint(InjectedSolutionConstraint other)| Parameter | |
|---|---|
| Name | Description |
other |
InjectedSolutionConstraint |
Properties
ConstraintRelaxations
public RepeatedField<InjectedSolutionConstraint.Types.ConstraintRelaxation> ConstraintRelaxations { get; }For zero or more groups of vehicles, specifies when and how much to relax constraints. If this field is empty, all non-empty vehicle routes are fully constrained.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<InjectedSolutionConstraint.Types.ConstraintRelaxation> |
|
Routes
public RepeatedField<ShipmentRoute> Routes { get; }Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<ShipmentRoute> |
|
SkippedShipments
public RepeatedField<SkippedShipment> SkippedShipments { get; }Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<SkippedShipment> |
|