Class InjectedSolutionConstraint (1.0.0-beta01)

public sealed class InjectedSolutionConstraint : IMessage<InjectedSolutionConstraint>, IEquatable<InjectedSolutionConstraint>, IDeepCloneable<InjectedSolutionConstraint>, IBufferMessage, IMessage

Solution injected in the request including information about which visits must be constrained and how they must be constrained.

Inheritance

Object > InjectedSolutionConstraint

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

InjectedSolutionConstraint()

public InjectedSolutionConstraint()

InjectedSolutionConstraint(InjectedSolutionConstraint)

public InjectedSolutionConstraint(InjectedSolutionConstraint other)
Parameter
NameDescription
otherInjectedSolutionConstraint

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
TypeDescription
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
TypeDescription
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
TypeDescription
RepeatedField<SkippedShipment>