222 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
226 private static readonly pb::MessageParser<RoutingSearchParameters> _parser =
new pb::MessageParser<RoutingSearchParameters>(() =>
new RoutingSearchParameters());
227 private pb::UnknownFieldSet _unknownFields;
228 private int _hasBits0;
229 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
230 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
231 public static pb::MessageParser<RoutingSearchParameters>
Parser {
get {
return _parser; } }
233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
234 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
235 public static pbr::MessageDescriptor
Descriptor {
236 get {
return global::Google.OrTools.ConstraintSolver.RoutingParametersReflection.Descriptor.MessageTypes[0]; }
239 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
240 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
241 pbr::MessageDescriptor pb::IMessage.Descriptor {
242 get {
return Descriptor; }
245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
246 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
247 public RoutingSearchParameters() {
251 partial
void OnConstruction();
253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
254 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
256 _hasBits0 = other._hasBits0;
257 firstSolutionStrategy_ = other.firstSolutionStrategy_;
258 useUnfilteredFirstSolutionStrategy_ = other.useUnfilteredFirstSolutionStrategy_;
259 savingsNeighborsRatio_ = other.savingsNeighborsRatio_;
260 savingsMaxMemoryUsageBytes_ = other.savingsMaxMemoryUsageBytes_;
261 savingsAddReverseArcs_ = other.savingsAddReverseArcs_;
262 savingsArcCoefficient_ = other.savingsArcCoefficient_;
263 cheapestInsertionFarthestSeedsRatio_ = other.cheapestInsertionFarthestSeedsRatio_;
264 cheapestInsertionFirstSolutionNeighborsRatio_ = other.cheapestInsertionFirstSolutionNeighborsRatio_;
265 cheapestInsertionFirstSolutionMinNeighbors_ = other.cheapestInsertionFirstSolutionMinNeighbors_;
266 cheapestInsertionLsOperatorNeighborsRatio_ = other.cheapestInsertionLsOperatorNeighborsRatio_;
267 cheapestInsertionLsOperatorMinNeighbors_ = other.cheapestInsertionLsOperatorMinNeighbors_;
268 cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_ = other.cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_;
269 cheapestInsertionAddUnperformedEntries_ = other.cheapestInsertionAddUnperformedEntries_;
270 localCheapestInsertionPickupDeliveryStrategy_ = other.localCheapestInsertionPickupDeliveryStrategy_;
271 localCheapestCostInsertionPickupDeliveryStrategy_ = other.localCheapestCostInsertionPickupDeliveryStrategy_;
272 localCheapestInsertionSortingProperties_ = other.localCheapestInsertionSortingProperties_.Clone();
273 christofidesUseMinimumMatching_ = other.christofidesUseMinimumMatching_;
274 firstSolutionOptimizationPeriod_ = other.firstSolutionOptimizationPeriod_;
275 localSearchOperators_ = other.localSearchOperators_ !=
null ? other.localSearchOperators_.
Clone() :
null;
276 lsOperatorNeighborsRatio_ = other.lsOperatorNeighborsRatio_;
277 lsOperatorMinNeighbors_ = other.lsOperatorMinNeighbors_;
278 useMultiArmedBanditConcatenateOperators_ = other.useMultiArmedBanditConcatenateOperators_;
279 multiArmedBanditCompoundOperatorMemoryCoefficient_ = other.multiArmedBanditCompoundOperatorMemoryCoefficient_;
280 multiArmedBanditCompoundOperatorExplorationCoefficient_ = other.multiArmedBanditCompoundOperatorExplorationCoefficient_;
281 maxSwapActiveChainSize_ = other.maxSwapActiveChainSize_;
282 relocateExpensiveChainNumArcsToConsider_ = other.relocateExpensiveChainNumArcsToConsider_;
283 heuristicExpensiveChainLnsNumArcsToConsider_ = other.heuristicExpensiveChainLnsNumArcsToConsider_;
284 heuristicCloseNodesLnsNumNodes_ = other.heuristicCloseNodesLnsNumNodes_;
285 localSearchMetaheuristic_ = other.localSearchMetaheuristic_;
286 localSearchMetaheuristics_ = other.localSearchMetaheuristics_.Clone();
287 numMaxLocalOptimaBeforeMetaheuristicSwitch_ = other.numMaxLocalOptimaBeforeMetaheuristicSwitch_;
288 guidedLocalSearchLambdaCoefficient_ = other.guidedLocalSearchLambdaCoefficient_;
289 guidedLocalSearchResetPenaltiesOnNewBestSolution_ = other.guidedLocalSearchResetPenaltiesOnNewBestSolution_;
290 guidedLocalSearchPenalizeWithVehicleClasses_ = other.guidedLocalSearchPenalizeWithVehicleClasses_;
291 useGuidedLocalSearchPenaltiesInLocalSearchOperators_ = other.useGuidedLocalSearchPenaltiesInLocalSearchOperators_;
292 useDepthFirstSearch_ = other.useDepthFirstSearch_;
293 useCp_ = other.useCp_;
294 useCpSat_ = other.useCpSat_;
295 useGeneralizedCpSat_ = other.useGeneralizedCpSat_;
296 satParameters_ = other.satParameters_ !=
null ? other.satParameters_.Clone() :
null;
297 reportIntermediateCpSatSolutions_ = other.reportIntermediateCpSatSolutions_;
298 fallbackToCpSatSizeThreshold_ = other.fallbackToCpSatSizeThreshold_;
299 continuousSchedulingSolver_ = other.continuousSchedulingSolver_;
300 mixedIntegerSchedulingSolver_ = other.mixedIntegerSchedulingSolver_;
301 disableSchedulingBewareThisMayDegradePerformance_ = other.disableSchedulingBewareThisMayDegradePerformance_;
302 optimizationStep_ = other.optimizationStep_;
303 numberOfSolutionsToCollect_ = other.numberOfSolutionsToCollect_;
304 solutionLimit_ = other.solutionLimit_;
305 timeLimit_ = other.timeLimit_ !=
null ? other.timeLimit_.Clone() :
null;
306 lnsTimeLimit_ = other.lnsTimeLimit_ !=
null ? other.lnsTimeLimit_.Clone() :
null;
307 secondaryLsTimeLimitRatio_ = other.secondaryLsTimeLimitRatio_;
308 improvementLimitParameters_ = other.improvementLimitParameters_ !=
null ? other.improvementLimitParameters_.
Clone() :
null;
309 useFullPropagation_ = other.useFullPropagation_;
310 logSearch_ = other.logSearch_;
311 logCostScalingFactor_ = other.logCostScalingFactor_;
312 logCostOffset_ = other.logCostOffset_;
313 logTag_ = other.logTag_;
314 useIteratedLocalSearch_ = other.useIteratedLocalSearch_;
315 iteratedLocalSearchParameters_ = other.iteratedLocalSearchParameters_ !=
null ? other.iteratedLocalSearchParameters_.
Clone() :
null;
316 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
320 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
326 public const int FirstSolutionStrategyFieldNumber = 1;
327 private global::Google.OrTools.ConstraintSolver.
FirstSolutionStrategy.
Types.
Value firstSolutionStrategy_ = global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset;
331 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
332 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
334 get { return firstSolutionStrategy_; }
336 firstSolutionStrategy_ = value;
341 public const int UseUnfilteredFirstSolutionStrategyFieldNumber = 2;
342 private bool useUnfilteredFirstSolutionStrategy_;
349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
350 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
352 get {
return useUnfilteredFirstSolutionStrategy_; }
354 useUnfilteredFirstSolutionStrategy_ = value;
359 public const int SavingsNeighborsRatioFieldNumber = 14;
360 private double savingsNeighborsRatio_;
366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
367 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
369 get {
return savingsNeighborsRatio_; }
371 savingsNeighborsRatio_ = value;
376 public const int SavingsMaxMemoryUsageBytesFieldNumber = 23;
377 private double savingsMaxMemoryUsageBytes_;
386 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
387 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
389 get {
return savingsMaxMemoryUsageBytes_; }
391 savingsMaxMemoryUsageBytes_ = value;
396 public const int SavingsAddReverseArcsFieldNumber = 15;
397 private bool savingsAddReverseArcs_;
402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
403 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
405 get {
return savingsAddReverseArcs_; }
407 savingsAddReverseArcs_ = value;
412 public const int SavingsArcCoefficientFieldNumber = 18;
413 private double savingsArcCoefficient_;
421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
422 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
424 get {
return savingsArcCoefficient_; }
426 savingsArcCoefficient_ = value;
431 public const int CheapestInsertionFarthestSeedsRatioFieldNumber = 16;
432 private double cheapestInsertionFarthestSeedsRatio_;
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
439 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
441 get {
return cheapestInsertionFarthestSeedsRatio_; }
443 cheapestInsertionFarthestSeedsRatio_ = value;
448 public const int CheapestInsertionFirstSolutionNeighborsRatioFieldNumber = 21;
449 private double cheapestInsertionFirstSolutionNeighborsRatio_;
467 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
468 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
470 get {
return cheapestInsertionFirstSolutionNeighborsRatio_; }
472 cheapestInsertionFirstSolutionNeighborsRatio_ = value;
477 public const int CheapestInsertionFirstSolutionMinNeighborsFieldNumber = 44;
478 private int cheapestInsertionFirstSolutionMinNeighbors_;
479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
480 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
482 get {
return cheapestInsertionFirstSolutionMinNeighbors_; }
484 cheapestInsertionFirstSolutionMinNeighbors_ = value;
489 public const int CheapestInsertionLsOperatorNeighborsRatioFieldNumber = 31;
490 private double cheapestInsertionLsOperatorNeighborsRatio_;
497 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
498 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
500 get {
return cheapestInsertionLsOperatorNeighborsRatio_; }
502 cheapestInsertionLsOperatorNeighborsRatio_ = value;
507 public const int CheapestInsertionLsOperatorMinNeighborsFieldNumber = 45;
508 private int cheapestInsertionLsOperatorMinNeighbors_;
509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
512 get {
return cheapestInsertionLsOperatorMinNeighbors_; }
514 cheapestInsertionLsOperatorMinNeighbors_ = value;
519 public const int CheapestInsertionFirstSolutionUseNeighborsRatioForInitializationFieldNumber = 46;
520 private bool cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_;
525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
526 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
528 get {
return cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_; }
530 cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_ = value;
535 public const int CheapestInsertionAddUnperformedEntriesFieldNumber = 40;
536 private bool cheapestInsertionAddUnperformedEntries_;
541 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
542 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
544 get {
return cheapestInsertionAddUnperformedEntries_; }
546 cheapestInsertionAddUnperformedEntries_ = value;
551 public const int LocalCheapestInsertionPickupDeliveryStrategyFieldNumber = 49;
552 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy localCheapestInsertionPickupDeliveryStrategy_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic;
557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
558 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
560 get { return localCheapestInsertionPickupDeliveryStrategy_; }
562 localCheapestInsertionPickupDeliveryStrategy_ = value;
567 public const int LocalCheapestCostInsertionPickupDeliveryStrategyFieldNumber = 55;
568 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy localCheapestCostInsertionPickupDeliveryStrategy_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic;
573 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
574 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
576 get { return localCheapestCostInsertionPickupDeliveryStrategy_; }
578 localCheapestCostInsertionPickupDeliveryStrategy_ = value;
583 public const int LocalCheapestInsertionSortingPropertiesFieldNumber = 67;
584 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty> _repeated_localCheapestInsertionSortingProperties_codec
586 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty> localCheapestInsertionSortingProperties_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty>();
595 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
596 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
598 get { return localCheapestInsertionSortingProperties_; }
603 private bool christofidesUseMinimumMatching_;
608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
609 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
611 get {
return christofidesUseMinimumMatching_; }
613 christofidesUseMinimumMatching_ = value;
618 public const int FirstSolutionOptimizationPeriodFieldNumber = 59;
619 private int firstSolutionOptimizationPeriod_;
629 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
630 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
632 get {
return firstSolutionOptimizationPeriod_; }
634 firstSolutionOptimizationPeriod_ = value;
639 public const int LocalSearchOperatorsFieldNumber = 3;
640 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators localSearchOperators_;
641 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
642 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
644 get { return localSearchOperators_; }
646 localSearchOperators_ = value;
651 public const int LsOperatorNeighborsRatioFieldNumber = 53;
652 private double lsOperatorNeighborsRatio_;
658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
659 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
661 get {
return lsOperatorNeighborsRatio_; }
663 lsOperatorNeighborsRatio_ = value;
668 public const int LsOperatorMinNeighborsFieldNumber = 54;
669 private int lsOperatorMinNeighbors_;
670 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
671 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
673 get {
return lsOperatorMinNeighbors_; }
675 lsOperatorMinNeighbors_ = value;
680 public const int UseMultiArmedBanditConcatenateOperatorsFieldNumber = 41;
681 private bool useMultiArmedBanditConcatenateOperators_;
687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
688 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
690 get {
return useMultiArmedBanditConcatenateOperators_; }
692 useMultiArmedBanditConcatenateOperators_ = value;
697 public const int MultiArmedBanditCompoundOperatorMemoryCoefficientFieldNumber = 42;
698 private double multiArmedBanditCompoundOperatorMemoryCoefficient_;
705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
706 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
708 get {
return multiArmedBanditCompoundOperatorMemoryCoefficient_; }
710 multiArmedBanditCompoundOperatorMemoryCoefficient_ = value;
715 public const int MultiArmedBanditCompoundOperatorExplorationCoefficientFieldNumber = 43;
716 private double multiArmedBanditCompoundOperatorExplorationCoefficient_;
722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
725 get {
return multiArmedBanditCompoundOperatorExplorationCoefficient_; }
727 multiArmedBanditCompoundOperatorExplorationCoefficient_ = value;
732 public const int MaxSwapActiveChainSizeFieldNumber = 66;
733 private int maxSwapActiveChainSize_;
737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
738 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
740 get {
return maxSwapActiveChainSize_; }
742 maxSwapActiveChainSize_ = value;
747 public const int RelocateExpensiveChainNumArcsToConsiderFieldNumber = 20;
748 private int relocateExpensiveChainNumArcsToConsider_;
758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
761 get {
return relocateExpensiveChainNumArcsToConsider_; }
763 relocateExpensiveChainNumArcsToConsider_ = value;
768 public const int HeuristicExpensiveChainLnsNumArcsToConsiderFieldNumber = 32;
769 private int heuristicExpensiveChainLnsNumArcsToConsider_;
774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
775 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
777 get {
return heuristicExpensiveChainLnsNumArcsToConsider_; }
779 heuristicExpensiveChainLnsNumArcsToConsider_ = value;
784 public const int HeuristicCloseNodesLnsNumNodesFieldNumber = 35;
785 private int heuristicCloseNodesLnsNumNodes_;
790 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
791 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
793 get {
return heuristicCloseNodesLnsNumNodes_; }
795 heuristicCloseNodesLnsNumNodes_ = value;
800 public const int LocalSearchMetaheuristicFieldNumber = 4;
801 private global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value localSearchMetaheuristic_ = global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset;
805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
806 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
808 get { return localSearchMetaheuristic_; }
810 localSearchMetaheuristic_ = value;
815 public const int LocalSearchMetaheuristicsFieldNumber = 63;
816 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value> _repeated_localSearchMetaheuristics_codec
818 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value> localSearchMetaheuristics_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value>();
825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
826 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
827 public pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value>
LocalSearchMetaheuristics {
828 get { return localSearchMetaheuristics_; }
833 private int numMaxLocalOptimaBeforeMetaheuristicSwitch_;
834 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
835 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
837 get {
return numMaxLocalOptimaBeforeMetaheuristicSwitch_; }
839 numMaxLocalOptimaBeforeMetaheuristicSwitch_ = value;
844 public const int GuidedLocalSearchLambdaCoefficientFieldNumber = 5;
845 private double guidedLocalSearchLambdaCoefficient_;
852 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
853 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
855 get {
return guidedLocalSearchLambdaCoefficient_; }
857 guidedLocalSearchLambdaCoefficient_ = value;
862 public const int GuidedLocalSearchResetPenaltiesOnNewBestSolutionFieldNumber = 51;
863 private bool guidedLocalSearchResetPenaltiesOnNewBestSolution_;
868 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
869 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
871 get {
return guidedLocalSearchResetPenaltiesOnNewBestSolution_; }
873 guidedLocalSearchResetPenaltiesOnNewBestSolution_ = value;
878 public const int GuidedLocalSearchPenalizeWithVehicleClassesFieldNumber = 61;
879 private bool guidedLocalSearchPenalizeWithVehicleClasses_;
885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
886 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
888 get {
return guidedLocalSearchPenalizeWithVehicleClasses_; }
890 guidedLocalSearchPenalizeWithVehicleClasses_ = value;
895 public const int UseGuidedLocalSearchPenaltiesInLocalSearchOperatorsFieldNumber = 62;
896 private bool useGuidedLocalSearchPenaltiesInLocalSearchOperators_;
901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
902 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
904 get {
return useGuidedLocalSearchPenaltiesInLocalSearchOperators_; }
906 useGuidedLocalSearchPenaltiesInLocalSearchOperators_ = value;
911 public const int UseDepthFirstSearchFieldNumber = 6;
912 private bool useDepthFirstSearch_;
919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
920 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
922 get {
return useDepthFirstSearch_; }
924 useDepthFirstSearch_ = value;
929 public const int UseCpFieldNumber = 28;
930 private global::Google.OrTools.Util.OptionalBoolean useCp_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
936 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
937 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
939 get { return useCp_; }
946 public const int UseCpSatFieldNumber = 27;
947 private global::Google.OrTools.Util.OptionalBoolean useCpSat_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
955 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
957 get { return useCpSat_; }
964 public const int UseGeneralizedCpSatFieldNumber = 47;
965 private global::Google.OrTools.Util.OptionalBoolean useGeneralizedCpSat_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
973 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
975 get { return useGeneralizedCpSat_; }
977 useGeneralizedCpSat_ = value;
982 public const int SatParametersFieldNumber = 48;
983 private global::Google.OrTools.Sat.SatParameters satParameters_;
988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
989 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
991 get { return satParameters_; }
993 satParameters_ = value;
998 public const int ReportIntermediateCpSatSolutionsFieldNumber = 56;
999 private bool reportIntermediateCpSatSolutions_;
1004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1007 get {
return reportIntermediateCpSatSolutions_; }
1009 reportIntermediateCpSatSolutions_ = value;
1014 public const int FallbackToCpSatSizeThresholdFieldNumber = 52;
1015 private int fallbackToCpSatSizeThreshold_;
1020 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1021 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1023 get {
return fallbackToCpSatSizeThreshold_; }
1025 fallbackToCpSatSizeThreshold_ = value;
1030 public const int ContinuousSchedulingSolverFieldNumber = 33;
1031 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver continuousSchedulingSolver_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset;
1032 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1033 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1035 get { return continuousSchedulingSolver_; }
1037 continuousSchedulingSolver_ = value;
1042 public const int MixedIntegerSchedulingSolverFieldNumber = 34;
1043 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver mixedIntegerSchedulingSolver_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset;
1044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1045 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1047 get { return mixedIntegerSchedulingSolver_; }
1049 mixedIntegerSchedulingSolver_ = value;
1054 public const int DisableSchedulingBewareThisMayDegradePerformanceFieldNumber = 50;
1055 private readonly
static bool DisableSchedulingBewareThisMayDegradePerformanceDefaultValue =
false;
1057 private bool disableSchedulingBewareThisMayDegradePerformance_;
1062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1063 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1065 get {
if ((_hasBits0 & 1) != 0) {
return disableSchedulingBewareThisMayDegradePerformance_; }
else {
return DisableSchedulingBewareThisMayDegradePerformanceDefaultValue; } }
1068 disableSchedulingBewareThisMayDegradePerformance_ = value;
1072 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1073 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1074 public bool HasDisableSchedulingBewareThisMayDegradePerformance {
1075 get {
return (_hasBits0 & 1) != 0; }
1078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1079 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1086 private double optimizationStep_;
1092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1093 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1095 get {
return optimizationStep_; }
1097 optimizationStep_ = value;
1102 public const int NumberOfSolutionsToCollectFieldNumber = 17;
1103 private int numberOfSolutionsToCollect_;
1108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1109 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1111 get {
return numberOfSolutionsToCollect_; }
1113 numberOfSolutionsToCollect_ = value;
1118 public const int SolutionLimitFieldNumber = 8;
1119 private long solutionLimit_;
1125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1126 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1128 get {
return solutionLimit_; }
1130 solutionLimit_ = value;
1135 public const int TimeLimitFieldNumber = 9;
1136 private global::Google.Protobuf.WellKnownTypes.Duration timeLimit_;
1140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1141 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1142 public global::Google.Protobuf.WellKnownTypes.Duration
TimeLimit {
1143 get { return timeLimit_; }
1150 public const int LnsTimeLimitFieldNumber = 10;
1151 private global::Google.Protobuf.WellKnownTypes.Duration lnsTimeLimit_;
1156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1157 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1158 public global::Google.Protobuf.WellKnownTypes.Duration
LnsTimeLimit {
1159 get { return lnsTimeLimit_; }
1161 lnsTimeLimit_ = value;
1166 public const int SecondaryLsTimeLimitRatioFieldNumber = 57;
1167 private double secondaryLsTimeLimitRatio_;
1176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1177 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1179 get {
return secondaryLsTimeLimitRatio_; }
1181 secondaryLsTimeLimitRatio_ = value;
1186 public const int ImprovementLimitParametersFieldNumber = 37;
1187 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters improvementLimitParameters_;
1192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1193 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1195 get { return improvementLimitParameters_; }
1197 improvementLimitParameters_ = value;
1202 public const int UseFullPropagationFieldNumber = 11;
1203 private bool useFullPropagation_;
1216 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1217 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1219 get {
return useFullPropagation_; }
1221 useFullPropagation_ = value;
1226 public const int LogSearchFieldNumber = 13;
1227 private bool logSearch_;
1243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1244 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1246 get {
return logSearch_; }
1254 private double logCostScalingFactor_;
1259 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1260 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1262 get {
return logCostScalingFactor_; }
1264 logCostScalingFactor_ = value;
1270 private double logCostOffset_;
1271 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1272 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1274 get {
return logCostOffset_; }
1276 logCostOffset_ = value;
1282 private string logTag_ =
"";
1287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1288 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1290 get {
return logTag_; }
1292 logTag_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
1298 private bool useIteratedLocalSearch_;
1303 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1304 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1306 get {
return useIteratedLocalSearch_; }
1308 useIteratedLocalSearch_ = value;
1314 private global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters iteratedLocalSearchParameters_;
1318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1319 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1321 get { return iteratedLocalSearchParameters_; }
1323 iteratedLocalSearchParameters_ = value;
1327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1328 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1329 public override bool Equals(
object other) {
1333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1334 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1336 if (ReferenceEquals(other,
null)) {
1339 if (ReferenceEquals(other,
this)) {
1344 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsNeighborsRatio, other.
SavingsNeighborsRatio))
return false;
1345 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsMaxMemoryUsageBytes, other.
SavingsMaxMemoryUsageBytes))
return false;
1347 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsArcCoefficient, other.
SavingsArcCoefficient))
return false;
1357 if(!localCheapestInsertionSortingProperties_.Equals(other.localCheapestInsertionSortingProperties_))
return false;
1361 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LsOperatorNeighborsRatio, other.
LsOperatorNeighborsRatio))
return false;
1371 if(!localSearchMetaheuristics_.Equals(other.localSearchMetaheuristics_))
return false;
1373 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(GuidedLocalSearchLambdaCoefficient, other.
GuidedLocalSearchLambdaCoefficient))
return false;
1378 if (UseCp != other.
UseCp)
return false;
1379 if (UseCpSat != other.
UseCpSat)
return false;
1381 if (!
object.Equals(SatParameters, other.
SatParameters))
return false;
1387 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptimizationStep, other.
OptimizationStep))
return false;
1390 if (!
object.Equals(TimeLimit, other.
TimeLimit))
return false;
1391 if (!
object.Equals(LnsTimeLimit, other.
LnsTimeLimit))
return false;
1392 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SecondaryLsTimeLimitRatio, other.
SecondaryLsTimeLimitRatio))
return false;
1395 if (LogSearch != other.
LogSearch)
return false;
1396 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogCostScalingFactor, other.
LogCostScalingFactor))
return false;
1397 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogCostOffset, other.
LogCostOffset))
return false;
1398 if (LogTag != other.
LogTag)
return false;
1401 return Equals(_unknownFields, other._unknownFields);
1404 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1405 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1406 public override int GetHashCode() {
1409 if (UseUnfilteredFirstSolutionStrategy !=
false) hash ^= UseUnfilteredFirstSolutionStrategy.GetHashCode();
1410 if (SavingsNeighborsRatio != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SavingsNeighborsRatio);
1411 if (SavingsMaxMemoryUsageBytes != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SavingsMaxMemoryUsageBytes);
1423 hash ^= localCheapestInsertionSortingProperties_.GetHashCode();
1437 hash ^= localSearchMetaheuristics_.GetHashCode();
1444 if (
UseCp != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^=
UseCp.GetHashCode();
1447 if (satParameters_ !=
null) hash ^=
SatParameters.GetHashCode();
1456 if (timeLimit_ !=
null) hash ^=
TimeLimit.GetHashCode();
1457 if (lnsTimeLimit_ !=
null) hash ^=
LnsTimeLimit.GetHashCode();
1467 if (_unknownFields !=
null) {
1468 hash ^= _unknownFields.GetHashCode();
1473 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1474 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1475 public override string ToString() {
1476 return pb::JsonFormatter.ToDiagnosticString(
this);
1479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1480 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1481 public void WriteTo(pb::CodedOutputStream output) {
1482 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1483 output.WriteRawMessage(
this);
1486 output.WriteRawTag(8);
1489 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1490 output.WriteRawTag(16);
1491 output.WriteBool(UseUnfilteredFirstSolutionStrategy);
1493 if (localSearchOperators_ !=
null) {
1494 output.WriteRawTag(26);
1495 output.WriteMessage(LocalSearchOperators);
1498 output.WriteRawTag(32);
1499 output.WriteEnum((
int) LocalSearchMetaheuristic);
1501 if (GuidedLocalSearchLambdaCoefficient != 0D) {
1502 output.WriteRawTag(41);
1503 output.WriteDouble(GuidedLocalSearchLambdaCoefficient);
1505 if (UseDepthFirstSearch !=
false) {
1506 output.WriteRawTag(48);
1507 output.WriteBool(UseDepthFirstSearch);
1509 if (OptimizationStep != 0D) {
1510 output.WriteRawTag(57);
1511 output.WriteDouble(OptimizationStep);
1513 if (SolutionLimit != 0L) {
1514 output.WriteRawTag(64);
1515 output.WriteInt64(SolutionLimit);
1517 if (timeLimit_ !=
null) {
1518 output.WriteRawTag(74);
1519 output.WriteMessage(TimeLimit);
1521 if (lnsTimeLimit_ !=
null) {
1522 output.WriteRawTag(82);
1523 output.WriteMessage(LnsTimeLimit);
1525 if (UseFullPropagation !=
false) {
1526 output.WriteRawTag(88);
1527 output.WriteBool(UseFullPropagation);
1529 if (LogSearch !=
false) {
1530 output.WriteRawTag(104);
1531 output.WriteBool(LogSearch);
1533 if (SavingsNeighborsRatio != 0D) {
1534 output.WriteRawTag(113);
1535 output.WriteDouble(SavingsNeighborsRatio);
1537 if (SavingsAddReverseArcs !=
false) {
1538 output.WriteRawTag(120);
1539 output.WriteBool(SavingsAddReverseArcs);
1541 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1542 output.WriteRawTag(129, 1);
1543 output.WriteDouble(CheapestInsertionFarthestSeedsRatio);
1545 if (NumberOfSolutionsToCollect != 0) {
1546 output.WriteRawTag(136, 1);
1547 output.WriteInt32(NumberOfSolutionsToCollect);
1549 if (SavingsArcCoefficient != 0D) {
1550 output.WriteRawTag(145, 1);
1551 output.WriteDouble(SavingsArcCoefficient);
1553 if (RelocateExpensiveChainNumArcsToConsider != 0) {
1554 output.WriteRawTag(160, 1);
1555 output.WriteInt32(RelocateExpensiveChainNumArcsToConsider);
1557 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1558 output.WriteRawTag(169, 1);
1559 output.WriteDouble(CheapestInsertionFirstSolutionNeighborsRatio);
1561 if (LogCostScalingFactor != 0D) {
1562 output.WriteRawTag(177, 1);
1563 output.WriteDouble(LogCostScalingFactor);
1565 if (SavingsMaxMemoryUsageBytes != 0D) {
1566 output.WriteRawTag(185, 1);
1567 output.WriteDouble(SavingsMaxMemoryUsageBytes);
1569 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1570 output.WriteRawTag(216, 1);
1571 output.WriteEnum((
int) UseCpSat);
1573 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1574 output.WriteRawTag(224, 1);
1575 output.WriteEnum((
int) UseCp);
1577 if (LogCostOffset != 0D) {
1578 output.WriteRawTag(233, 1);
1579 output.WriteDouble(LogCostOffset);
1581 if (ChristofidesUseMinimumMatching !=
false) {
1582 output.WriteRawTag(240, 1);
1583 output.WriteBool(ChristofidesUseMinimumMatching);
1585 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1586 output.WriteRawTag(249, 1);
1587 output.WriteDouble(CheapestInsertionLsOperatorNeighborsRatio);
1589 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
1590 output.WriteRawTag(128, 2);
1591 output.WriteInt32(HeuristicExpensiveChainLnsNumArcsToConsider);
1593 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1594 output.WriteRawTag(136, 2);
1595 output.WriteEnum((
int) ContinuousSchedulingSolver);
1597 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1598 output.WriteRawTag(144, 2);
1599 output.WriteEnum((
int) MixedIntegerSchedulingSolver);
1601 if (HeuristicCloseNodesLnsNumNodes != 0) {
1602 output.WriteRawTag(152, 2);
1603 output.WriteInt32(HeuristicCloseNodesLnsNumNodes);
1605 if (LogTag.Length != 0) {
1606 output.WriteRawTag(162, 2);
1607 output.WriteString(LogTag);
1609 if (improvementLimitParameters_ !=
null) {
1610 output.WriteRawTag(170, 2);
1611 output.WriteMessage(ImprovementLimitParameters);
1613 if (CheapestInsertionAddUnperformedEntries !=
false) {
1614 output.WriteRawTag(192, 2);
1615 output.WriteBool(CheapestInsertionAddUnperformedEntries);
1617 if (UseMultiArmedBanditConcatenateOperators !=
false) {
1618 output.WriteRawTag(200, 2);
1619 output.WriteBool(UseMultiArmedBanditConcatenateOperators);
1621 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
1622 output.WriteRawTag(209, 2);
1623 output.WriteDouble(MultiArmedBanditCompoundOperatorMemoryCoefficient);
1625 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
1626 output.WriteRawTag(217, 2);
1627 output.WriteDouble(MultiArmedBanditCompoundOperatorExplorationCoefficient);
1629 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1630 output.WriteRawTag(224, 2);
1631 output.WriteInt32(CheapestInsertionFirstSolutionMinNeighbors);
1633 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1634 output.WriteRawTag(232, 2);
1635 output.WriteInt32(CheapestInsertionLsOperatorMinNeighbors);
1637 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
1638 output.WriteRawTag(240, 2);
1639 output.WriteBool(CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization);
1641 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1642 output.WriteRawTag(248, 2);
1643 output.WriteEnum((
int) UseGeneralizedCpSat);
1645 if (satParameters_ !=
null) {
1646 output.WriteRawTag(130, 3);
1647 output.WriteMessage(SatParameters);
1649 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1650 output.WriteRawTag(136, 3);
1651 output.WriteEnum((
int) LocalCheapestInsertionPickupDeliveryStrategy);
1653 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
1654 output.WriteRawTag(144, 3);
1655 output.WriteBool(DisableSchedulingBewareThisMayDegradePerformance);
1657 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
1658 output.WriteRawTag(152, 3);
1659 output.WriteBool(GuidedLocalSearchResetPenaltiesOnNewBestSolution);
1661 if (FallbackToCpSatSizeThreshold != 0) {
1662 output.WriteRawTag(160, 3);
1663 output.WriteInt32(FallbackToCpSatSizeThreshold);
1665 if (LsOperatorNeighborsRatio != 0D) {
1666 output.WriteRawTag(169, 3);
1667 output.WriteDouble(LsOperatorNeighborsRatio);
1669 if (LsOperatorMinNeighbors != 0) {
1670 output.WriteRawTag(176, 3);
1671 output.WriteInt32(LsOperatorMinNeighbors);
1673 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1674 output.WriteRawTag(184, 3);
1675 output.WriteEnum((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
1677 if (ReportIntermediateCpSatSolutions !=
false) {
1678 output.WriteRawTag(192, 3);
1679 output.WriteBool(ReportIntermediateCpSatSolutions);
1681 if (SecondaryLsTimeLimitRatio != 0D) {
1682 output.WriteRawTag(201, 3);
1683 output.WriteDouble(SecondaryLsTimeLimitRatio);
1685 if (UseIteratedLocalSearch !=
false) {
1686 output.WriteRawTag(208, 3);
1687 output.WriteBool(UseIteratedLocalSearch);
1689 if (FirstSolutionOptimizationPeriod != 0) {
1690 output.WriteRawTag(216, 3);
1691 output.WriteInt32(FirstSolutionOptimizationPeriod);
1693 if (iteratedLocalSearchParameters_ !=
null) {
1694 output.WriteRawTag(226, 3);
1695 output.WriteMessage(IteratedLocalSearchParameters);
1697 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
1698 output.WriteRawTag(232, 3);
1699 output.WriteBool(GuidedLocalSearchPenalizeWithVehicleClasses);
1701 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
1702 output.WriteRawTag(240, 3);
1703 output.WriteBool(UseGuidedLocalSearchPenaltiesInLocalSearchOperators);
1705 localSearchMetaheuristics_.WriteTo(output, _repeated_localSearchMetaheuristics_codec);
1706 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
1707 output.WriteRawTag(128, 4);
1708 output.WriteInt32(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
1710 if (MaxSwapActiveChainSize != 0) {
1711 output.WriteRawTag(144, 4);
1712 output.WriteInt32(MaxSwapActiveChainSize);
1714 localCheapestInsertionSortingProperties_.WriteTo(output, _repeated_localCheapestInsertionSortingProperties_codec);
1715 if (_unknownFields !=
null) {
1716 _unknownFields.WriteTo(output);
1721 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1723 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1724 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1725 if (FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
1726 output.WriteRawTag(8);
1727 output.WriteEnum((
int) FirstSolutionStrategy);
1729 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1730 output.WriteRawTag(16);
1731 output.WriteBool(UseUnfilteredFirstSolutionStrategy);
1733 if (localSearchOperators_ !=
null) {
1734 output.WriteRawTag(26);
1735 output.WriteMessage(LocalSearchOperators);
1737 if (LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
1738 output.WriteRawTag(32);
1739 output.WriteEnum((
int) LocalSearchMetaheuristic);
1741 if (GuidedLocalSearchLambdaCoefficient != 0D) {
1742 output.WriteRawTag(41);
1743 output.WriteDouble(GuidedLocalSearchLambdaCoefficient);
1745 if (UseDepthFirstSearch !=
false) {
1746 output.WriteRawTag(48);
1747 output.WriteBool(UseDepthFirstSearch);
1749 if (OptimizationStep != 0D) {
1750 output.WriteRawTag(57);
1751 output.WriteDouble(OptimizationStep);
1753 if (SolutionLimit != 0L) {
1754 output.WriteRawTag(64);
1755 output.WriteInt64(SolutionLimit);
1757 if (timeLimit_ !=
null) {
1758 output.WriteRawTag(74);
1759 output.WriteMessage(TimeLimit);
1761 if (lnsTimeLimit_ !=
null) {
1762 output.WriteRawTag(82);
1763 output.WriteMessage(LnsTimeLimit);
1765 if (UseFullPropagation !=
false) {
1766 output.WriteRawTag(88);
1767 output.WriteBool(UseFullPropagation);
1769 if (LogSearch !=
false) {
1770 output.WriteRawTag(104);
1771 output.WriteBool(LogSearch);
1773 if (SavingsNeighborsRatio != 0D) {
1774 output.WriteRawTag(113);
1775 output.WriteDouble(SavingsNeighborsRatio);
1777 if (SavingsAddReverseArcs !=
false) {
1778 output.WriteRawTag(120);
1779 output.WriteBool(SavingsAddReverseArcs);
1781 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1782 output.WriteRawTag(129, 1);
1783 output.WriteDouble(CheapestInsertionFarthestSeedsRatio);
1785 if (NumberOfSolutionsToCollect != 0) {
1786 output.WriteRawTag(136, 1);
1787 output.WriteInt32(NumberOfSolutionsToCollect);
1789 if (SavingsArcCoefficient != 0D) {
1790 output.WriteRawTag(145, 1);
1791 output.WriteDouble(SavingsArcCoefficient);
1793 if (RelocateExpensiveChainNumArcsToConsider != 0) {
1794 output.WriteRawTag(160, 1);
1795 output.WriteInt32(RelocateExpensiveChainNumArcsToConsider);
1797 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1798 output.WriteRawTag(169, 1);
1799 output.WriteDouble(CheapestInsertionFirstSolutionNeighborsRatio);
1801 if (LogCostScalingFactor != 0D) {
1802 output.WriteRawTag(177, 1);
1803 output.WriteDouble(LogCostScalingFactor);
1805 if (SavingsMaxMemoryUsageBytes != 0D) {
1806 output.WriteRawTag(185, 1);
1807 output.WriteDouble(SavingsMaxMemoryUsageBytes);
1809 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1810 output.WriteRawTag(216, 1);
1811 output.WriteEnum((
int) UseCpSat);
1813 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1814 output.WriteRawTag(224, 1);
1815 output.WriteEnum((
int) UseCp);
1817 if (LogCostOffset != 0D) {
1818 output.WriteRawTag(233, 1);
1819 output.WriteDouble(LogCostOffset);
1821 if (ChristofidesUseMinimumMatching !=
false) {
1822 output.WriteRawTag(240, 1);
1823 output.WriteBool(ChristofidesUseMinimumMatching);
1825 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1826 output.WriteRawTag(249, 1);
1827 output.WriteDouble(CheapestInsertionLsOperatorNeighborsRatio);
1829 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
1830 output.WriteRawTag(128, 2);
1831 output.WriteInt32(HeuristicExpensiveChainLnsNumArcsToConsider);
1833 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1834 output.WriteRawTag(136, 2);
1835 output.WriteEnum((
int) ContinuousSchedulingSolver);
1837 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1838 output.WriteRawTag(144, 2);
1839 output.WriteEnum((
int) MixedIntegerSchedulingSolver);
1841 if (HeuristicCloseNodesLnsNumNodes != 0) {
1842 output.WriteRawTag(152, 2);
1843 output.WriteInt32(HeuristicCloseNodesLnsNumNodes);
1845 if (LogTag.Length != 0) {
1846 output.WriteRawTag(162, 2);
1847 output.WriteString(LogTag);
1849 if (improvementLimitParameters_ !=
null) {
1850 output.WriteRawTag(170, 2);
1851 output.WriteMessage(ImprovementLimitParameters);
1853 if (CheapestInsertionAddUnperformedEntries !=
false) {
1854 output.WriteRawTag(192, 2);
1855 output.WriteBool(CheapestInsertionAddUnperformedEntries);
1857 if (UseMultiArmedBanditConcatenateOperators !=
false) {
1858 output.WriteRawTag(200, 2);
1859 output.WriteBool(UseMultiArmedBanditConcatenateOperators);
1861 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
1862 output.WriteRawTag(209, 2);
1863 output.WriteDouble(MultiArmedBanditCompoundOperatorMemoryCoefficient);
1865 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
1866 output.WriteRawTag(217, 2);
1867 output.WriteDouble(MultiArmedBanditCompoundOperatorExplorationCoefficient);
1869 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1870 output.WriteRawTag(224, 2);
1871 output.WriteInt32(CheapestInsertionFirstSolutionMinNeighbors);
1873 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1874 output.WriteRawTag(232, 2);
1875 output.WriteInt32(CheapestInsertionLsOperatorMinNeighbors);
1877 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
1878 output.WriteRawTag(240, 2);
1879 output.WriteBool(CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization);
1881 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1882 output.WriteRawTag(248, 2);
1883 output.WriteEnum((
int) UseGeneralizedCpSat);
1885 if (satParameters_ !=
null) {
1886 output.WriteRawTag(130, 3);
1887 output.WriteMessage(SatParameters);
1889 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1890 output.WriteRawTag(136, 3);
1891 output.WriteEnum((
int) LocalCheapestInsertionPickupDeliveryStrategy);
1893 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
1894 output.WriteRawTag(144, 3);
1895 output.WriteBool(DisableSchedulingBewareThisMayDegradePerformance);
1897 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
1898 output.WriteRawTag(152, 3);
1899 output.WriteBool(GuidedLocalSearchResetPenaltiesOnNewBestSolution);
1901 if (FallbackToCpSatSizeThreshold != 0) {
1902 output.WriteRawTag(160, 3);
1903 output.WriteInt32(FallbackToCpSatSizeThreshold);
1905 if (LsOperatorNeighborsRatio != 0D) {
1906 output.WriteRawTag(169, 3);
1907 output.WriteDouble(LsOperatorNeighborsRatio);
1909 if (LsOperatorMinNeighbors != 0) {
1910 output.WriteRawTag(176, 3);
1911 output.WriteInt32(LsOperatorMinNeighbors);
1913 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1914 output.WriteRawTag(184, 3);
1915 output.WriteEnum((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
1917 if (ReportIntermediateCpSatSolutions !=
false) {
1918 output.WriteRawTag(192, 3);
1919 output.WriteBool(ReportIntermediateCpSatSolutions);
1921 if (SecondaryLsTimeLimitRatio != 0D) {
1922 output.WriteRawTag(201, 3);
1923 output.WriteDouble(SecondaryLsTimeLimitRatio);
1925 if (UseIteratedLocalSearch !=
false) {
1926 output.WriteRawTag(208, 3);
1927 output.WriteBool(UseIteratedLocalSearch);
1929 if (FirstSolutionOptimizationPeriod != 0) {
1930 output.WriteRawTag(216, 3);
1931 output.WriteInt32(FirstSolutionOptimizationPeriod);
1933 if (iteratedLocalSearchParameters_ !=
null) {
1934 output.WriteRawTag(226, 3);
1935 output.WriteMessage(IteratedLocalSearchParameters);
1937 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
1938 output.WriteRawTag(232, 3);
1939 output.WriteBool(GuidedLocalSearchPenalizeWithVehicleClasses);
1941 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
1942 output.WriteRawTag(240, 3);
1943 output.WriteBool(UseGuidedLocalSearchPenaltiesInLocalSearchOperators);
1945 localSearchMetaheuristics_.WriteTo(ref output, _repeated_localSearchMetaheuristics_codec);
1946 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
1947 output.WriteRawTag(128, 4);
1948 output.WriteInt32(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
1950 if (MaxSwapActiveChainSize != 0) {
1951 output.WriteRawTag(144, 4);
1952 output.WriteInt32(MaxSwapActiveChainSize);
1954 localCheapestInsertionSortingProperties_.WriteTo(ref output, _repeated_localCheapestInsertionSortingProperties_codec);
1955 if (_unknownFields !=
null) {
1956 _unknownFields.WriteTo(ref output);
1961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1962 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1963 public int CalculateSize() {
1965 if (FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
1966 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) FirstSolutionStrategy);
1968 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1971 if (SavingsNeighborsRatio != 0D) {
1974 if (SavingsMaxMemoryUsageBytes != 0D) {
1977 if (SavingsAddReverseArcs !=
false) {
1980 if (SavingsArcCoefficient != 0D) {
1983 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1986 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1989 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1990 size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheapestInsertionFirstSolutionMinNeighbors);
1992 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1995 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1996 size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheapestInsertionLsOperatorMinNeighbors);
1998 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
2001 if (CheapestInsertionAddUnperformedEntries !=
false) {
2004 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2005 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalCheapestInsertionPickupDeliveryStrategy);
2007 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2008 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
2010 size += localCheapestInsertionSortingProperties_.CalculateSize(_repeated_localCheapestInsertionSortingProperties_codec);
2011 if (ChristofidesUseMinimumMatching !=
false) {
2014 if (FirstSolutionOptimizationPeriod != 0) {
2015 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FirstSolutionOptimizationPeriod);
2017 if (localSearchOperators_ !=
null) {
2018 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalSearchOperators);
2020 if (LsOperatorNeighborsRatio != 0D) {
2023 if (LsOperatorMinNeighbors != 0) {
2024 size += 2 + pb::CodedOutputStream.ComputeInt32Size(LsOperatorMinNeighbors);
2026 if (UseMultiArmedBanditConcatenateOperators !=
false) {
2029 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
2032 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
2035 if (MaxSwapActiveChainSize != 0) {
2036 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MaxSwapActiveChainSize);
2038 if (RelocateExpensiveChainNumArcsToConsider != 0) {
2039 size += 2 + pb::CodedOutputStream.ComputeInt32Size(RelocateExpensiveChainNumArcsToConsider);
2041 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
2042 size += 2 + pb::CodedOutputStream.ComputeInt32Size(HeuristicExpensiveChainLnsNumArcsToConsider);
2044 if (HeuristicCloseNodesLnsNumNodes != 0) {
2045 size += 2 + pb::CodedOutputStream.ComputeInt32Size(HeuristicCloseNodesLnsNumNodes);
2047 if (LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
2048 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalSearchMetaheuristic);
2050 size += localSearchMetaheuristics_.CalculateSize(_repeated_localSearchMetaheuristics_codec);
2051 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
2052 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
2054 if (GuidedLocalSearchLambdaCoefficient != 0D) {
2057 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
2060 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
2063 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
2066 if (UseDepthFirstSearch !=
false) {
2069 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2070 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCp);
2072 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2073 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCpSat);
2075 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2076 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGeneralizedCpSat);
2078 if (satParameters_ !=
null) {
2079 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SatParameters);
2081 if (ReportIntermediateCpSatSolutions !=
false) {
2084 if (FallbackToCpSatSizeThreshold != 0) {
2085 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FallbackToCpSatSizeThreshold);
2087 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2088 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) ContinuousSchedulingSolver);
2090 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2091 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) MixedIntegerSchedulingSolver);
2093 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
2096 if (OptimizationStep != 0D) {
2099 if (NumberOfSolutionsToCollect != 0) {
2100 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumberOfSolutionsToCollect);
2102 if (SolutionLimit != 0L) {
2103 size += 1 + pb::CodedOutputStream.ComputeInt64Size(SolutionLimit);
2105 if (timeLimit_ !=
null) {
2106 size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimeLimit);
2108 if (lnsTimeLimit_ !=
null) {
2109 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LnsTimeLimit);
2111 if (SecondaryLsTimeLimitRatio != 0D) {
2114 if (improvementLimitParameters_ !=
null) {
2115 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImprovementLimitParameters);
2117 if (UseFullPropagation !=
false) {
2120 if (LogSearch !=
false) {
2123 if (LogCostScalingFactor != 0D) {
2126 if (LogCostOffset != 0D) {
2129 if (LogTag.Length != 0) {
2130 size += 2 + pb::CodedOutputStream.ComputeStringSize(LogTag);
2132 if (UseIteratedLocalSearch !=
false) {
2135 if (iteratedLocalSearchParameters_ !=
null) {
2136 size += 2 + pb::CodedOutputStream.ComputeMessageSize(IteratedLocalSearchParameters);
2138 if (_unknownFields !=
null) {
2139 size += _unknownFields.CalculateSize();
2144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2145 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2146 public void MergeFrom(RoutingSearchParameters other) {
2147 if (other ==
null) {
2150 if (other.FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
2151 FirstSolutionStrategy = other.FirstSolutionStrategy;
2153 if (other.UseUnfilteredFirstSolutionStrategy !=
false) {
2154 UseUnfilteredFirstSolutionStrategy = other.UseUnfilteredFirstSolutionStrategy;
2156 if (other.SavingsNeighborsRatio != 0D) {
2157 SavingsNeighborsRatio = other.SavingsNeighborsRatio;
2159 if (other.SavingsMaxMemoryUsageBytes != 0D) {
2160 SavingsMaxMemoryUsageBytes = other.SavingsMaxMemoryUsageBytes;
2162 if (other.SavingsAddReverseArcs !=
false) {
2163 SavingsAddReverseArcs = other.SavingsAddReverseArcs;
2165 if (other.SavingsArcCoefficient != 0D) {
2166 SavingsArcCoefficient = other.SavingsArcCoefficient;
2168 if (other.CheapestInsertionFarthestSeedsRatio != 0D) {
2169 CheapestInsertionFarthestSeedsRatio = other.CheapestInsertionFarthestSeedsRatio;
2171 if (other.CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
2172 CheapestInsertionFirstSolutionNeighborsRatio = other.CheapestInsertionFirstSolutionNeighborsRatio;
2174 if (other.CheapestInsertionFirstSolutionMinNeighbors != 0) {
2175 CheapestInsertionFirstSolutionMinNeighbors = other.CheapestInsertionFirstSolutionMinNeighbors;
2177 if (other.CheapestInsertionLsOperatorNeighborsRatio != 0D) {
2178 CheapestInsertionLsOperatorNeighborsRatio = other.CheapestInsertionLsOperatorNeighborsRatio;
2180 if (other.CheapestInsertionLsOperatorMinNeighbors != 0) {
2181 CheapestInsertionLsOperatorMinNeighbors = other.CheapestInsertionLsOperatorMinNeighbors;
2183 if (other.CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
2184 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = other.CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization;
2186 if (other.CheapestInsertionAddUnperformedEntries !=
false) {
2187 CheapestInsertionAddUnperformedEntries = other.CheapestInsertionAddUnperformedEntries;
2189 if (other.LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2190 LocalCheapestInsertionPickupDeliveryStrategy = other.LocalCheapestInsertionPickupDeliveryStrategy;
2192 if (other.LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2193 LocalCheapestCostInsertionPickupDeliveryStrategy = other.LocalCheapestCostInsertionPickupDeliveryStrategy;
2195 localCheapestInsertionSortingProperties_.Add(other.localCheapestInsertionSortingProperties_);
2196 if (other.ChristofidesUseMinimumMatching !=
false) {
2197 ChristofidesUseMinimumMatching = other.ChristofidesUseMinimumMatching;
2199 if (other.FirstSolutionOptimizationPeriod != 0) {
2200 FirstSolutionOptimizationPeriod = other.FirstSolutionOptimizationPeriod;
2202 if (other.localSearchOperators_ !=
null) {
2203 if (localSearchOperators_ ==
null) {
2204 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2206 LocalSearchOperators.MergeFrom(other.LocalSearchOperators);
2208 if (other.LsOperatorNeighborsRatio != 0D) {
2209 LsOperatorNeighborsRatio = other.LsOperatorNeighborsRatio;
2211 if (other.LsOperatorMinNeighbors != 0) {
2212 LsOperatorMinNeighbors = other.LsOperatorMinNeighbors;
2214 if (other.UseMultiArmedBanditConcatenateOperators !=
false) {
2215 UseMultiArmedBanditConcatenateOperators = other.UseMultiArmedBanditConcatenateOperators;
2217 if (other.MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
2218 MultiArmedBanditCompoundOperatorMemoryCoefficient = other.MultiArmedBanditCompoundOperatorMemoryCoefficient;
2220 if (other.MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
2221 MultiArmedBanditCompoundOperatorExplorationCoefficient = other.MultiArmedBanditCompoundOperatorExplorationCoefficient;
2223 if (other.MaxSwapActiveChainSize != 0) {
2224 MaxSwapActiveChainSize = other.MaxSwapActiveChainSize;
2226 if (other.RelocateExpensiveChainNumArcsToConsider != 0) {
2227 RelocateExpensiveChainNumArcsToConsider = other.RelocateExpensiveChainNumArcsToConsider;
2229 if (other.HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
2230 HeuristicExpensiveChainLnsNumArcsToConsider = other.HeuristicExpensiveChainLnsNumArcsToConsider;
2232 if (other.HeuristicCloseNodesLnsNumNodes != 0) {
2233 HeuristicCloseNodesLnsNumNodes = other.HeuristicCloseNodesLnsNumNodes;
2235 if (other.LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
2236 LocalSearchMetaheuristic = other.LocalSearchMetaheuristic;
2238 localSearchMetaheuristics_.Add(other.localSearchMetaheuristics_);
2239 if (other.NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
2240 NumMaxLocalOptimaBeforeMetaheuristicSwitch = other.NumMaxLocalOptimaBeforeMetaheuristicSwitch;
2242 if (other.GuidedLocalSearchLambdaCoefficient != 0D) {
2243 GuidedLocalSearchLambdaCoefficient = other.GuidedLocalSearchLambdaCoefficient;
2245 if (other.GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
2246 GuidedLocalSearchResetPenaltiesOnNewBestSolution = other.GuidedLocalSearchResetPenaltiesOnNewBestSolution;
2248 if (other.GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
2249 GuidedLocalSearchPenalizeWithVehicleClasses = other.GuidedLocalSearchPenalizeWithVehicleClasses;
2251 if (other.UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
2252 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = other.UseGuidedLocalSearchPenaltiesInLocalSearchOperators;
2254 if (other.UseDepthFirstSearch !=
false) {
2255 UseDepthFirstSearch = other.UseDepthFirstSearch;
2257 if (other.UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2258 UseCp = other.UseCp;
2260 if (other.UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2261 UseCpSat = other.UseCpSat;
2263 if (other.UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2264 UseGeneralizedCpSat = other.UseGeneralizedCpSat;
2266 if (other.satParameters_ !=
null) {
2267 if (satParameters_ ==
null) {
2268 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2270 SatParameters.MergeFrom(other.SatParameters);
2272 if (other.ReportIntermediateCpSatSolutions !=
false) {
2273 ReportIntermediateCpSatSolutions = other.ReportIntermediateCpSatSolutions;
2275 if (other.FallbackToCpSatSizeThreshold != 0) {
2276 FallbackToCpSatSizeThreshold = other.FallbackToCpSatSizeThreshold;
2278 if (other.ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2279 ContinuousSchedulingSolver = other.ContinuousSchedulingSolver;
2281 if (other.MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2282 MixedIntegerSchedulingSolver = other.MixedIntegerSchedulingSolver;
2284 if (other.HasDisableSchedulingBewareThisMayDegradePerformance) {
2285 DisableSchedulingBewareThisMayDegradePerformance = other.DisableSchedulingBewareThisMayDegradePerformance;
2287 if (other.OptimizationStep != 0D) {
2288 OptimizationStep = other.OptimizationStep;
2290 if (other.NumberOfSolutionsToCollect != 0) {
2291 NumberOfSolutionsToCollect = other.NumberOfSolutionsToCollect;
2293 if (other.SolutionLimit != 0L) {
2294 SolutionLimit = other.SolutionLimit;
2296 if (other.timeLimit_ !=
null) {
2297 if (timeLimit_ ==
null) {
2298 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2302 if (other.lnsTimeLimit_ !=
null) {
2303 if (lnsTimeLimit_ ==
null) {
2304 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2306 LnsTimeLimit.MergeFrom(other.LnsTimeLimit);
2308 if (other.SecondaryLsTimeLimitRatio != 0D) {
2309 SecondaryLsTimeLimitRatio = other.SecondaryLsTimeLimitRatio;
2311 if (other.improvementLimitParameters_ !=
null) {
2312 if (improvementLimitParameters_ ==
null) {
2313 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2315 ImprovementLimitParameters.MergeFrom(other.ImprovementLimitParameters);
2317 if (other.UseFullPropagation !=
false) {
2318 UseFullPropagation = other.UseFullPropagation;
2320 if (other.LogSearch !=
false) {
2321 LogSearch = other.LogSearch;
2323 if (other.LogCostScalingFactor != 0D) {
2324 LogCostScalingFactor = other.LogCostScalingFactor;
2326 if (other.LogCostOffset != 0D) {
2327 LogCostOffset = other.LogCostOffset;
2329 if (other.LogTag.Length != 0) {
2330 LogTag = other.LogTag;
2332 if (other.UseIteratedLocalSearch !=
false) {
2333 UseIteratedLocalSearch = other.UseIteratedLocalSearch;
2335 if (other.iteratedLocalSearchParameters_ !=
null) {
2336 if (iteratedLocalSearchParameters_ ==
null) {
2337 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2339 IteratedLocalSearchParameters.MergeFrom(other.IteratedLocalSearchParameters);
2341 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2345 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2346 public void MergeFrom(pb::CodedInputStream input) {
2347 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2348 input.ReadRawMessage(
this);
2351 while ((tag = input.ReadTag()) != 0) {
2352 if ((tag & 7) == 4) {
2358 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2361 FirstSolutionStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
2365 UseUnfilteredFirstSolutionStrategy = input.ReadBool();
2369 if (localSearchOperators_ ==
null) {
2370 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2372 input.ReadMessage(LocalSearchOperators);
2376 LocalSearchMetaheuristic = (global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) input.ReadEnum();
2380 GuidedLocalSearchLambdaCoefficient = input.ReadDouble();
2384 UseDepthFirstSearch = input.ReadBool();
2388 OptimizationStep = input.ReadDouble();
2392 SolutionLimit = input.ReadInt64();
2396 if (timeLimit_ ==
null) {
2397 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2399 input.ReadMessage(TimeLimit);
2403 if (lnsTimeLimit_ ==
null) {
2404 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2406 input.ReadMessage(LnsTimeLimit);
2410 UseFullPropagation = input.ReadBool();
2414 LogSearch = input.ReadBool();
2418 SavingsNeighborsRatio = input.ReadDouble();
2422 SavingsAddReverseArcs = input.ReadBool();
2426 CheapestInsertionFarthestSeedsRatio = input.ReadDouble();
2430 NumberOfSolutionsToCollect = input.ReadInt32();
2434 SavingsArcCoefficient = input.ReadDouble();
2438 RelocateExpensiveChainNumArcsToConsider = input.ReadInt32();
2442 CheapestInsertionFirstSolutionNeighborsRatio = input.ReadDouble();
2446 LogCostScalingFactor = input.ReadDouble();
2450 SavingsMaxMemoryUsageBytes = input.ReadDouble();
2454 UseCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2458 UseCp = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2462 LogCostOffset = input.ReadDouble();
2466 ChristofidesUseMinimumMatching = input.ReadBool();
2470 CheapestInsertionLsOperatorNeighborsRatio = input.ReadDouble();
2474 HeuristicExpensiveChainLnsNumArcsToConsider = input.ReadInt32();
2478 ContinuousSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2482 MixedIntegerSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2486 HeuristicCloseNodesLnsNumNodes = input.ReadInt32();
2490 LogTag = input.ReadString();
2494 if (improvementLimitParameters_ ==
null) {
2495 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2497 input.ReadMessage(ImprovementLimitParameters);
2501 CheapestInsertionAddUnperformedEntries = input.ReadBool();
2505 UseMultiArmedBanditConcatenateOperators = input.ReadBool();
2509 MultiArmedBanditCompoundOperatorMemoryCoefficient = input.ReadDouble();
2513 MultiArmedBanditCompoundOperatorExplorationCoefficient = input.ReadDouble();
2517 CheapestInsertionFirstSolutionMinNeighbors = input.ReadInt32();
2521 CheapestInsertionLsOperatorMinNeighbors = input.ReadInt32();
2525 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = input.ReadBool();
2529 UseGeneralizedCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2533 if (satParameters_ ==
null) {
2534 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2536 input.ReadMessage(SatParameters);
2540 LocalCheapestInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2544 DisableSchedulingBewareThisMayDegradePerformance = input.ReadBool();
2548 GuidedLocalSearchResetPenaltiesOnNewBestSolution = input.ReadBool();
2552 FallbackToCpSatSizeThreshold = input.ReadInt32();
2556 LsOperatorNeighborsRatio = input.ReadDouble();
2560 LsOperatorMinNeighbors = input.ReadInt32();
2564 LocalCheapestCostInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2568 ReportIntermediateCpSatSolutions = input.ReadBool();
2572 SecondaryLsTimeLimitRatio = input.ReadDouble();
2576 UseIteratedLocalSearch = input.ReadBool();
2580 FirstSolutionOptimizationPeriod = input.ReadInt32();
2584 if (iteratedLocalSearchParameters_ ==
null) {
2585 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2587 input.ReadMessage(IteratedLocalSearchParameters);
2591 GuidedLocalSearchPenalizeWithVehicleClasses = input.ReadBool();
2595 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = input.ReadBool();
2600 localSearchMetaheuristics_.AddEntriesFrom(input, _repeated_localSearchMetaheuristics_codec);
2604 NumMaxLocalOptimaBeforeMetaheuristicSwitch = input.ReadInt32();
2608 MaxSwapActiveChainSize = input.ReadInt32();
2613 localCheapestInsertionSortingProperties_.AddEntriesFrom(input, _repeated_localCheapestInsertionSortingProperties_codec);
2621 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2622 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2623 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2624 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2626 while ((tag = input.ReadTag()) != 0) {
2627 if ((tag & 7) == 4) {
2633 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2636 FirstSolutionStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
2640 UseUnfilteredFirstSolutionStrategy = input.ReadBool();
2644 if (localSearchOperators_ ==
null) {
2645 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2647 input.ReadMessage(LocalSearchOperators);
2651 LocalSearchMetaheuristic = (global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) input.ReadEnum();
2655 GuidedLocalSearchLambdaCoefficient = input.ReadDouble();
2659 UseDepthFirstSearch = input.ReadBool();
2663 OptimizationStep = input.ReadDouble();
2667 SolutionLimit = input.ReadInt64();
2671 if (timeLimit_ ==
null) {
2672 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2674 input.ReadMessage(TimeLimit);
2678 if (lnsTimeLimit_ ==
null) {
2679 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2681 input.ReadMessage(LnsTimeLimit);
2685 UseFullPropagation = input.ReadBool();
2689 LogSearch = input.ReadBool();
2693 SavingsNeighborsRatio = input.ReadDouble();
2697 SavingsAddReverseArcs = input.ReadBool();
2701 CheapestInsertionFarthestSeedsRatio = input.ReadDouble();
2705 NumberOfSolutionsToCollect = input.ReadInt32();
2709 SavingsArcCoefficient = input.ReadDouble();
2713 RelocateExpensiveChainNumArcsToConsider = input.ReadInt32();
2717 CheapestInsertionFirstSolutionNeighborsRatio = input.ReadDouble();
2721 LogCostScalingFactor = input.ReadDouble();
2725 SavingsMaxMemoryUsageBytes = input.ReadDouble();
2729 UseCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2733 UseCp = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2737 LogCostOffset = input.ReadDouble();
2741 ChristofidesUseMinimumMatching = input.ReadBool();
2745 CheapestInsertionLsOperatorNeighborsRatio = input.ReadDouble();
2749 HeuristicExpensiveChainLnsNumArcsToConsider = input.ReadInt32();
2753 ContinuousSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2757 MixedIntegerSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2761 HeuristicCloseNodesLnsNumNodes = input.ReadInt32();
2765 LogTag = input.ReadString();
2769 if (improvementLimitParameters_ ==
null) {
2770 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2772 input.ReadMessage(ImprovementLimitParameters);
2776 CheapestInsertionAddUnperformedEntries = input.ReadBool();
2780 UseMultiArmedBanditConcatenateOperators = input.ReadBool();
2784 MultiArmedBanditCompoundOperatorMemoryCoefficient = input.ReadDouble();
2788 MultiArmedBanditCompoundOperatorExplorationCoefficient = input.ReadDouble();
2792 CheapestInsertionFirstSolutionMinNeighbors = input.ReadInt32();
2796 CheapestInsertionLsOperatorMinNeighbors = input.ReadInt32();
2800 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = input.ReadBool();
2804 UseGeneralizedCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2808 if (satParameters_ ==
null) {
2809 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2811 input.ReadMessage(SatParameters);
2815 LocalCheapestInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2819 DisableSchedulingBewareThisMayDegradePerformance = input.ReadBool();
2823 GuidedLocalSearchResetPenaltiesOnNewBestSolution = input.ReadBool();
2827 FallbackToCpSatSizeThreshold = input.ReadInt32();
2831 LsOperatorNeighborsRatio = input.ReadDouble();
2835 LsOperatorMinNeighbors = input.ReadInt32();
2839 LocalCheapestCostInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2843 ReportIntermediateCpSatSolutions = input.ReadBool();
2847 SecondaryLsTimeLimitRatio = input.ReadDouble();
2851 UseIteratedLocalSearch = input.ReadBool();
2855 FirstSolutionOptimizationPeriod = input.ReadInt32();
2859 if (iteratedLocalSearchParameters_ ==
null) {
2860 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2862 input.ReadMessage(IteratedLocalSearchParameters);
2866 GuidedLocalSearchPenalizeWithVehicleClasses = input.ReadBool();
2870 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = input.ReadBool();
2875 localSearchMetaheuristics_.AddEntriesFrom(ref input, _repeated_localSearchMetaheuristics_codec);
2879 NumMaxLocalOptimaBeforeMetaheuristicSwitch = input.ReadInt32();
2883 MaxSwapActiveChainSize = input.ReadInt32();
2888 localCheapestInsertionSortingProperties_.AddEntriesFrom(ref input, _repeated_localCheapestInsertionSortingProperties_codec);
2896 #region Nested types
2898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2899 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2900 public static partial
class Types {
2910 [pbr::OriginalName(
"AUTOMATIC")]
Automatic = 0,
2990 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2992 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2993 , pb::IBufferMessage
2996 private static readonly pb::MessageParser<LocalSearchNeighborhoodOperators> _parser =
new pb::MessageParser<LocalSearchNeighborhoodOperators>(() =>
new LocalSearchNeighborhoodOperators());
2997 private pb::UnknownFieldSet _unknownFields;
2998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3000 public static pb::MessageParser<LocalSearchNeighborhoodOperators>
Parser {
get {
return _parser; } }
3002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3003 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3004 public static pbr::MessageDescriptor
Descriptor {
3005 get {
return global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Descriptor.NestedTypes[0]; }
3008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3009 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3010 pbr::MessageDescriptor pb::IMessage.Descriptor {
3014 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3015 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3020 partial
void OnConstruction();
3022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3023 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3025 useRelocate_ = other.useRelocate_;
3026 useRelocatePair_ = other.useRelocatePair_;
3027 useLightRelocatePair_ = other.useLightRelocatePair_;
3028 useRelocateNeighbors_ = other.useRelocateNeighbors_;
3029 useRelocateSubtrip_ = other.useRelocateSubtrip_;
3030 useExchange_ = other.useExchange_;
3031 useExchangePair_ = other.useExchangePair_;
3032 useExchangeSubtrip_ = other.useExchangeSubtrip_;
3033 useCross_ = other.useCross_;
3034 useCrossExchange_ = other.useCrossExchange_;
3035 useRelocateExpensiveChain_ = other.useRelocateExpensiveChain_;
3036 useTwoOpt_ = other.useTwoOpt_;
3037 useOrOpt_ = other.useOrOpt_;
3038 useLinKernighan_ = other.useLinKernighan_;
3039 useTspOpt_ = other.useTspOpt_;
3040 useMakeActive_ = other.useMakeActive_;
3041 useRelocateAndMakeActive_ = other.useRelocateAndMakeActive_;
3042 useExchangeAndMakeActive_ = other.useExchangeAndMakeActive_;
3043 useExchangePathStartEndsAndMakeActive_ = other.useExchangePathStartEndsAndMakeActive_;
3044 useMakeInactive_ = other.useMakeInactive_;
3045 useMakeChainInactive_ = other.useMakeChainInactive_;
3046 useSwapActive_ = other.useSwapActive_;
3047 useSwapActiveChain_ = other.useSwapActiveChain_;
3048 useExtendedSwapActive_ = other.useExtendedSwapActive_;
3049 useShortestPathSwapActive_ = other.useShortestPathSwapActive_;
3050 useShortestPathTwoOpt_ = other.useShortestPathTwoOpt_;
3051 useNodePairSwapActive_ = other.useNodePairSwapActive_;
3052 usePathLns_ = other.usePathLns_;
3053 useFullPathLns_ = other.useFullPathLns_;
3054 useTspLns_ = other.useTspLns_;
3055 useInactiveLns_ = other.useInactiveLns_;
3056 useGlobalCheapestInsertionPathLns_ = other.useGlobalCheapestInsertionPathLns_;
3057 useLocalCheapestInsertionPathLns_ = other.useLocalCheapestInsertionPathLns_;
3058 useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = other.useRelocatePathGlobalCheapestInsertionInsertUnperformed_;
3059 useGlobalCheapestInsertionExpensiveChainLns_ = other.useGlobalCheapestInsertionExpensiveChainLns_;
3060 useLocalCheapestInsertionExpensiveChainLns_ = other.useLocalCheapestInsertionExpensiveChainLns_;
3061 useGlobalCheapestInsertionCloseNodesLns_ = other.useGlobalCheapestInsertionCloseNodesLns_;
3062 useLocalCheapestInsertionCloseNodesLns_ = other.useLocalCheapestInsertionCloseNodesLns_;
3063 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3066 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3067 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3073 public const int UseRelocateFieldNumber = 1;
3074 private global::Google.OrTools.Util.OptionalBoolean useRelocate_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3087 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3089 get { return useRelocate_; }
3091 useRelocate_ = value;
3097 private global::Google.OrTools.Util.OptionalBoolean useRelocatePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3109 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3110 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3112 get { return useRelocatePair_; }
3114 useRelocatePair_ = value;
3120 private global::Google.OrTools.Util.OptionalBoolean useLightRelocatePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3131 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3133 get { return useLightRelocatePair_; }
3135 useLightRelocatePair_ = value;
3141 private global::Google.OrTools.Util.OptionalBoolean useRelocateNeighbors_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3167 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3169 get { return useRelocateNeighbors_; }
3171 useRelocateNeighbors_ = value;
3177 private global::Google.OrTools.Util.OptionalBoolean useRelocateSubtrip_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3195 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3197 get { return useRelocateSubtrip_; }
3199 useRelocateSubtrip_ = value;
3205 private global::Google.OrTools.Util.OptionalBoolean useExchange_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3216 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3218 get { return useExchange_; }
3220 useExchange_ = value;
3226 private global::Google.OrTools.Util.OptionalBoolean useExchangePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3237 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3239 get { return useExchangePair_; }
3241 useExchangePair_ = value;
3247 private global::Google.OrTools.Util.OptionalBoolean useExchangeSubtrip_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3253 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3255 get { return useExchangeSubtrip_; }
3257 useExchangeSubtrip_ = value;
3263 private global::Google.OrTools.Util.OptionalBoolean useCross_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3276 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3278 get { return useCross_; }
3286 private global::Google.OrTools.Util.OptionalBoolean useCrossExchange_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3290 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3291 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3293 get { return useCrossExchange_; }
3295 useCrossExchange_ = value;
3301 private global::Google.OrTools.Util.OptionalBoolean useRelocateExpensiveChain_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3315 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3317 get { return useRelocateExpensiveChain_; }
3319 useRelocateExpensiveChain_ = value;
3325 private global::Google.OrTools.Util.OptionalBoolean useTwoOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3339 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3341 get { return useTwoOpt_; }
3349 private global::Google.OrTools.Util.OptionalBoolean useOrOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3363 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3364 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3366 get { return useOrOpt_; }
3374 private global::Google.OrTools.Util.OptionalBoolean useLinKernighan_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3382 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3384 get { return useLinKernighan_; }
3386 useLinKernighan_ = value;
3392 private global::Google.OrTools.Util.OptionalBoolean useTspOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3404 get { return useTspOpt_; }
3412 private global::Google.OrTools.Util.OptionalBoolean useMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3422 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3423 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3425 get { return useMakeActive_; }
3427 useMakeActive_ = value;
3433 private global::Google.OrTools.Util.OptionalBoolean useRelocateAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3447 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3449 get { return useRelocateAndMakeActive_; }
3451 useRelocateAndMakeActive_ = value;
3457 private global::Google.OrTools.Util.OptionalBoolean useExchangeAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3467 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3469 get { return useExchangeAndMakeActive_; }
3471 useExchangeAndMakeActive_ = value;
3477 private global::Google.OrTools.Util.OptionalBoolean useExchangePathStartEndsAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3490 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3492 get { return useExchangePathStartEndsAndMakeActive_; }
3494 useExchangePathStartEndsAndMakeActive_ = value;
3500 private global::Google.OrTools.Util.OptionalBoolean useMakeInactive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3511 get { return useMakeInactive_; }
3513 useMakeInactive_ = value;
3519 private global::Google.OrTools.Util.OptionalBoolean useMakeChainInactive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3528 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3529 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3531 get { return useMakeChainInactive_; }
3533 useMakeChainInactive_ = value;
3539 private global::Google.OrTools.Util.OptionalBoolean useSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3548 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3550 get { return useSwapActive_; }
3552 useSwapActive_ = value;
3558 private global::Google.OrTools.Util.OptionalBoolean useSwapActiveChain_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3568 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3570 get { return useSwapActiveChain_; }
3572 useSwapActiveChain_ = value;
3578 private global::Google.OrTools.Util.OptionalBoolean useExtendedSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3592 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3594 get { return useExtendedSwapActive_; }
3596 useExtendedSwapActive_ = value;
3602 private global::Google.OrTools.Util.OptionalBoolean useShortestPathSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3611 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3612 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3614 get { return useShortestPathSwapActive_; }
3616 useShortestPathSwapActive_ = value;
3622 private global::Google.OrTools.Util.OptionalBoolean useShortestPathTwoOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3628 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3630 get { return useShortestPathTwoOpt_; }
3632 useShortestPathTwoOpt_ = value;
3638 private global::Google.OrTools.Util.OptionalBoolean useNodePairSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3653 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3655 get { return useNodePairSwapActive_; }
3657 useNodePairSwapActive_ = value;
3663 private global::Google.OrTools.Util.OptionalBoolean usePathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3675 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3677 get { return usePathLns_; }
3679 usePathLns_ = value;
3685 private global::Google.OrTools.Util.OptionalBoolean useFullPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3690 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3692 get { return useFullPathLns_; }
3694 useFullPathLns_ = value;
3700 private global::Google.OrTools.Util.OptionalBoolean useTspLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3710 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3712 get { return useTspLns_; }
3720 private global::Google.OrTools.Util.OptionalBoolean useInactiveLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3727 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3729 get { return useInactiveLns_; }
3731 useInactiveLns_ = value;
3737 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3743 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3744 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3746 get { return useGlobalCheapestInsertionPathLns_; }
3748 useGlobalCheapestInsertionPathLns_ = value;
3754 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3758 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3759 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3761 get { return useLocalCheapestInsertionPathLns_; }
3763 useLocalCheapestInsertionPathLns_ = value;
3769 private global::Google.OrTools.Util.OptionalBoolean useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3775 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3776 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3778 get { return useRelocatePathGlobalCheapestInsertionInsertUnperformed_; }
3780 useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = value;
3786 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionExpensiveChainLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3793 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3794 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3796 get { return useGlobalCheapestInsertionExpensiveChainLns_; }
3798 useGlobalCheapestInsertionExpensiveChainLns_ = value;
3804 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionExpensiveChainLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3810 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3812 get { return useLocalCheapestInsertionExpensiveChainLns_; }
3814 useLocalCheapestInsertionExpensiveChainLns_ = value;
3820 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionCloseNodesLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3827 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3828 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3830 get { return useGlobalCheapestInsertionCloseNodesLns_; }
3832 useGlobalCheapestInsertionCloseNodesLns_ = value;
3838 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionCloseNodesLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3844 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3846 get { return useLocalCheapestInsertionCloseNodesLns_; }
3848 useLocalCheapestInsertionCloseNodesLns_ = value;
3852 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3853 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3854 public override bool Equals(
object other) {
3858 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3859 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3861 if (ReferenceEquals(other,
null)) {
3864 if (ReferenceEquals(other,
this)) {
3867 if (UseRelocate != other.
UseRelocate)
return false;
3905 return Equals(_unknownFields, other._unknownFields);
3908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3909 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3912 if (UseRelocate != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocate.GetHashCode();
3913 if (UseRelocatePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocatePair.GetHashCode();
3914 if (UseLightRelocatePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseLightRelocatePair.GetHashCode();
3915 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocateNeighbors.GetHashCode();
3916 if (UseRelocateSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocateSubtrip.GetHashCode();
3917 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseExchange.GetHashCode();
3950 if (_unknownFields !=
null) {
3951 hash ^= _unknownFields.GetHashCode();
3956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3957 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3958 public override string ToString() {
3959 return pb::JsonFormatter.ToDiagnosticString(
this);
3962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3963 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3964 public void WriteTo(pb::CodedOutputStream output) {
3965 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3966 output.WriteRawMessage(
this);
3969 output.WriteRawTag(8);
3973 output.WriteRawTag(16);
3976 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3977 output.WriteRawTag(24);
3978 output.WriteEnum((
int) UseRelocateNeighbors);
3980 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3981 output.WriteRawTag(32);
3982 output.WriteEnum((
int) UseExchange);
3984 if (UseCross != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3985 output.WriteRawTag(40);
3986 output.WriteEnum((
int) UseCross);
3988 if (UseCrossExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3989 output.WriteRawTag(48);
3990 output.WriteEnum((
int) UseCrossExchange);
3992 if (UseTwoOpt != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3993 output.WriteRawTag(56);
3994 output.WriteEnum((
int) UseTwoOpt);
3996 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
3997 output.WriteRawTag(64);
3998 output.WriteEnum((
int) UseOrOpt);
4000 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4001 output.WriteRawTag(72);
4002 output.WriteEnum((
int) UseLinKernighan);
4004 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4005 output.WriteRawTag(80);
4006 output.WriteEnum((
int) UseTspOpt);
4008 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4009 output.WriteRawTag(88);
4010 output.WriteEnum((
int) UseMakeActive);
4012 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4013 output.WriteRawTag(96);
4014 output.WriteEnum((
int) UseMakeInactive);
4016 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4017 output.WriteRawTag(104);
4018 output.WriteEnum((
int) UseMakeChainInactive);
4020 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4021 output.WriteRawTag(112);
4022 output.WriteEnum((
int) UseSwapActive);
4024 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4025 output.WriteRawTag(120);
4026 output.WriteEnum((
int) UseExtendedSwapActive);
4028 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4029 output.WriteRawTag(128, 1);
4030 output.WriteEnum((
int) UsePathLns);
4032 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4033 output.WriteRawTag(136, 1);
4034 output.WriteEnum((
int) UseFullPathLns);
4036 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4037 output.WriteRawTag(144, 1);
4038 output.WriteEnum((
int) UseTspLns);
4040 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4041 output.WriteRawTag(152, 1);
4042 output.WriteEnum((
int) UseInactiveLns);
4044 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4045 output.WriteRawTag(160, 1);
4046 output.WriteEnum((
int) UseNodePairSwapActive);
4048 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4049 output.WriteRawTag(168, 1);
4050 output.WriteEnum((
int) UseRelocateAndMakeActive);
4052 if (UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4053 output.WriteRawTag(176, 1);
4054 output.WriteEnum((
int) UseExchangePair);
4056 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4057 output.WriteRawTag(184, 1);
4058 output.WriteEnum((
int) UseRelocateExpensiveChain);
4060 if (UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4061 output.WriteRawTag(192, 1);
4062 output.WriteEnum((
int) UseLightRelocatePair);
4064 if (UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4065 output.WriteRawTag(200, 1);
4066 output.WriteEnum((
int) UseRelocateSubtrip);
4068 if (UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4069 output.WriteRawTag(208, 1);
4070 output.WriteEnum((
int) UseExchangeSubtrip);
4072 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4073 output.WriteRawTag(216, 1);
4074 output.WriteEnum((
int) UseGlobalCheapestInsertionPathLns);
4076 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4077 output.WriteRawTag(224, 1);
4078 output.WriteEnum((
int) UseLocalCheapestInsertionPathLns);
4080 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4081 output.WriteRawTag(232, 1);
4082 output.WriteEnum((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4084 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4085 output.WriteRawTag(240, 1);
4086 output.WriteEnum((
int) UseLocalCheapestInsertionExpensiveChainLns);
4088 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4089 output.WriteRawTag(248, 1);
4090 output.WriteEnum((
int) UseGlobalCheapestInsertionCloseNodesLns);
4092 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4093 output.WriteRawTag(128, 2);
4094 output.WriteEnum((
int) UseLocalCheapestInsertionCloseNodesLns);
4096 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4097 output.WriteRawTag(136, 2);
4098 output.WriteEnum((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4100 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4101 output.WriteRawTag(144, 2);
4102 output.WriteEnum((
int) UseShortestPathSwapActive);
4104 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4105 output.WriteRawTag(152, 2);
4106 output.WriteEnum((
int) UseSwapActiveChain);
4108 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4109 output.WriteRawTag(160, 2);
4110 output.WriteEnum((
int) UseShortestPathTwoOpt);
4112 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4113 output.WriteRawTag(168, 2);
4114 output.WriteEnum((
int) UseExchangeAndMakeActive);
4116 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4117 output.WriteRawTag(176, 2);
4118 output.WriteEnum((
int) UseExchangePathStartEndsAndMakeActive);
4120 if (_unknownFields !=
null) {
4121 _unknownFields.WriteTo(output);
4126 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4128 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4129 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4130 if (UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4131 output.WriteRawTag(8);
4132 output.WriteEnum((
int) UseRelocate);
4134 if (UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4135 output.WriteRawTag(16);
4136 output.WriteEnum((
int) UseRelocatePair);
4138 if (UseRelocateNeighbors != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4139 output.WriteRawTag(24);
4140 output.WriteEnum((
int) UseRelocateNeighbors);
4142 if (UseExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4143 output.WriteRawTag(32);
4144 output.WriteEnum((
int) UseExchange);
4146 if (UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4147 output.WriteRawTag(40);
4148 output.WriteEnum((
int) UseCross);
4150 if (UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4151 output.WriteRawTag(48);
4152 output.WriteEnum((
int) UseCrossExchange);
4154 if (UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4155 output.WriteRawTag(56);
4156 output.WriteEnum((
int) UseTwoOpt);
4158 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4159 output.WriteRawTag(64);
4160 output.WriteEnum((
int) UseOrOpt);
4162 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4163 output.WriteRawTag(72);
4164 output.WriteEnum((
int) UseLinKernighan);
4166 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4167 output.WriteRawTag(80);
4168 output.WriteEnum((
int) UseTspOpt);
4170 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4171 output.WriteRawTag(88);
4172 output.WriteEnum((
int) UseMakeActive);
4174 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4175 output.WriteRawTag(96);
4176 output.WriteEnum((
int) UseMakeInactive);
4178 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4179 output.WriteRawTag(104);
4180 output.WriteEnum((
int) UseMakeChainInactive);
4182 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4183 output.WriteRawTag(112);
4184 output.WriteEnum((
int) UseSwapActive);
4186 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4187 output.WriteRawTag(120);
4188 output.WriteEnum((
int) UseExtendedSwapActive);
4190 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4191 output.WriteRawTag(128, 1);
4192 output.WriteEnum((
int) UsePathLns);
4194 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4195 output.WriteRawTag(136, 1);
4196 output.WriteEnum((
int) UseFullPathLns);
4198 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4199 output.WriteRawTag(144, 1);
4200 output.WriteEnum((
int) UseTspLns);
4202 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4203 output.WriteRawTag(152, 1);
4204 output.WriteEnum((
int) UseInactiveLns);
4206 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4207 output.WriteRawTag(160, 1);
4208 output.WriteEnum((
int) UseNodePairSwapActive);
4210 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4211 output.WriteRawTag(168, 1);
4212 output.WriteEnum((
int) UseRelocateAndMakeActive);
4214 if (UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4215 output.WriteRawTag(176, 1);
4216 output.WriteEnum((
int) UseExchangePair);
4218 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4219 output.WriteRawTag(184, 1);
4220 output.WriteEnum((
int) UseRelocateExpensiveChain);
4222 if (UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4223 output.WriteRawTag(192, 1);
4224 output.WriteEnum((
int) UseLightRelocatePair);
4226 if (UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4227 output.WriteRawTag(200, 1);
4228 output.WriteEnum((
int) UseRelocateSubtrip);
4230 if (UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4231 output.WriteRawTag(208, 1);
4232 output.WriteEnum((
int) UseExchangeSubtrip);
4234 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4235 output.WriteRawTag(216, 1);
4236 output.WriteEnum((
int) UseGlobalCheapestInsertionPathLns);
4238 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4239 output.WriteRawTag(224, 1);
4240 output.WriteEnum((
int) UseLocalCheapestInsertionPathLns);
4242 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4243 output.WriteRawTag(232, 1);
4244 output.WriteEnum((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4246 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4247 output.WriteRawTag(240, 1);
4248 output.WriteEnum((
int) UseLocalCheapestInsertionExpensiveChainLns);
4250 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4251 output.WriteRawTag(248, 1);
4252 output.WriteEnum((
int) UseGlobalCheapestInsertionCloseNodesLns);
4254 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4255 output.WriteRawTag(128, 2);
4256 output.WriteEnum((
int) UseLocalCheapestInsertionCloseNodesLns);
4258 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4259 output.WriteRawTag(136, 2);
4260 output.WriteEnum((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4262 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4263 output.WriteRawTag(144, 2);
4264 output.WriteEnum((
int) UseShortestPathSwapActive);
4266 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4267 output.WriteRawTag(152, 2);
4268 output.WriteEnum((
int) UseSwapActiveChain);
4270 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4271 output.WriteRawTag(160, 2);
4272 output.WriteEnum((
int) UseShortestPathTwoOpt);
4274 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4275 output.WriteRawTag(168, 2);
4276 output.WriteEnum((
int) UseExchangeAndMakeActive);
4278 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4279 output.WriteRawTag(176, 2);
4280 output.WriteEnum((
int) UseExchangePathStartEndsAndMakeActive);
4282 if (_unknownFields !=
null) {
4283 _unknownFields.WriteTo(ref output);
4288 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4289 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4290 public int CalculateSize() {
4292 if (UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4293 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocate);
4295 if (UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4296 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocatePair);
4301 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4302 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateNeighbors);
4304 if (UseRelocateSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4305 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateSubtrip);
4307 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4308 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchange);
4310 if (UseExchangePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4311 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangePair);
4313 if (UseExchangeSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4314 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangeSubtrip);
4316 if (UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4317 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCross);
4319 if (UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4320 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCrossExchange);
4322 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4323 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateExpensiveChain);
4325 if (UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4326 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTwoOpt);
4328 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4329 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseOrOpt);
4331 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4332 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLinKernighan);
4334 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4335 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTspOpt);
4337 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4338 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeActive);
4340 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4341 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateAndMakeActive);
4343 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4344 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangeAndMakeActive);
4346 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4347 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangePathStartEndsAndMakeActive);
4349 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4350 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeInactive);
4352 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4353 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeChainInactive);
4355 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4356 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseSwapActive);
4358 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4359 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseSwapActiveChain);
4361 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4362 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExtendedSwapActive);
4364 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4365 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseShortestPathSwapActive);
4367 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4368 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseShortestPathTwoOpt);
4370 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4371 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseNodePairSwapActive);
4373 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4374 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UsePathLns);
4376 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4377 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseFullPathLns);
4379 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4380 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTspLns);
4382 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4383 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseInactiveLns);
4385 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4386 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionPathLns);
4388 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4389 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionPathLns);
4391 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4392 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4394 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4395 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4397 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4398 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionExpensiveChainLns);
4400 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4401 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionCloseNodesLns);
4403 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4404 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionCloseNodesLns);
4406 if (_unknownFields !=
null) {
4407 size += _unknownFields.CalculateSize();
4412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4413 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4414 public void MergeFrom(LocalSearchNeighborhoodOperators other) {
4415 if (other ==
null) {
4418 if (other.UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4419 UseRelocate = other.UseRelocate;
4421 if (other.UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4424 if (other.UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4425 UseLightRelocatePair = other.UseLightRelocatePair;
4427 if (other.UseRelocateNeighbors != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4428 UseRelocateNeighbors = other.UseRelocateNeighbors;
4430 if (other.UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4431 UseRelocateSubtrip = other.UseRelocateSubtrip;
4433 if (other.UseExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4434 UseExchange = other.UseExchange;
4436 if (other.UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4437 UseExchangePair = other.UseExchangePair;
4439 if (other.UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4440 UseExchangeSubtrip = other.UseExchangeSubtrip;
4442 if (other.UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4443 UseCross = other.UseCross;
4445 if (other.UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4446 UseCrossExchange = other.UseCrossExchange;
4448 if (other.UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4449 UseRelocateExpensiveChain = other.UseRelocateExpensiveChain;
4451 if (other.UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4452 UseTwoOpt = other.UseTwoOpt;
4454 if (other.UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4455 UseOrOpt = other.UseOrOpt;
4457 if (other.UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4458 UseLinKernighan = other.UseLinKernighan;
4460 if (other.UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4461 UseTspOpt = other.UseTspOpt;
4463 if (other.UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4464 UseMakeActive = other.UseMakeActive;
4466 if (other.UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4467 UseRelocateAndMakeActive = other.UseRelocateAndMakeActive;
4469 if (other.UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4470 UseExchangeAndMakeActive = other.UseExchangeAndMakeActive;
4472 if (other.UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4473 UseExchangePathStartEndsAndMakeActive = other.UseExchangePathStartEndsAndMakeActive;
4475 if (other.UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4476 UseMakeInactive = other.UseMakeInactive;
4478 if (other.UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4479 UseMakeChainInactive = other.UseMakeChainInactive;
4481 if (other.UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4482 UseSwapActive = other.UseSwapActive;
4484 if (other.UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4485 UseSwapActiveChain = other.UseSwapActiveChain;
4487 if (other.UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4488 UseExtendedSwapActive = other.UseExtendedSwapActive;
4490 if (other.UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4491 UseShortestPathSwapActive = other.UseShortestPathSwapActive;
4493 if (other.UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4494 UseShortestPathTwoOpt = other.UseShortestPathTwoOpt;
4496 if (other.UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4497 UseNodePairSwapActive = other.UseNodePairSwapActive;
4499 if (other.UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4500 UsePathLns = other.UsePathLns;
4502 if (other.UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4503 UseFullPathLns = other.UseFullPathLns;
4505 if (other.UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4506 UseTspLns = other.UseTspLns;
4508 if (other.UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4509 UseInactiveLns = other.UseInactiveLns;
4511 if (other.UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4512 UseGlobalCheapestInsertionPathLns = other.UseGlobalCheapestInsertionPathLns;
4514 if (other.UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4515 UseLocalCheapestInsertionPathLns = other.UseLocalCheapestInsertionPathLns;
4517 if (other.UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4518 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = other.UseRelocatePathGlobalCheapestInsertionInsertUnperformed;
4520 if (other.UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4521 UseGlobalCheapestInsertionExpensiveChainLns = other.UseGlobalCheapestInsertionExpensiveChainLns;
4523 if (other.UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4524 UseLocalCheapestInsertionExpensiveChainLns = other.UseLocalCheapestInsertionExpensiveChainLns;
4526 if (other.UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4527 UseGlobalCheapestInsertionCloseNodesLns = other.UseGlobalCheapestInsertionCloseNodesLns;
4529 if (other.UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4530 UseLocalCheapestInsertionCloseNodesLns = other.UseLocalCheapestInsertionCloseNodesLns;
4532 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4535 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4536 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4537 public void MergeFrom(pb::CodedInputStream input) {
4538 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4539 input.ReadRawMessage(
this);
4542 while ((tag = input.ReadTag()) != 0) {
4543 if ((tag & 7) == 4) {
4549 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4552 UseRelocate = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4556 UseRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4560 UseRelocateNeighbors = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4564 UseExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4568 UseCross = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4572 UseCrossExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4576 UseTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4580 UseOrOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4584 UseLinKernighan = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4588 UseTspOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4592 UseMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4596 UseMakeInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4600 UseMakeChainInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4604 UseSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4608 UseExtendedSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4612 UsePathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4616 UseFullPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4620 UseTspLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4624 UseInactiveLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4628 UseNodePairSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4632 UseRelocateAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4636 UseExchangePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4640 UseRelocateExpensiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4644 UseLightRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4648 UseRelocateSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4652 UseExchangeSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4656 UseGlobalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4660 UseLocalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4664 UseGlobalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4668 UseLocalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4672 UseGlobalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4676 UseLocalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4680 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4684 UseShortestPathSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4688 UseSwapActiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4692 UseShortestPathTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4696 UseExchangeAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4700 UseExchangePathStartEndsAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4708 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4710 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4711 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4713 while ((tag = input.ReadTag()) != 0) {
4714 if ((tag & 7) == 4) {
4720 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4723 UseRelocate = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4727 UseRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4731 UseRelocateNeighbors = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4735 UseExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4739 UseCross = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4743 UseCrossExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4747 UseTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4751 UseOrOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4755 UseLinKernighan = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4759 UseTspOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4763 UseMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4767 UseMakeInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4771 UseMakeChainInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4775 UseSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4779 UseExtendedSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4783 UsePathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4787 UseFullPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4791 UseTspLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4795 UseInactiveLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4799 UseNodePairSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4803 UseRelocateAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4807 UseExchangePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4811 UseRelocateExpensiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4815 UseLightRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4819 UseRelocateSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4823 UseExchangeSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4827 UseGlobalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4831 UseLocalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4835 UseGlobalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4839 UseLocalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4843 UseGlobalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4847 UseLocalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4851 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4855 UseShortestPathSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4859 UseSwapActiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4863 UseShortestPathTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4867 UseExchangeAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4871 UseExchangePathStartEndsAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4884 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4885 public sealed partial
class ImprovementSearchLimitParameters : pb::IMessage<ImprovementSearchLimitParameters>
4886 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4887 , pb::IBufferMessage
4890 private static readonly pb::MessageParser<ImprovementSearchLimitParameters> _parser =
new pb::MessageParser<ImprovementSearchLimitParameters>(() =>
new ImprovementSearchLimitParameters());
4891 private pb::UnknownFieldSet _unknownFields;
4892 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4893 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4894 public static pb::MessageParser<ImprovementSearchLimitParameters>
Parser {
get {
return _parser; } }
4896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4898 public static pbr::MessageDescriptor
Descriptor {
4899 get {
return global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Descriptor.NestedTypes[1]; }
4902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4903 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4904 pbr::MessageDescriptor pb::IMessage.Descriptor {
4908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4909 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4914 partial
void OnConstruction();
4916 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4917 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4919 improvementRateCoefficient_ = other.improvementRateCoefficient_;
4920 improvementRateSolutionsDistance_ = other.improvementRateSolutionsDistance_;
4921 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4924 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4925 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4931 public const int ImprovementRateCoefficientFieldNumber = 38;
4932 private double improvementRateCoefficient_;
4938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4939 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4941 get {
return improvementRateCoefficient_; }
4943 improvementRateCoefficient_ = value;
4949 private int improvementRateSolutionsDistance_;
4957 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4958 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4960 get {
return improvementRateSolutionsDistance_; }
4962 improvementRateSolutionsDistance_ = value;
4966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4967 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4968 public override bool Equals(
object other) {
4972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4973 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4975 if (ReferenceEquals(other,
null)) {
4978 if (ReferenceEquals(other,
this)) {
4981 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ImprovementRateCoefficient, other.
ImprovementRateCoefficient))
return false;
4983 return Equals(_unknownFields, other._unknownFields);
4986 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4987 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4990 if (ImprovementRateCoefficient != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ImprovementRateCoefficient);
4991 if (ImprovementRateSolutionsDistance != 0) hash ^= ImprovementRateSolutionsDistance.GetHashCode();
4992 if (_unknownFields !=
null) {
4993 hash ^= _unknownFields.GetHashCode();
4998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5000 public override string ToString() {
5001 return pb::JsonFormatter.ToDiagnosticString(
this);
5004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5005 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5006 public void WriteTo(pb::CodedOutputStream output) {
5007 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5008 output.WriteRawMessage(
this);
5011 output.WriteRawTag(177, 2);
5015 output.WriteRawTag(184, 2);
5018 if (_unknownFields !=
null) {
5019 _unknownFields.WriteTo(output);
5024 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5025 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5026 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5027 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5028 if (ImprovementRateCoefficient != 0D) {
5029 output.WriteRawTag(177, 2);
5030 output.WriteDouble(ImprovementRateCoefficient);
5032 if (ImprovementRateSolutionsDistance != 0) {
5033 output.WriteRawTag(184, 2);
5034 output.WriteInt32(ImprovementRateSolutionsDistance);
5036 if (_unknownFields !=
null) {
5037 _unknownFields.WriteTo(ref output);
5042 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5043 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5044 public int CalculateSize() {
5046 if (ImprovementRateCoefficient != 0D) {
5049 if (ImprovementRateSolutionsDistance != 0) {
5050 size += 2 + pb::CodedOutputStream.ComputeInt32Size(ImprovementRateSolutionsDistance);
5052 if (_unknownFields !=
null) {
5053 size += _unknownFields.CalculateSize();
5058 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5059 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5060 public void MergeFrom(ImprovementSearchLimitParameters other) {
5061 if (other ==
null) {
5064 if (other.ImprovementRateCoefficient != 0D) {
5065 ImprovementRateCoefficient = other.ImprovementRateCoefficient;
5067 if (other.ImprovementRateSolutionsDistance != 0) {
5070 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5074 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5075 public void MergeFrom(pb::CodedInputStream input) {
5076 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5077 input.ReadRawMessage(
this);
5080 while ((tag = input.ReadTag()) != 0) {
5081 if ((tag & 7) == 4) {
5087 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5090 ImprovementRateCoefficient = input.ReadDouble();
5094 ImprovementRateSolutionsDistance = input.ReadInt32();
5102 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5105 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5107 while ((tag = input.ReadTag()) != 0) {
5108 if ((tag & 7) == 4) {
5114 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5117 ImprovementRateCoefficient = input.ReadDouble();
5121 ImprovementRateSolutionsDistance = input.ReadInt32();
5139 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5140 public sealed partial
class RoutingModelParameters : pb::IMessage<RoutingModelParameters>
5141 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5142 , pb::IBufferMessage