221 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
225 private static readonly pb::MessageParser<RoutingSearchParameters> _parser =
new pb::MessageParser<RoutingSearchParameters>(() =>
new RoutingSearchParameters());
226 private pb::UnknownFieldSet _unknownFields;
227 private int _hasBits0;
228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
229 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
230 public static pb::MessageParser<RoutingSearchParameters>
Parser {
get {
return _parser; } }
232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
233 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
234 public static pbr::MessageDescriptor
Descriptor {
235 get {
return global::Google.OrTools.ConstraintSolver.RoutingParametersReflection.Descriptor.MessageTypes[0]; }
238 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
239 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
240 pbr::MessageDescriptor pb::IMessage.Descriptor {
241 get {
return Descriptor; }
244 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
245 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
246 public RoutingSearchParameters() {
250 partial
void OnConstruction();
252 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
253 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
255 _hasBits0 = other._hasBits0;
256 firstSolutionStrategy_ = other.firstSolutionStrategy_;
257 useUnfilteredFirstSolutionStrategy_ = other.useUnfilteredFirstSolutionStrategy_;
258 savingsNeighborsRatio_ = other.savingsNeighborsRatio_;
259 savingsMaxMemoryUsageBytes_ = other.savingsMaxMemoryUsageBytes_;
260 savingsAddReverseArcs_ = other.savingsAddReverseArcs_;
261 savingsArcCoefficient_ = other.savingsArcCoefficient_;
262 cheapestInsertionFarthestSeedsRatio_ = other.cheapestInsertionFarthestSeedsRatio_;
263 cheapestInsertionFirstSolutionNeighborsRatio_ = other.cheapestInsertionFirstSolutionNeighborsRatio_;
264 cheapestInsertionFirstSolutionMinNeighbors_ = other.cheapestInsertionFirstSolutionMinNeighbors_;
265 cheapestInsertionLsOperatorNeighborsRatio_ = other.cheapestInsertionLsOperatorNeighborsRatio_;
266 cheapestInsertionLsOperatorMinNeighbors_ = other.cheapestInsertionLsOperatorMinNeighbors_;
267 cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_ = other.cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_;
268 cheapestInsertionAddUnperformedEntries_ = other.cheapestInsertionAddUnperformedEntries_;
269 localCheapestInsertionPickupDeliveryStrategy_ = other.localCheapestInsertionPickupDeliveryStrategy_;
270 localCheapestCostInsertionPickupDeliveryStrategy_ = other.localCheapestCostInsertionPickupDeliveryStrategy_;
271 localCheapestInsertionSortingProperties_ = other.localCheapestInsertionSortingProperties_.Clone();
272 christofidesUseMinimumMatching_ = other.christofidesUseMinimumMatching_;
273 firstSolutionOptimizationPeriod_ = other.firstSolutionOptimizationPeriod_;
274 localSearchOperators_ = other.localSearchOperators_ !=
null ? other.localSearchOperators_.
Clone() :
null;
275 lsOperatorNeighborsRatio_ = other.lsOperatorNeighborsRatio_;
276 lsOperatorMinNeighbors_ = other.lsOperatorMinNeighbors_;
277 useMultiArmedBanditConcatenateOperators_ = other.useMultiArmedBanditConcatenateOperators_;
278 multiArmedBanditCompoundOperatorMemoryCoefficient_ = other.multiArmedBanditCompoundOperatorMemoryCoefficient_;
279 multiArmedBanditCompoundOperatorExplorationCoefficient_ = other.multiArmedBanditCompoundOperatorExplorationCoefficient_;
280 maxSwapActiveChainSize_ = other.maxSwapActiveChainSize_;
281 relocateExpensiveChainNumArcsToConsider_ = other.relocateExpensiveChainNumArcsToConsider_;
282 heuristicExpensiveChainLnsNumArcsToConsider_ = other.heuristicExpensiveChainLnsNumArcsToConsider_;
283 heuristicCloseNodesLnsNumNodes_ = other.heuristicCloseNodesLnsNumNodes_;
284 localSearchMetaheuristic_ = other.localSearchMetaheuristic_;
285 localSearchMetaheuristics_ = other.localSearchMetaheuristics_.Clone();
286 numMaxLocalOptimaBeforeMetaheuristicSwitch_ = other.numMaxLocalOptimaBeforeMetaheuristicSwitch_;
287 guidedLocalSearchLambdaCoefficient_ = other.guidedLocalSearchLambdaCoefficient_;
288 guidedLocalSearchResetPenaltiesOnNewBestSolution_ = other.guidedLocalSearchResetPenaltiesOnNewBestSolution_;
289 guidedLocalSearchPenalizeWithVehicleClasses_ = other.guidedLocalSearchPenalizeWithVehicleClasses_;
290 useGuidedLocalSearchPenaltiesInLocalSearchOperators_ = other.useGuidedLocalSearchPenaltiesInLocalSearchOperators_;
291 useDepthFirstSearch_ = other.useDepthFirstSearch_;
292 useCp_ = other.useCp_;
293 useCpSat_ = other.useCpSat_;
294 useGeneralizedCpSat_ = other.useGeneralizedCpSat_;
295 satParameters_ = other.satParameters_ !=
null ? other.satParameters_.Clone() :
null;
296 reportIntermediateCpSatSolutions_ = other.reportIntermediateCpSatSolutions_;
297 fallbackToCpSatSizeThreshold_ = other.fallbackToCpSatSizeThreshold_;
298 continuousSchedulingSolver_ = other.continuousSchedulingSolver_;
299 mixedIntegerSchedulingSolver_ = other.mixedIntegerSchedulingSolver_;
300 disableSchedulingBewareThisMayDegradePerformance_ = other.disableSchedulingBewareThisMayDegradePerformance_;
301 optimizationStep_ = other.optimizationStep_;
302 numberOfSolutionsToCollect_ = other.numberOfSolutionsToCollect_;
303 solutionLimit_ = other.solutionLimit_;
304 timeLimit_ = other.timeLimit_ !=
null ? other.timeLimit_.Clone() :
null;
305 lnsTimeLimit_ = other.lnsTimeLimit_ !=
null ? other.lnsTimeLimit_.Clone() :
null;
306 secondaryLsTimeLimitRatio_ = other.secondaryLsTimeLimitRatio_;
307 improvementLimitParameters_ = other.improvementLimitParameters_ !=
null ? other.improvementLimitParameters_.
Clone() :
null;
308 useFullPropagation_ = other.useFullPropagation_;
309 logSearch_ = other.logSearch_;
310 logCostScalingFactor_ = other.logCostScalingFactor_;
311 logCostOffset_ = other.logCostOffset_;
312 logTag_ = other.logTag_;
313 useIteratedLocalSearch_ = other.useIteratedLocalSearch_;
314 iteratedLocalSearchParameters_ = other.iteratedLocalSearchParameters_ !=
null ? other.iteratedLocalSearchParameters_.
Clone() :
null;
315 _unknownFields = pb::UnknownFieldSet.
Clone(other._unknownFields);
318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
319 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
325 public const int FirstSolutionStrategyFieldNumber = 1;
326 private global::Google.OrTools.ConstraintSolver.
FirstSolutionStrategy.
Types.
Value firstSolutionStrategy_ = global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset;
330 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
331 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
333 get { return firstSolutionStrategy_; }
335 firstSolutionStrategy_ = value;
340 public const int UseUnfilteredFirstSolutionStrategyFieldNumber = 2;
341 private bool useUnfilteredFirstSolutionStrategy_;
348 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
349 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
351 get {
return useUnfilteredFirstSolutionStrategy_; }
353 useUnfilteredFirstSolutionStrategy_ = value;
358 public const int SavingsNeighborsRatioFieldNumber = 14;
359 private double savingsNeighborsRatio_;
365 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
366 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
368 get {
return savingsNeighborsRatio_; }
370 savingsNeighborsRatio_ = value;
375 public const int SavingsMaxMemoryUsageBytesFieldNumber = 23;
376 private double savingsMaxMemoryUsageBytes_;
385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
386 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
388 get {
return savingsMaxMemoryUsageBytes_; }
390 savingsMaxMemoryUsageBytes_ = value;
395 public const int SavingsAddReverseArcsFieldNumber = 15;
396 private bool savingsAddReverseArcs_;
401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
402 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
404 get {
return savingsAddReverseArcs_; }
406 savingsAddReverseArcs_ = value;
411 public const int SavingsArcCoefficientFieldNumber = 18;
412 private double savingsArcCoefficient_;
420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
421 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
423 get {
return savingsArcCoefficient_; }
425 savingsArcCoefficient_ = value;
430 public const int CheapestInsertionFarthestSeedsRatioFieldNumber = 16;
431 private double cheapestInsertionFarthestSeedsRatio_;
437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
438 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
440 get {
return cheapestInsertionFarthestSeedsRatio_; }
442 cheapestInsertionFarthestSeedsRatio_ = value;
447 public const int CheapestInsertionFirstSolutionNeighborsRatioFieldNumber = 21;
448 private double cheapestInsertionFirstSolutionNeighborsRatio_;
466 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
467 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
469 get {
return cheapestInsertionFirstSolutionNeighborsRatio_; }
471 cheapestInsertionFirstSolutionNeighborsRatio_ = value;
476 public const int CheapestInsertionFirstSolutionMinNeighborsFieldNumber = 44;
477 private int cheapestInsertionFirstSolutionMinNeighbors_;
478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
479 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
481 get {
return cheapestInsertionFirstSolutionMinNeighbors_; }
483 cheapestInsertionFirstSolutionMinNeighbors_ = value;
488 public const int CheapestInsertionLsOperatorNeighborsRatioFieldNumber = 31;
489 private double cheapestInsertionLsOperatorNeighborsRatio_;
496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
497 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
499 get {
return cheapestInsertionLsOperatorNeighborsRatio_; }
501 cheapestInsertionLsOperatorNeighborsRatio_ = value;
506 public const int CheapestInsertionLsOperatorMinNeighborsFieldNumber = 45;
507 private int cheapestInsertionLsOperatorMinNeighbors_;
508 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
509 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
511 get {
return cheapestInsertionLsOperatorMinNeighbors_; }
513 cheapestInsertionLsOperatorMinNeighbors_ = value;
518 public const int CheapestInsertionFirstSolutionUseNeighborsRatioForInitializationFieldNumber = 46;
519 private bool cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_;
524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
525 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
527 get {
return cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_; }
529 cheapestInsertionFirstSolutionUseNeighborsRatioForInitialization_ = value;
534 public const int CheapestInsertionAddUnperformedEntriesFieldNumber = 40;
535 private bool cheapestInsertionAddUnperformedEntries_;
540 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
541 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
543 get {
return cheapestInsertionAddUnperformedEntries_; }
545 cheapestInsertionAddUnperformedEntries_ = value;
550 public const int LocalCheapestInsertionPickupDeliveryStrategyFieldNumber = 49;
551 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy localCheapestInsertionPickupDeliveryStrategy_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic;
556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
557 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
559 get { return localCheapestInsertionPickupDeliveryStrategy_; }
561 localCheapestInsertionPickupDeliveryStrategy_ = value;
566 public const int LocalCheapestCostInsertionPickupDeliveryStrategyFieldNumber = 55;
567 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy localCheapestCostInsertionPickupDeliveryStrategy_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic;
572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
573 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
575 get { return localCheapestCostInsertionPickupDeliveryStrategy_; }
577 localCheapestCostInsertionPickupDeliveryStrategy_ = value;
582 public const int LocalCheapestInsertionSortingPropertiesFieldNumber = 67;
583 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty> _repeated_localCheapestInsertionSortingProperties_codec
585 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty> localCheapestInsertionSortingProperties_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.InsertionSortingProperty>();
594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
595 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
597 get { return localCheapestInsertionSortingProperties_; }
602 private bool christofidesUseMinimumMatching_;
607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
608 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
610 get {
return christofidesUseMinimumMatching_; }
612 christofidesUseMinimumMatching_ = value;
617 public const int FirstSolutionOptimizationPeriodFieldNumber = 59;
618 private int firstSolutionOptimizationPeriod_;
628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
629 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
631 get {
return firstSolutionOptimizationPeriod_; }
633 firstSolutionOptimizationPeriod_ = value;
638 public const int LocalSearchOperatorsFieldNumber = 3;
639 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators localSearchOperators_;
640 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
641 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
643 get { return localSearchOperators_; }
645 localSearchOperators_ = value;
650 public const int LsOperatorNeighborsRatioFieldNumber = 53;
651 private double lsOperatorNeighborsRatio_;
657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
658 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
660 get {
return lsOperatorNeighborsRatio_; }
662 lsOperatorNeighborsRatio_ = value;
667 public const int LsOperatorMinNeighborsFieldNumber = 54;
668 private int lsOperatorMinNeighbors_;
669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
670 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
672 get {
return lsOperatorMinNeighbors_; }
674 lsOperatorMinNeighbors_ = value;
679 public const int UseMultiArmedBanditConcatenateOperatorsFieldNumber = 41;
680 private bool useMultiArmedBanditConcatenateOperators_;
686 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
687 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
689 get {
return useMultiArmedBanditConcatenateOperators_; }
691 useMultiArmedBanditConcatenateOperators_ = value;
696 public const int MultiArmedBanditCompoundOperatorMemoryCoefficientFieldNumber = 42;
697 private double multiArmedBanditCompoundOperatorMemoryCoefficient_;
704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
705 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
707 get {
return multiArmedBanditCompoundOperatorMemoryCoefficient_; }
709 multiArmedBanditCompoundOperatorMemoryCoefficient_ = value;
714 public const int MultiArmedBanditCompoundOperatorExplorationCoefficientFieldNumber = 43;
715 private double multiArmedBanditCompoundOperatorExplorationCoefficient_;
721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
722 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
724 get {
return multiArmedBanditCompoundOperatorExplorationCoefficient_; }
726 multiArmedBanditCompoundOperatorExplorationCoefficient_ = value;
731 public const int MaxSwapActiveChainSizeFieldNumber = 66;
732 private int maxSwapActiveChainSize_;
736 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
737 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
739 get {
return maxSwapActiveChainSize_; }
741 maxSwapActiveChainSize_ = value;
746 public const int RelocateExpensiveChainNumArcsToConsiderFieldNumber = 20;
747 private int relocateExpensiveChainNumArcsToConsider_;
757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
758 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
760 get {
return relocateExpensiveChainNumArcsToConsider_; }
762 relocateExpensiveChainNumArcsToConsider_ = value;
767 public const int HeuristicExpensiveChainLnsNumArcsToConsiderFieldNumber = 32;
768 private int heuristicExpensiveChainLnsNumArcsToConsider_;
773 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
774 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
776 get {
return heuristicExpensiveChainLnsNumArcsToConsider_; }
778 heuristicExpensiveChainLnsNumArcsToConsider_ = value;
783 public const int HeuristicCloseNodesLnsNumNodesFieldNumber = 35;
784 private int heuristicCloseNodesLnsNumNodes_;
789 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
792 get {
return heuristicCloseNodesLnsNumNodes_; }
794 heuristicCloseNodesLnsNumNodes_ = value;
799 public const int LocalSearchMetaheuristicFieldNumber = 4;
800 private global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value localSearchMetaheuristic_ = global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset;
804 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
805 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
807 get { return localSearchMetaheuristic_; }
809 localSearchMetaheuristic_ = value;
814 public const int LocalSearchMetaheuristicsFieldNumber = 63;
815 private static readonly pb::FieldCodec<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value> _repeated_localSearchMetaheuristics_codec
817 private readonly pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value> localSearchMetaheuristics_ =
new pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value>();
824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
825 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
826 public pbc::RepeatedField<global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value>
LocalSearchMetaheuristics {
827 get { return localSearchMetaheuristics_; }
832 private int numMaxLocalOptimaBeforeMetaheuristicSwitch_;
833 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
834 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
836 get {
return numMaxLocalOptimaBeforeMetaheuristicSwitch_; }
838 numMaxLocalOptimaBeforeMetaheuristicSwitch_ = value;
843 public const int GuidedLocalSearchLambdaCoefficientFieldNumber = 5;
844 private double guidedLocalSearchLambdaCoefficient_;
851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
852 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
854 get {
return guidedLocalSearchLambdaCoefficient_; }
856 guidedLocalSearchLambdaCoefficient_ = value;
861 public const int GuidedLocalSearchResetPenaltiesOnNewBestSolutionFieldNumber = 51;
862 private bool guidedLocalSearchResetPenaltiesOnNewBestSolution_;
867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
868 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
870 get {
return guidedLocalSearchResetPenaltiesOnNewBestSolution_; }
872 guidedLocalSearchResetPenaltiesOnNewBestSolution_ = value;
877 public const int GuidedLocalSearchPenalizeWithVehicleClassesFieldNumber = 61;
878 private bool guidedLocalSearchPenalizeWithVehicleClasses_;
884 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
885 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
887 get {
return guidedLocalSearchPenalizeWithVehicleClasses_; }
889 guidedLocalSearchPenalizeWithVehicleClasses_ = value;
894 public const int UseGuidedLocalSearchPenaltiesInLocalSearchOperatorsFieldNumber = 62;
895 private bool useGuidedLocalSearchPenaltiesInLocalSearchOperators_;
900 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
901 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
903 get {
return useGuidedLocalSearchPenaltiesInLocalSearchOperators_; }
905 useGuidedLocalSearchPenaltiesInLocalSearchOperators_ = value;
910 public const int UseDepthFirstSearchFieldNumber = 6;
911 private bool useDepthFirstSearch_;
918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
919 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
921 get {
return useDepthFirstSearch_; }
923 useDepthFirstSearch_ = value;
928 public const int UseCpFieldNumber = 28;
929 private global::Google.OrTools.Util.OptionalBoolean useCp_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
935 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
936 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
938 get { return useCp_; }
945 public const int UseCpSatFieldNumber = 27;
946 private global::Google.OrTools.Util.OptionalBoolean useCpSat_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
954 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
956 get { return useCpSat_; }
963 public const int UseGeneralizedCpSatFieldNumber = 47;
964 private global::Google.OrTools.Util.OptionalBoolean useGeneralizedCpSat_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
971 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
972 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
974 get { return useGeneralizedCpSat_; }
976 useGeneralizedCpSat_ = value;
981 public const int SatParametersFieldNumber = 48;
982 private global::Google.OrTools.Sat.SatParameters satParameters_;
987 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
988 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
990 get { return satParameters_; }
992 satParameters_ = value;
997 public const int ReportIntermediateCpSatSolutionsFieldNumber = 56;
998 private bool reportIntermediateCpSatSolutions_;
1003 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1004 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1006 get {
return reportIntermediateCpSatSolutions_; }
1008 reportIntermediateCpSatSolutions_ = value;
1013 public const int FallbackToCpSatSizeThresholdFieldNumber = 52;
1014 private int fallbackToCpSatSizeThreshold_;
1019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1020 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1022 get {
return fallbackToCpSatSizeThreshold_; }
1024 fallbackToCpSatSizeThreshold_ = value;
1029 public const int ContinuousSchedulingSolverFieldNumber = 33;
1030 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver continuousSchedulingSolver_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset;
1031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1032 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1034 get { return continuousSchedulingSolver_; }
1036 continuousSchedulingSolver_ = value;
1041 public const int MixedIntegerSchedulingSolverFieldNumber = 34;
1042 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver mixedIntegerSchedulingSolver_ = global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset;
1043 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1044 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1046 get { return mixedIntegerSchedulingSolver_; }
1048 mixedIntegerSchedulingSolver_ = value;
1053 public const int DisableSchedulingBewareThisMayDegradePerformanceFieldNumber = 50;
1054 private readonly
static bool DisableSchedulingBewareThisMayDegradePerformanceDefaultValue =
false;
1056 private bool disableSchedulingBewareThisMayDegradePerformance_;
1061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1062 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1064 get {
if ((_hasBits0 & 1) != 0) {
return disableSchedulingBewareThisMayDegradePerformance_; }
else {
return DisableSchedulingBewareThisMayDegradePerformanceDefaultValue; } }
1067 disableSchedulingBewareThisMayDegradePerformance_ = value;
1071 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1072 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1073 public bool HasDisableSchedulingBewareThisMayDegradePerformance {
1074 get {
return (_hasBits0 & 1) != 0; }
1077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1078 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1085 private double optimizationStep_;
1091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1092 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1094 get {
return optimizationStep_; }
1096 optimizationStep_ = value;
1101 public const int NumberOfSolutionsToCollectFieldNumber = 17;
1102 private int numberOfSolutionsToCollect_;
1107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1108 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1110 get {
return numberOfSolutionsToCollect_; }
1112 numberOfSolutionsToCollect_ = value;
1117 public const int SolutionLimitFieldNumber = 8;
1118 private long solutionLimit_;
1124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1127 get {
return solutionLimit_; }
1129 solutionLimit_ = value;
1134 public const int TimeLimitFieldNumber = 9;
1135 private global::Google.Protobuf.WellKnownTypes.Duration timeLimit_;
1139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1140 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1141 public global::Google.Protobuf.WellKnownTypes.Duration
TimeLimit {
1142 get { return timeLimit_; }
1149 public const int LnsTimeLimitFieldNumber = 10;
1150 private global::Google.Protobuf.WellKnownTypes.Duration lnsTimeLimit_;
1155 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1156 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1157 public global::Google.Protobuf.WellKnownTypes.Duration
LnsTimeLimit {
1158 get { return lnsTimeLimit_; }
1160 lnsTimeLimit_ = value;
1165 public const int SecondaryLsTimeLimitRatioFieldNumber = 57;
1166 private double secondaryLsTimeLimitRatio_;
1175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1176 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1178 get {
return secondaryLsTimeLimitRatio_; }
1180 secondaryLsTimeLimitRatio_ = value;
1185 public const int ImprovementLimitParametersFieldNumber = 37;
1186 private global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters improvementLimitParameters_;
1191 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1192 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1194 get { return improvementLimitParameters_; }
1196 improvementLimitParameters_ = value;
1201 public const int UseFullPropagationFieldNumber = 11;
1202 private bool useFullPropagation_;
1215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1216 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1218 get {
return useFullPropagation_; }
1220 useFullPropagation_ = value;
1225 public const int LogSearchFieldNumber = 13;
1226 private bool logSearch_;
1242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1243 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1245 get {
return logSearch_; }
1253 private double logCostScalingFactor_;
1258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1259 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1261 get {
return logCostScalingFactor_; }
1263 logCostScalingFactor_ = value;
1269 private double logCostOffset_;
1270 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1271 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1273 get {
return logCostOffset_; }
1275 logCostOffset_ = value;
1281 private string logTag_ =
"";
1286 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1287 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1289 get {
return logTag_; }
1291 logTag_ = pb::ProtoPreconditions.CheckNotNull(value,
"value");
1297 private bool useIteratedLocalSearch_;
1302 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1303 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1305 get {
return useIteratedLocalSearch_; }
1307 useIteratedLocalSearch_ = value;
1313 private global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters iteratedLocalSearchParameters_;
1317 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1318 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1320 get { return iteratedLocalSearchParameters_; }
1322 iteratedLocalSearchParameters_ = value;
1326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1327 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1328 public override bool Equals(
object other) {
1332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1333 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1335 if (ReferenceEquals(other,
null)) {
1338 if (ReferenceEquals(other,
this)) {
1343 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsNeighborsRatio, other.
SavingsNeighborsRatio))
return false;
1344 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsMaxMemoryUsageBytes, other.
SavingsMaxMemoryUsageBytes))
return false;
1346 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SavingsArcCoefficient, other.
SavingsArcCoefficient))
return false;
1356 if(!localCheapestInsertionSortingProperties_.Equals(other.localCheapestInsertionSortingProperties_))
return false;
1360 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LsOperatorNeighborsRatio, other.
LsOperatorNeighborsRatio))
return false;
1370 if(!localSearchMetaheuristics_.Equals(other.localSearchMetaheuristics_))
return false;
1372 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(GuidedLocalSearchLambdaCoefficient, other.
GuidedLocalSearchLambdaCoefficient))
return false;
1377 if (UseCp != other.
UseCp)
return false;
1378 if (UseCpSat != other.
UseCpSat)
return false;
1380 if (!
object.Equals(SatParameters, other.
SatParameters))
return false;
1386 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(OptimizationStep, other.
OptimizationStep))
return false;
1389 if (!
object.Equals(TimeLimit, other.
TimeLimit))
return false;
1390 if (!
object.Equals(LnsTimeLimit, other.
LnsTimeLimit))
return false;
1391 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(SecondaryLsTimeLimitRatio, other.
SecondaryLsTimeLimitRatio))
return false;
1394 if (LogSearch != other.
LogSearch)
return false;
1395 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogCostScalingFactor, other.
LogCostScalingFactor))
return false;
1396 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(LogCostOffset, other.
LogCostOffset))
return false;
1397 if (LogTag != other.
LogTag)
return false;
1400 return Equals(_unknownFields, other._unknownFields);
1403 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1404 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1405 public override int GetHashCode() {
1408 if (UseUnfilteredFirstSolutionStrategy !=
false) hash ^= UseUnfilteredFirstSolutionStrategy.GetHashCode();
1409 if (SavingsNeighborsRatio != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SavingsNeighborsRatio);
1410 if (SavingsMaxMemoryUsageBytes != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SavingsMaxMemoryUsageBytes);
1422 hash ^= localCheapestInsertionSortingProperties_.GetHashCode();
1436 hash ^= localSearchMetaheuristics_.GetHashCode();
1443 if (
UseCp != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^=
UseCp.GetHashCode();
1446 if (satParameters_ !=
null) hash ^=
SatParameters.GetHashCode();
1455 if (timeLimit_ !=
null) hash ^=
TimeLimit.GetHashCode();
1456 if (lnsTimeLimit_ !=
null) hash ^=
LnsTimeLimit.GetHashCode();
1466 if (_unknownFields !=
null) {
1467 hash ^= _unknownFields.GetHashCode();
1472 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1473 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1474 public override string ToString() {
1475 return pb::JsonFormatter.ToDiagnosticString(
this);
1478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1479 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1480 public void WriteTo(pb::CodedOutputStream output) {
1481 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1482 output.WriteRawMessage(
this);
1485 output.WriteRawTag(8);
1488 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1489 output.WriteRawTag(16);
1490 output.WriteBool(UseUnfilteredFirstSolutionStrategy);
1492 if (localSearchOperators_ !=
null) {
1493 output.WriteRawTag(26);
1494 output.WriteMessage(LocalSearchOperators);
1497 output.WriteRawTag(32);
1498 output.WriteEnum((
int) LocalSearchMetaheuristic);
1500 if (GuidedLocalSearchLambdaCoefficient != 0D) {
1501 output.WriteRawTag(41);
1502 output.WriteDouble(GuidedLocalSearchLambdaCoefficient);
1504 if (UseDepthFirstSearch !=
false) {
1505 output.WriteRawTag(48);
1506 output.WriteBool(UseDepthFirstSearch);
1508 if (OptimizationStep != 0D) {
1509 output.WriteRawTag(57);
1510 output.WriteDouble(OptimizationStep);
1512 if (SolutionLimit != 0L) {
1513 output.WriteRawTag(64);
1514 output.WriteInt64(SolutionLimit);
1516 if (timeLimit_ !=
null) {
1517 output.WriteRawTag(74);
1518 output.WriteMessage(TimeLimit);
1520 if (lnsTimeLimit_ !=
null) {
1521 output.WriteRawTag(82);
1522 output.WriteMessage(LnsTimeLimit);
1524 if (UseFullPropagation !=
false) {
1525 output.WriteRawTag(88);
1526 output.WriteBool(UseFullPropagation);
1528 if (LogSearch !=
false) {
1529 output.WriteRawTag(104);
1530 output.WriteBool(LogSearch);
1532 if (SavingsNeighborsRatio != 0D) {
1533 output.WriteRawTag(113);
1534 output.WriteDouble(SavingsNeighborsRatio);
1536 if (SavingsAddReverseArcs !=
false) {
1537 output.WriteRawTag(120);
1538 output.WriteBool(SavingsAddReverseArcs);
1540 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1541 output.WriteRawTag(129, 1);
1542 output.WriteDouble(CheapestInsertionFarthestSeedsRatio);
1544 if (NumberOfSolutionsToCollect != 0) {
1545 output.WriteRawTag(136, 1);
1546 output.WriteInt32(NumberOfSolutionsToCollect);
1548 if (SavingsArcCoefficient != 0D) {
1549 output.WriteRawTag(145, 1);
1550 output.WriteDouble(SavingsArcCoefficient);
1552 if (RelocateExpensiveChainNumArcsToConsider != 0) {
1553 output.WriteRawTag(160, 1);
1554 output.WriteInt32(RelocateExpensiveChainNumArcsToConsider);
1556 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1557 output.WriteRawTag(169, 1);
1558 output.WriteDouble(CheapestInsertionFirstSolutionNeighborsRatio);
1560 if (LogCostScalingFactor != 0D) {
1561 output.WriteRawTag(177, 1);
1562 output.WriteDouble(LogCostScalingFactor);
1564 if (SavingsMaxMemoryUsageBytes != 0D) {
1565 output.WriteRawTag(185, 1);
1566 output.WriteDouble(SavingsMaxMemoryUsageBytes);
1568 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1569 output.WriteRawTag(216, 1);
1570 output.WriteEnum((
int) UseCpSat);
1572 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1573 output.WriteRawTag(224, 1);
1574 output.WriteEnum((
int) UseCp);
1576 if (LogCostOffset != 0D) {
1577 output.WriteRawTag(233, 1);
1578 output.WriteDouble(LogCostOffset);
1580 if (ChristofidesUseMinimumMatching !=
false) {
1581 output.WriteRawTag(240, 1);
1582 output.WriteBool(ChristofidesUseMinimumMatching);
1584 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1585 output.WriteRawTag(249, 1);
1586 output.WriteDouble(CheapestInsertionLsOperatorNeighborsRatio);
1588 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
1589 output.WriteRawTag(128, 2);
1590 output.WriteInt32(HeuristicExpensiveChainLnsNumArcsToConsider);
1592 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1593 output.WriteRawTag(136, 2);
1594 output.WriteEnum((
int) ContinuousSchedulingSolver);
1596 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1597 output.WriteRawTag(144, 2);
1598 output.WriteEnum((
int) MixedIntegerSchedulingSolver);
1600 if (HeuristicCloseNodesLnsNumNodes != 0) {
1601 output.WriteRawTag(152, 2);
1602 output.WriteInt32(HeuristicCloseNodesLnsNumNodes);
1604 if (LogTag.Length != 0) {
1605 output.WriteRawTag(162, 2);
1606 output.WriteString(LogTag);
1608 if (improvementLimitParameters_ !=
null) {
1609 output.WriteRawTag(170, 2);
1610 output.WriteMessage(ImprovementLimitParameters);
1612 if (CheapestInsertionAddUnperformedEntries !=
false) {
1613 output.WriteRawTag(192, 2);
1614 output.WriteBool(CheapestInsertionAddUnperformedEntries);
1616 if (UseMultiArmedBanditConcatenateOperators !=
false) {
1617 output.WriteRawTag(200, 2);
1618 output.WriteBool(UseMultiArmedBanditConcatenateOperators);
1620 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
1621 output.WriteRawTag(209, 2);
1622 output.WriteDouble(MultiArmedBanditCompoundOperatorMemoryCoefficient);
1624 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
1625 output.WriteRawTag(217, 2);
1626 output.WriteDouble(MultiArmedBanditCompoundOperatorExplorationCoefficient);
1628 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1629 output.WriteRawTag(224, 2);
1630 output.WriteInt32(CheapestInsertionFirstSolutionMinNeighbors);
1632 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1633 output.WriteRawTag(232, 2);
1634 output.WriteInt32(CheapestInsertionLsOperatorMinNeighbors);
1636 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
1637 output.WriteRawTag(240, 2);
1638 output.WriteBool(CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization);
1640 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1641 output.WriteRawTag(248, 2);
1642 output.WriteEnum((
int) UseGeneralizedCpSat);
1644 if (satParameters_ !=
null) {
1645 output.WriteRawTag(130, 3);
1646 output.WriteMessage(SatParameters);
1648 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1649 output.WriteRawTag(136, 3);
1650 output.WriteEnum((
int) LocalCheapestInsertionPickupDeliveryStrategy);
1652 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
1653 output.WriteRawTag(144, 3);
1654 output.WriteBool(DisableSchedulingBewareThisMayDegradePerformance);
1656 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
1657 output.WriteRawTag(152, 3);
1658 output.WriteBool(GuidedLocalSearchResetPenaltiesOnNewBestSolution);
1660 if (FallbackToCpSatSizeThreshold != 0) {
1661 output.WriteRawTag(160, 3);
1662 output.WriteInt32(FallbackToCpSatSizeThreshold);
1664 if (LsOperatorNeighborsRatio != 0D) {
1665 output.WriteRawTag(169, 3);
1666 output.WriteDouble(LsOperatorNeighborsRatio);
1668 if (LsOperatorMinNeighbors != 0) {
1669 output.WriteRawTag(176, 3);
1670 output.WriteInt32(LsOperatorMinNeighbors);
1672 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1673 output.WriteRawTag(184, 3);
1674 output.WriteEnum((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
1676 if (ReportIntermediateCpSatSolutions !=
false) {
1677 output.WriteRawTag(192, 3);
1678 output.WriteBool(ReportIntermediateCpSatSolutions);
1680 if (SecondaryLsTimeLimitRatio != 0D) {
1681 output.WriteRawTag(201, 3);
1682 output.WriteDouble(SecondaryLsTimeLimitRatio);
1684 if (UseIteratedLocalSearch !=
false) {
1685 output.WriteRawTag(208, 3);
1686 output.WriteBool(UseIteratedLocalSearch);
1688 if (FirstSolutionOptimizationPeriod != 0) {
1689 output.WriteRawTag(216, 3);
1690 output.WriteInt32(FirstSolutionOptimizationPeriod);
1692 if (iteratedLocalSearchParameters_ !=
null) {
1693 output.WriteRawTag(226, 3);
1694 output.WriteMessage(IteratedLocalSearchParameters);
1696 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
1697 output.WriteRawTag(232, 3);
1698 output.WriteBool(GuidedLocalSearchPenalizeWithVehicleClasses);
1700 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
1701 output.WriteRawTag(240, 3);
1702 output.WriteBool(UseGuidedLocalSearchPenaltiesInLocalSearchOperators);
1704 localSearchMetaheuristics_.WriteTo(output, _repeated_localSearchMetaheuristics_codec);
1705 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
1706 output.WriteRawTag(128, 4);
1707 output.WriteInt32(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
1709 if (MaxSwapActiveChainSize != 0) {
1710 output.WriteRawTag(144, 4);
1711 output.WriteInt32(MaxSwapActiveChainSize);
1713 localCheapestInsertionSortingProperties_.WriteTo(output, _repeated_localCheapestInsertionSortingProperties_codec);
1714 if (_unknownFields !=
null) {
1715 _unknownFields.WriteTo(output);
1720 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1721 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1722 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1723 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1724 if (FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
1725 output.WriteRawTag(8);
1726 output.WriteEnum((
int) FirstSolutionStrategy);
1728 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1729 output.WriteRawTag(16);
1730 output.WriteBool(UseUnfilteredFirstSolutionStrategy);
1732 if (localSearchOperators_ !=
null) {
1733 output.WriteRawTag(26);
1734 output.WriteMessage(LocalSearchOperators);
1736 if (LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
1737 output.WriteRawTag(32);
1738 output.WriteEnum((
int) LocalSearchMetaheuristic);
1740 if (GuidedLocalSearchLambdaCoefficient != 0D) {
1741 output.WriteRawTag(41);
1742 output.WriteDouble(GuidedLocalSearchLambdaCoefficient);
1744 if (UseDepthFirstSearch !=
false) {
1745 output.WriteRawTag(48);
1746 output.WriteBool(UseDepthFirstSearch);
1748 if (OptimizationStep != 0D) {
1749 output.WriteRawTag(57);
1750 output.WriteDouble(OptimizationStep);
1752 if (SolutionLimit != 0L) {
1753 output.WriteRawTag(64);
1754 output.WriteInt64(SolutionLimit);
1756 if (timeLimit_ !=
null) {
1757 output.WriteRawTag(74);
1758 output.WriteMessage(TimeLimit);
1760 if (lnsTimeLimit_ !=
null) {
1761 output.WriteRawTag(82);
1762 output.WriteMessage(LnsTimeLimit);
1764 if (UseFullPropagation !=
false) {
1765 output.WriteRawTag(88);
1766 output.WriteBool(UseFullPropagation);
1768 if (LogSearch !=
false) {
1769 output.WriteRawTag(104);
1770 output.WriteBool(LogSearch);
1772 if (SavingsNeighborsRatio != 0D) {
1773 output.WriteRawTag(113);
1774 output.WriteDouble(SavingsNeighborsRatio);
1776 if (SavingsAddReverseArcs !=
false) {
1777 output.WriteRawTag(120);
1778 output.WriteBool(SavingsAddReverseArcs);
1780 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1781 output.WriteRawTag(129, 1);
1782 output.WriteDouble(CheapestInsertionFarthestSeedsRatio);
1784 if (NumberOfSolutionsToCollect != 0) {
1785 output.WriteRawTag(136, 1);
1786 output.WriteInt32(NumberOfSolutionsToCollect);
1788 if (SavingsArcCoefficient != 0D) {
1789 output.WriteRawTag(145, 1);
1790 output.WriteDouble(SavingsArcCoefficient);
1792 if (RelocateExpensiveChainNumArcsToConsider != 0) {
1793 output.WriteRawTag(160, 1);
1794 output.WriteInt32(RelocateExpensiveChainNumArcsToConsider);
1796 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1797 output.WriteRawTag(169, 1);
1798 output.WriteDouble(CheapestInsertionFirstSolutionNeighborsRatio);
1800 if (LogCostScalingFactor != 0D) {
1801 output.WriteRawTag(177, 1);
1802 output.WriteDouble(LogCostScalingFactor);
1804 if (SavingsMaxMemoryUsageBytes != 0D) {
1805 output.WriteRawTag(185, 1);
1806 output.WriteDouble(SavingsMaxMemoryUsageBytes);
1808 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1809 output.WriteRawTag(216, 1);
1810 output.WriteEnum((
int) UseCpSat);
1812 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1813 output.WriteRawTag(224, 1);
1814 output.WriteEnum((
int) UseCp);
1816 if (LogCostOffset != 0D) {
1817 output.WriteRawTag(233, 1);
1818 output.WriteDouble(LogCostOffset);
1820 if (ChristofidesUseMinimumMatching !=
false) {
1821 output.WriteRawTag(240, 1);
1822 output.WriteBool(ChristofidesUseMinimumMatching);
1824 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1825 output.WriteRawTag(249, 1);
1826 output.WriteDouble(CheapestInsertionLsOperatorNeighborsRatio);
1828 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
1829 output.WriteRawTag(128, 2);
1830 output.WriteInt32(HeuristicExpensiveChainLnsNumArcsToConsider);
1832 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1833 output.WriteRawTag(136, 2);
1834 output.WriteEnum((
int) ContinuousSchedulingSolver);
1836 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
1837 output.WriteRawTag(144, 2);
1838 output.WriteEnum((
int) MixedIntegerSchedulingSolver);
1840 if (HeuristicCloseNodesLnsNumNodes != 0) {
1841 output.WriteRawTag(152, 2);
1842 output.WriteInt32(HeuristicCloseNodesLnsNumNodes);
1844 if (LogTag.Length != 0) {
1845 output.WriteRawTag(162, 2);
1846 output.WriteString(LogTag);
1848 if (improvementLimitParameters_ !=
null) {
1849 output.WriteRawTag(170, 2);
1850 output.WriteMessage(ImprovementLimitParameters);
1852 if (CheapestInsertionAddUnperformedEntries !=
false) {
1853 output.WriteRawTag(192, 2);
1854 output.WriteBool(CheapestInsertionAddUnperformedEntries);
1856 if (UseMultiArmedBanditConcatenateOperators !=
false) {
1857 output.WriteRawTag(200, 2);
1858 output.WriteBool(UseMultiArmedBanditConcatenateOperators);
1860 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
1861 output.WriteRawTag(209, 2);
1862 output.WriteDouble(MultiArmedBanditCompoundOperatorMemoryCoefficient);
1864 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
1865 output.WriteRawTag(217, 2);
1866 output.WriteDouble(MultiArmedBanditCompoundOperatorExplorationCoefficient);
1868 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1869 output.WriteRawTag(224, 2);
1870 output.WriteInt32(CheapestInsertionFirstSolutionMinNeighbors);
1872 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1873 output.WriteRawTag(232, 2);
1874 output.WriteInt32(CheapestInsertionLsOperatorMinNeighbors);
1876 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
1877 output.WriteRawTag(240, 2);
1878 output.WriteBool(CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization);
1880 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
1881 output.WriteRawTag(248, 2);
1882 output.WriteEnum((
int) UseGeneralizedCpSat);
1884 if (satParameters_ !=
null) {
1885 output.WriteRawTag(130, 3);
1886 output.WriteMessage(SatParameters);
1888 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1889 output.WriteRawTag(136, 3);
1890 output.WriteEnum((
int) LocalCheapestInsertionPickupDeliveryStrategy);
1892 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
1893 output.WriteRawTag(144, 3);
1894 output.WriteBool(DisableSchedulingBewareThisMayDegradePerformance);
1896 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
1897 output.WriteRawTag(152, 3);
1898 output.WriteBool(GuidedLocalSearchResetPenaltiesOnNewBestSolution);
1900 if (FallbackToCpSatSizeThreshold != 0) {
1901 output.WriteRawTag(160, 3);
1902 output.WriteInt32(FallbackToCpSatSizeThreshold);
1904 if (LsOperatorNeighborsRatio != 0D) {
1905 output.WriteRawTag(169, 3);
1906 output.WriteDouble(LsOperatorNeighborsRatio);
1908 if (LsOperatorMinNeighbors != 0) {
1909 output.WriteRawTag(176, 3);
1910 output.WriteInt32(LsOperatorMinNeighbors);
1912 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
1913 output.WriteRawTag(184, 3);
1914 output.WriteEnum((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
1916 if (ReportIntermediateCpSatSolutions !=
false) {
1917 output.WriteRawTag(192, 3);
1918 output.WriteBool(ReportIntermediateCpSatSolutions);
1920 if (SecondaryLsTimeLimitRatio != 0D) {
1921 output.WriteRawTag(201, 3);
1922 output.WriteDouble(SecondaryLsTimeLimitRatio);
1924 if (UseIteratedLocalSearch !=
false) {
1925 output.WriteRawTag(208, 3);
1926 output.WriteBool(UseIteratedLocalSearch);
1928 if (FirstSolutionOptimizationPeriod != 0) {
1929 output.WriteRawTag(216, 3);
1930 output.WriteInt32(FirstSolutionOptimizationPeriod);
1932 if (iteratedLocalSearchParameters_ !=
null) {
1933 output.WriteRawTag(226, 3);
1934 output.WriteMessage(IteratedLocalSearchParameters);
1936 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
1937 output.WriteRawTag(232, 3);
1938 output.WriteBool(GuidedLocalSearchPenalizeWithVehicleClasses);
1940 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
1941 output.WriteRawTag(240, 3);
1942 output.WriteBool(UseGuidedLocalSearchPenaltiesInLocalSearchOperators);
1944 localSearchMetaheuristics_.WriteTo(ref output, _repeated_localSearchMetaheuristics_codec);
1945 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
1946 output.WriteRawTag(128, 4);
1947 output.WriteInt32(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
1949 if (MaxSwapActiveChainSize != 0) {
1950 output.WriteRawTag(144, 4);
1951 output.WriteInt32(MaxSwapActiveChainSize);
1953 localCheapestInsertionSortingProperties_.WriteTo(ref output, _repeated_localCheapestInsertionSortingProperties_codec);
1954 if (_unknownFields !=
null) {
1955 _unknownFields.WriteTo(ref output);
1960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1961 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
1962 public int CalculateSize() {
1964 if (FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
1965 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) FirstSolutionStrategy);
1967 if (UseUnfilteredFirstSolutionStrategy !=
false) {
1970 if (SavingsNeighborsRatio != 0D) {
1973 if (SavingsMaxMemoryUsageBytes != 0D) {
1976 if (SavingsAddReverseArcs !=
false) {
1979 if (SavingsArcCoefficient != 0D) {
1982 if (CheapestInsertionFarthestSeedsRatio != 0D) {
1985 if (CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
1988 if (CheapestInsertionFirstSolutionMinNeighbors != 0) {
1989 size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheapestInsertionFirstSolutionMinNeighbors);
1991 if (CheapestInsertionLsOperatorNeighborsRatio != 0D) {
1994 if (CheapestInsertionLsOperatorMinNeighbors != 0) {
1995 size += 2 + pb::CodedOutputStream.ComputeInt32Size(CheapestInsertionLsOperatorMinNeighbors);
1997 if (CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
2000 if (CheapestInsertionAddUnperformedEntries !=
false) {
2003 if (LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2004 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalCheapestInsertionPickupDeliveryStrategy);
2006 if (LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2007 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalCheapestCostInsertionPickupDeliveryStrategy);
2009 size += localCheapestInsertionSortingProperties_.CalculateSize(_repeated_localCheapestInsertionSortingProperties_codec);
2010 if (ChristofidesUseMinimumMatching !=
false) {
2013 if (FirstSolutionOptimizationPeriod != 0) {
2014 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FirstSolutionOptimizationPeriod);
2016 if (localSearchOperators_ !=
null) {
2017 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LocalSearchOperators);
2019 if (LsOperatorNeighborsRatio != 0D) {
2022 if (LsOperatorMinNeighbors != 0) {
2023 size += 2 + pb::CodedOutputStream.ComputeInt32Size(LsOperatorMinNeighbors);
2025 if (UseMultiArmedBanditConcatenateOperators !=
false) {
2028 if (MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
2031 if (MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
2034 if (MaxSwapActiveChainSize != 0) {
2035 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MaxSwapActiveChainSize);
2037 if (RelocateExpensiveChainNumArcsToConsider != 0) {
2038 size += 2 + pb::CodedOutputStream.ComputeInt32Size(RelocateExpensiveChainNumArcsToConsider);
2040 if (HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
2041 size += 2 + pb::CodedOutputStream.ComputeInt32Size(HeuristicExpensiveChainLnsNumArcsToConsider);
2043 if (HeuristicCloseNodesLnsNumNodes != 0) {
2044 size += 2 + pb::CodedOutputStream.ComputeInt32Size(HeuristicCloseNodesLnsNumNodes);
2046 if (LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
2047 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) LocalSearchMetaheuristic);
2049 size += localSearchMetaheuristics_.CalculateSize(_repeated_localSearchMetaheuristics_codec);
2050 if (NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
2051 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumMaxLocalOptimaBeforeMetaheuristicSwitch);
2053 if (GuidedLocalSearchLambdaCoefficient != 0D) {
2056 if (GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
2059 if (GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
2062 if (UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
2065 if (UseDepthFirstSearch !=
false) {
2068 if (UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2069 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCp);
2071 if (UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2072 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCpSat);
2074 if (UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2075 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGeneralizedCpSat);
2077 if (satParameters_ !=
null) {
2078 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SatParameters);
2080 if (ReportIntermediateCpSatSolutions !=
false) {
2083 if (FallbackToCpSatSizeThreshold != 0) {
2084 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FallbackToCpSatSizeThreshold);
2086 if (ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2087 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) ContinuousSchedulingSolver);
2089 if (MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2090 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) MixedIntegerSchedulingSolver);
2092 if (HasDisableSchedulingBewareThisMayDegradePerformance) {
2095 if (OptimizationStep != 0D) {
2098 if (NumberOfSolutionsToCollect != 0) {
2099 size += 2 + pb::CodedOutputStream.ComputeInt32Size(NumberOfSolutionsToCollect);
2101 if (SolutionLimit != 0L) {
2102 size += 1 + pb::CodedOutputStream.ComputeInt64Size(SolutionLimit);
2104 if (timeLimit_ !=
null) {
2105 size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimeLimit);
2107 if (lnsTimeLimit_ !=
null) {
2108 size += 1 + pb::CodedOutputStream.ComputeMessageSize(LnsTimeLimit);
2110 if (SecondaryLsTimeLimitRatio != 0D) {
2113 if (improvementLimitParameters_ !=
null) {
2114 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImprovementLimitParameters);
2116 if (UseFullPropagation !=
false) {
2119 if (LogSearch !=
false) {
2122 if (LogCostScalingFactor != 0D) {
2125 if (LogCostOffset != 0D) {
2128 if (LogTag.Length != 0) {
2129 size += 2 + pb::CodedOutputStream.ComputeStringSize(LogTag);
2131 if (UseIteratedLocalSearch !=
false) {
2134 if (iteratedLocalSearchParameters_ !=
null) {
2135 size += 2 + pb::CodedOutputStream.ComputeMessageSize(IteratedLocalSearchParameters);
2137 if (_unknownFields !=
null) {
2138 size += _unknownFields.CalculateSize();
2143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2144 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2145 public void MergeFrom(RoutingSearchParameters other) {
2146 if (other ==
null) {
2149 if (other.FirstSolutionStrategy != global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value.Unset) {
2150 FirstSolutionStrategy = other.FirstSolutionStrategy;
2152 if (other.UseUnfilteredFirstSolutionStrategy !=
false) {
2153 UseUnfilteredFirstSolutionStrategy = other.UseUnfilteredFirstSolutionStrategy;
2155 if (other.SavingsNeighborsRatio != 0D) {
2156 SavingsNeighborsRatio = other.SavingsNeighborsRatio;
2158 if (other.SavingsMaxMemoryUsageBytes != 0D) {
2159 SavingsMaxMemoryUsageBytes = other.SavingsMaxMemoryUsageBytes;
2161 if (other.SavingsAddReverseArcs !=
false) {
2162 SavingsAddReverseArcs = other.SavingsAddReverseArcs;
2164 if (other.SavingsArcCoefficient != 0D) {
2165 SavingsArcCoefficient = other.SavingsArcCoefficient;
2167 if (other.CheapestInsertionFarthestSeedsRatio != 0D) {
2168 CheapestInsertionFarthestSeedsRatio = other.CheapestInsertionFarthestSeedsRatio;
2170 if (other.CheapestInsertionFirstSolutionNeighborsRatio != 0D) {
2171 CheapestInsertionFirstSolutionNeighborsRatio = other.CheapestInsertionFirstSolutionNeighborsRatio;
2173 if (other.CheapestInsertionFirstSolutionMinNeighbors != 0) {
2174 CheapestInsertionFirstSolutionMinNeighbors = other.CheapestInsertionFirstSolutionMinNeighbors;
2176 if (other.CheapestInsertionLsOperatorNeighborsRatio != 0D) {
2177 CheapestInsertionLsOperatorNeighborsRatio = other.CheapestInsertionLsOperatorNeighborsRatio;
2179 if (other.CheapestInsertionLsOperatorMinNeighbors != 0) {
2180 CheapestInsertionLsOperatorMinNeighbors = other.CheapestInsertionLsOperatorMinNeighbors;
2182 if (other.CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization !=
false) {
2183 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = other.CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization;
2185 if (other.CheapestInsertionAddUnperformedEntries !=
false) {
2186 CheapestInsertionAddUnperformedEntries = other.CheapestInsertionAddUnperformedEntries;
2188 if (other.LocalCheapestInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2189 LocalCheapestInsertionPickupDeliveryStrategy = other.LocalCheapestInsertionPickupDeliveryStrategy;
2191 if (other.LocalCheapestCostInsertionPickupDeliveryStrategy != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy.Automatic) {
2192 LocalCheapestCostInsertionPickupDeliveryStrategy = other.LocalCheapestCostInsertionPickupDeliveryStrategy;
2194 localCheapestInsertionSortingProperties_.Add(other.localCheapestInsertionSortingProperties_);
2195 if (other.ChristofidesUseMinimumMatching !=
false) {
2196 ChristofidesUseMinimumMatching = other.ChristofidesUseMinimumMatching;
2198 if (other.FirstSolutionOptimizationPeriod != 0) {
2199 FirstSolutionOptimizationPeriod = other.FirstSolutionOptimizationPeriod;
2201 if (other.localSearchOperators_ !=
null) {
2202 if (localSearchOperators_ ==
null) {
2203 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2205 LocalSearchOperators.MergeFrom(other.LocalSearchOperators);
2207 if (other.LsOperatorNeighborsRatio != 0D) {
2208 LsOperatorNeighborsRatio = other.LsOperatorNeighborsRatio;
2210 if (other.LsOperatorMinNeighbors != 0) {
2211 LsOperatorMinNeighbors = other.LsOperatorMinNeighbors;
2213 if (other.UseMultiArmedBanditConcatenateOperators !=
false) {
2214 UseMultiArmedBanditConcatenateOperators = other.UseMultiArmedBanditConcatenateOperators;
2216 if (other.MultiArmedBanditCompoundOperatorMemoryCoefficient != 0D) {
2217 MultiArmedBanditCompoundOperatorMemoryCoefficient = other.MultiArmedBanditCompoundOperatorMemoryCoefficient;
2219 if (other.MultiArmedBanditCompoundOperatorExplorationCoefficient != 0D) {
2220 MultiArmedBanditCompoundOperatorExplorationCoefficient = other.MultiArmedBanditCompoundOperatorExplorationCoefficient;
2222 if (other.MaxSwapActiveChainSize != 0) {
2223 MaxSwapActiveChainSize = other.MaxSwapActiveChainSize;
2225 if (other.RelocateExpensiveChainNumArcsToConsider != 0) {
2226 RelocateExpensiveChainNumArcsToConsider = other.RelocateExpensiveChainNumArcsToConsider;
2228 if (other.HeuristicExpensiveChainLnsNumArcsToConsider != 0) {
2229 HeuristicExpensiveChainLnsNumArcsToConsider = other.HeuristicExpensiveChainLnsNumArcsToConsider;
2231 if (other.HeuristicCloseNodesLnsNumNodes != 0) {
2232 HeuristicCloseNodesLnsNumNodes = other.HeuristicCloseNodesLnsNumNodes;
2234 if (other.LocalSearchMetaheuristic != global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value.Unset) {
2235 LocalSearchMetaheuristic = other.LocalSearchMetaheuristic;
2237 localSearchMetaheuristics_.Add(other.localSearchMetaheuristics_);
2238 if (other.NumMaxLocalOptimaBeforeMetaheuristicSwitch != 0) {
2239 NumMaxLocalOptimaBeforeMetaheuristicSwitch = other.NumMaxLocalOptimaBeforeMetaheuristicSwitch;
2241 if (other.GuidedLocalSearchLambdaCoefficient != 0D) {
2242 GuidedLocalSearchLambdaCoefficient = other.GuidedLocalSearchLambdaCoefficient;
2244 if (other.GuidedLocalSearchResetPenaltiesOnNewBestSolution !=
false) {
2245 GuidedLocalSearchResetPenaltiesOnNewBestSolution = other.GuidedLocalSearchResetPenaltiesOnNewBestSolution;
2247 if (other.GuidedLocalSearchPenalizeWithVehicleClasses !=
false) {
2248 GuidedLocalSearchPenalizeWithVehicleClasses = other.GuidedLocalSearchPenalizeWithVehicleClasses;
2250 if (other.UseGuidedLocalSearchPenaltiesInLocalSearchOperators !=
false) {
2251 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = other.UseGuidedLocalSearchPenaltiesInLocalSearchOperators;
2253 if (other.UseDepthFirstSearch !=
false) {
2254 UseDepthFirstSearch = other.UseDepthFirstSearch;
2256 if (other.UseCp != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2257 UseCp = other.UseCp;
2259 if (other.UseCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2260 UseCpSat = other.UseCpSat;
2262 if (other.UseGeneralizedCpSat != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
2263 UseGeneralizedCpSat = other.UseGeneralizedCpSat;
2265 if (other.satParameters_ !=
null) {
2266 if (satParameters_ ==
null) {
2267 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2269 SatParameters.MergeFrom(other.SatParameters);
2271 if (other.ReportIntermediateCpSatSolutions !=
false) {
2272 ReportIntermediateCpSatSolutions = other.ReportIntermediateCpSatSolutions;
2274 if (other.FallbackToCpSatSizeThreshold != 0) {
2275 FallbackToCpSatSizeThreshold = other.FallbackToCpSatSizeThreshold;
2277 if (other.ContinuousSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2278 ContinuousSchedulingSolver = other.ContinuousSchedulingSolver;
2280 if (other.MixedIntegerSchedulingSolver != global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver.SchedulingUnset) {
2281 MixedIntegerSchedulingSolver = other.MixedIntegerSchedulingSolver;
2283 if (other.HasDisableSchedulingBewareThisMayDegradePerformance) {
2284 DisableSchedulingBewareThisMayDegradePerformance = other.DisableSchedulingBewareThisMayDegradePerformance;
2286 if (other.OptimizationStep != 0D) {
2287 OptimizationStep = other.OptimizationStep;
2289 if (other.NumberOfSolutionsToCollect != 0) {
2290 NumberOfSolutionsToCollect = other.NumberOfSolutionsToCollect;
2292 if (other.SolutionLimit != 0L) {
2293 SolutionLimit = other.SolutionLimit;
2295 if (other.timeLimit_ !=
null) {
2296 if (timeLimit_ ==
null) {
2297 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2301 if (other.lnsTimeLimit_ !=
null) {
2302 if (lnsTimeLimit_ ==
null) {
2303 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2305 LnsTimeLimit.MergeFrom(other.LnsTimeLimit);
2307 if (other.SecondaryLsTimeLimitRatio != 0D) {
2308 SecondaryLsTimeLimitRatio = other.SecondaryLsTimeLimitRatio;
2310 if (other.improvementLimitParameters_ !=
null) {
2311 if (improvementLimitParameters_ ==
null) {
2312 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2314 ImprovementLimitParameters.MergeFrom(other.ImprovementLimitParameters);
2316 if (other.UseFullPropagation !=
false) {
2317 UseFullPropagation = other.UseFullPropagation;
2319 if (other.LogSearch !=
false) {
2320 LogSearch = other.LogSearch;
2322 if (other.LogCostScalingFactor != 0D) {
2323 LogCostScalingFactor = other.LogCostScalingFactor;
2325 if (other.LogCostOffset != 0D) {
2326 LogCostOffset = other.LogCostOffset;
2328 if (other.LogTag.Length != 0) {
2329 LogTag = other.LogTag;
2331 if (other.UseIteratedLocalSearch !=
false) {
2332 UseIteratedLocalSearch = other.UseIteratedLocalSearch;
2334 if (other.iteratedLocalSearchParameters_ !=
null) {
2335 if (iteratedLocalSearchParameters_ ==
null) {
2336 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2338 IteratedLocalSearchParameters.MergeFrom(other.IteratedLocalSearchParameters);
2340 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2343 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2344 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2345 public void MergeFrom(pb::CodedInputStream input) {
2346 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2347 input.ReadRawMessage(
this);
2350 while ((tag = input.ReadTag()) != 0) {
2351 if ((tag & 7) == 4) {
2357 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2360 FirstSolutionStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
2364 UseUnfilteredFirstSolutionStrategy = input.ReadBool();
2368 if (localSearchOperators_ ==
null) {
2369 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2371 input.ReadMessage(LocalSearchOperators);
2375 LocalSearchMetaheuristic = (global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) input.ReadEnum();
2379 GuidedLocalSearchLambdaCoefficient = input.ReadDouble();
2383 UseDepthFirstSearch = input.ReadBool();
2387 OptimizationStep = input.ReadDouble();
2391 SolutionLimit = input.ReadInt64();
2395 if (timeLimit_ ==
null) {
2396 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2398 input.ReadMessage(TimeLimit);
2402 if (lnsTimeLimit_ ==
null) {
2403 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2405 input.ReadMessage(LnsTimeLimit);
2409 UseFullPropagation = input.ReadBool();
2413 LogSearch = input.ReadBool();
2417 SavingsNeighborsRatio = input.ReadDouble();
2421 SavingsAddReverseArcs = input.ReadBool();
2425 CheapestInsertionFarthestSeedsRatio = input.ReadDouble();
2429 NumberOfSolutionsToCollect = input.ReadInt32();
2433 SavingsArcCoefficient = input.ReadDouble();
2437 RelocateExpensiveChainNumArcsToConsider = input.ReadInt32();
2441 CheapestInsertionFirstSolutionNeighborsRatio = input.ReadDouble();
2445 LogCostScalingFactor = input.ReadDouble();
2449 SavingsMaxMemoryUsageBytes = input.ReadDouble();
2453 UseCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2457 UseCp = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2461 LogCostOffset = input.ReadDouble();
2465 ChristofidesUseMinimumMatching = input.ReadBool();
2469 CheapestInsertionLsOperatorNeighborsRatio = input.ReadDouble();
2473 HeuristicExpensiveChainLnsNumArcsToConsider = input.ReadInt32();
2477 ContinuousSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2481 MixedIntegerSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2485 HeuristicCloseNodesLnsNumNodes = input.ReadInt32();
2489 LogTag = input.ReadString();
2493 if (improvementLimitParameters_ ==
null) {
2494 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2496 input.ReadMessage(ImprovementLimitParameters);
2500 CheapestInsertionAddUnperformedEntries = input.ReadBool();
2504 UseMultiArmedBanditConcatenateOperators = input.ReadBool();
2508 MultiArmedBanditCompoundOperatorMemoryCoefficient = input.ReadDouble();
2512 MultiArmedBanditCompoundOperatorExplorationCoefficient = input.ReadDouble();
2516 CheapestInsertionFirstSolutionMinNeighbors = input.ReadInt32();
2520 CheapestInsertionLsOperatorMinNeighbors = input.ReadInt32();
2524 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = input.ReadBool();
2528 UseGeneralizedCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2532 if (satParameters_ ==
null) {
2533 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2535 input.ReadMessage(SatParameters);
2539 LocalCheapestInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2543 DisableSchedulingBewareThisMayDegradePerformance = input.ReadBool();
2547 GuidedLocalSearchResetPenaltiesOnNewBestSolution = input.ReadBool();
2551 FallbackToCpSatSizeThreshold = input.ReadInt32();
2555 LsOperatorNeighborsRatio = input.ReadDouble();
2559 LsOperatorMinNeighbors = input.ReadInt32();
2563 LocalCheapestCostInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2567 ReportIntermediateCpSatSolutions = input.ReadBool();
2571 SecondaryLsTimeLimitRatio = input.ReadDouble();
2575 UseIteratedLocalSearch = input.ReadBool();
2579 FirstSolutionOptimizationPeriod = input.ReadInt32();
2583 if (iteratedLocalSearchParameters_ ==
null) {
2584 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2586 input.ReadMessage(IteratedLocalSearchParameters);
2590 GuidedLocalSearchPenalizeWithVehicleClasses = input.ReadBool();
2594 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = input.ReadBool();
2599 localSearchMetaheuristics_.AddEntriesFrom(input, _repeated_localSearchMetaheuristics_codec);
2603 NumMaxLocalOptimaBeforeMetaheuristicSwitch = input.ReadInt32();
2607 MaxSwapActiveChainSize = input.ReadInt32();
2612 localCheapestInsertionSortingProperties_.AddEntriesFrom(input, _repeated_localCheapestInsertionSortingProperties_codec);
2620 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2622 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2623 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2625 while ((tag = input.ReadTag()) != 0) {
2626 if ((tag & 7) == 4) {
2632 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2635 FirstSolutionStrategy = (global::Google.OrTools.ConstraintSolver.FirstSolutionStrategy.Types.Value) input.ReadEnum();
2639 UseUnfilteredFirstSolutionStrategy = input.ReadBool();
2643 if (localSearchOperators_ ==
null) {
2644 LocalSearchOperators =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.LocalSearchNeighborhoodOperators();
2646 input.ReadMessage(LocalSearchOperators);
2650 LocalSearchMetaheuristic = (global::Google.OrTools.ConstraintSolver.LocalSearchMetaheuristic.Types.Value) input.ReadEnum();
2654 GuidedLocalSearchLambdaCoefficient = input.ReadDouble();
2658 UseDepthFirstSearch = input.ReadBool();
2662 OptimizationStep = input.ReadDouble();
2666 SolutionLimit = input.ReadInt64();
2670 if (timeLimit_ ==
null) {
2671 TimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2673 input.ReadMessage(TimeLimit);
2677 if (lnsTimeLimit_ ==
null) {
2678 LnsTimeLimit =
new global::Google.Protobuf.WellKnownTypes.Duration();
2680 input.ReadMessage(LnsTimeLimit);
2684 UseFullPropagation = input.ReadBool();
2688 LogSearch = input.ReadBool();
2692 SavingsNeighborsRatio = input.ReadDouble();
2696 SavingsAddReverseArcs = input.ReadBool();
2700 CheapestInsertionFarthestSeedsRatio = input.ReadDouble();
2704 NumberOfSolutionsToCollect = input.ReadInt32();
2708 SavingsArcCoefficient = input.ReadDouble();
2712 RelocateExpensiveChainNumArcsToConsider = input.ReadInt32();
2716 CheapestInsertionFirstSolutionNeighborsRatio = input.ReadDouble();
2720 LogCostScalingFactor = input.ReadDouble();
2724 SavingsMaxMemoryUsageBytes = input.ReadDouble();
2728 UseCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2732 UseCp = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2736 LogCostOffset = input.ReadDouble();
2740 ChristofidesUseMinimumMatching = input.ReadBool();
2744 CheapestInsertionLsOperatorNeighborsRatio = input.ReadDouble();
2748 HeuristicExpensiveChainLnsNumArcsToConsider = input.ReadInt32();
2752 ContinuousSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2756 MixedIntegerSchedulingSolver = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.SchedulingSolver) input.ReadEnum();
2760 HeuristicCloseNodesLnsNumNodes = input.ReadInt32();
2764 LogTag = input.ReadString();
2768 if (improvementLimitParameters_ ==
null) {
2769 ImprovementLimitParameters =
new global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.ImprovementSearchLimitParameters();
2771 input.ReadMessage(ImprovementLimitParameters);
2775 CheapestInsertionAddUnperformedEntries = input.ReadBool();
2779 UseMultiArmedBanditConcatenateOperators = input.ReadBool();
2783 MultiArmedBanditCompoundOperatorMemoryCoefficient = input.ReadDouble();
2787 MultiArmedBanditCompoundOperatorExplorationCoefficient = input.ReadDouble();
2791 CheapestInsertionFirstSolutionMinNeighbors = input.ReadInt32();
2795 CheapestInsertionLsOperatorMinNeighbors = input.ReadInt32();
2799 CheapestInsertionFirstSolutionUseNeighborsRatioForInitialization = input.ReadBool();
2803 UseGeneralizedCpSat = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
2807 if (satParameters_ ==
null) {
2808 SatParameters =
new global::Google.OrTools.Sat.SatParameters();
2810 input.ReadMessage(SatParameters);
2814 LocalCheapestInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2818 DisableSchedulingBewareThisMayDegradePerformance = input.ReadBool();
2822 GuidedLocalSearchResetPenaltiesOnNewBestSolution = input.ReadBool();
2826 FallbackToCpSatSizeThreshold = input.ReadInt32();
2830 LsOperatorNeighborsRatio = input.ReadDouble();
2834 LsOperatorMinNeighbors = input.ReadInt32();
2838 LocalCheapestCostInsertionPickupDeliveryStrategy = (global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Types.PairInsertionStrategy) input.ReadEnum();
2842 ReportIntermediateCpSatSolutions = input.ReadBool();
2846 SecondaryLsTimeLimitRatio = input.ReadDouble();
2850 UseIteratedLocalSearch = input.ReadBool();
2854 FirstSolutionOptimizationPeriod = input.ReadInt32();
2858 if (iteratedLocalSearchParameters_ ==
null) {
2859 IteratedLocalSearchParameters =
new global::Google.OrTools.ConstraintSolver.IteratedLocalSearchParameters();
2861 input.ReadMessage(IteratedLocalSearchParameters);
2865 GuidedLocalSearchPenalizeWithVehicleClasses = input.ReadBool();
2869 UseGuidedLocalSearchPenaltiesInLocalSearchOperators = input.ReadBool();
2874 localSearchMetaheuristics_.AddEntriesFrom(ref input, _repeated_localSearchMetaheuristics_codec);
2878 NumMaxLocalOptimaBeforeMetaheuristicSwitch = input.ReadInt32();
2882 MaxSwapActiveChainSize = input.ReadInt32();
2887 localCheapestInsertionSortingProperties_.AddEntriesFrom(ref input, _repeated_localCheapestInsertionSortingProperties_codec);
2895 #region Nested types
2897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2898 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2899 public static partial
class Types {
2909 [pbr::OriginalName(
"AUTOMATIC")]
Automatic = 0,
2984 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
2986 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2987 , pb::IBufferMessage
2990 private static readonly pb::MessageParser<LocalSearchNeighborhoodOperators> _parser =
new pb::MessageParser<LocalSearchNeighborhoodOperators>(() =>
new LocalSearchNeighborhoodOperators());
2991 private pb::UnknownFieldSet _unknownFields;
2992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2994 public static pb::MessageParser<LocalSearchNeighborhoodOperators>
Parser {
get {
return _parser; } }
2996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2997 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
2998 public static pbr::MessageDescriptor
Descriptor {
2999 get {
return global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Descriptor.NestedTypes[0]; }
3002 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3003 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3004 pbr::MessageDescriptor pb::IMessage.Descriptor {
3008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3009 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3014 partial
void OnConstruction();
3016 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3017 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3019 useRelocate_ = other.useRelocate_;
3020 useRelocatePair_ = other.useRelocatePair_;
3021 useLightRelocatePair_ = other.useLightRelocatePair_;
3022 useRelocateNeighbors_ = other.useRelocateNeighbors_;
3023 useRelocateSubtrip_ = other.useRelocateSubtrip_;
3024 useExchange_ = other.useExchange_;
3025 useExchangePair_ = other.useExchangePair_;
3026 useExchangeSubtrip_ = other.useExchangeSubtrip_;
3027 useCross_ = other.useCross_;
3028 useCrossExchange_ = other.useCrossExchange_;
3029 useRelocateExpensiveChain_ = other.useRelocateExpensiveChain_;
3030 useTwoOpt_ = other.useTwoOpt_;
3031 useOrOpt_ = other.useOrOpt_;
3032 useLinKernighan_ = other.useLinKernighan_;
3033 useTspOpt_ = other.useTspOpt_;
3034 useMakeActive_ = other.useMakeActive_;
3035 useRelocateAndMakeActive_ = other.useRelocateAndMakeActive_;
3036 useExchangeAndMakeActive_ = other.useExchangeAndMakeActive_;
3037 useExchangePathStartEndsAndMakeActive_ = other.useExchangePathStartEndsAndMakeActive_;
3038 useMakeInactive_ = other.useMakeInactive_;
3039 useMakeChainInactive_ = other.useMakeChainInactive_;
3040 useSwapActive_ = other.useSwapActive_;
3041 useSwapActiveChain_ = other.useSwapActiveChain_;
3042 useExtendedSwapActive_ = other.useExtendedSwapActive_;
3043 useShortestPathSwapActive_ = other.useShortestPathSwapActive_;
3044 useShortestPathTwoOpt_ = other.useShortestPathTwoOpt_;
3045 useNodePairSwapActive_ = other.useNodePairSwapActive_;
3046 usePathLns_ = other.usePathLns_;
3047 useFullPathLns_ = other.useFullPathLns_;
3048 useTspLns_ = other.useTspLns_;
3049 useInactiveLns_ = other.useInactiveLns_;
3050 useGlobalCheapestInsertionPathLns_ = other.useGlobalCheapestInsertionPathLns_;
3051 useLocalCheapestInsertionPathLns_ = other.useLocalCheapestInsertionPathLns_;
3052 useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = other.useRelocatePathGlobalCheapestInsertionInsertUnperformed_;
3053 useGlobalCheapestInsertionExpensiveChainLns_ = other.useGlobalCheapestInsertionExpensiveChainLns_;
3054 useLocalCheapestInsertionExpensiveChainLns_ = other.useLocalCheapestInsertionExpensiveChainLns_;
3055 useGlobalCheapestInsertionCloseNodesLns_ = other.useGlobalCheapestInsertionCloseNodesLns_;
3056 useLocalCheapestInsertionCloseNodesLns_ = other.useLocalCheapestInsertionCloseNodesLns_;
3057 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3061 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3067 public const int UseRelocateFieldNumber = 1;
3068 private global::Google.OrTools.Util.OptionalBoolean useRelocate_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3080 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3081 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3083 get { return useRelocate_; }
3085 useRelocate_ = value;
3091 private global::Google.OrTools.Util.OptionalBoolean useRelocatePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3104 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3106 get { return useRelocatePair_; }
3108 useRelocatePair_ = value;
3114 private global::Google.OrTools.Util.OptionalBoolean useLightRelocatePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3124 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3125 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3127 get { return useLightRelocatePair_; }
3129 useLightRelocatePair_ = value;
3135 private global::Google.OrTools.Util.OptionalBoolean useRelocateNeighbors_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3161 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3163 get { return useRelocateNeighbors_; }
3165 useRelocateNeighbors_ = value;
3171 private global::Google.OrTools.Util.OptionalBoolean useRelocateSubtrip_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3188 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3189 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3191 get { return useRelocateSubtrip_; }
3193 useRelocateSubtrip_ = value;
3199 private global::Google.OrTools.Util.OptionalBoolean useExchange_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3210 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3212 get { return useExchange_; }
3214 useExchange_ = value;
3220 private global::Google.OrTools.Util.OptionalBoolean useExchangePair_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3231 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3233 get { return useExchangePair_; }
3235 useExchangePair_ = value;
3241 private global::Google.OrTools.Util.OptionalBoolean useExchangeSubtrip_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3246 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3247 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3249 get { return useExchangeSubtrip_; }
3251 useExchangeSubtrip_ = value;
3257 private global::Google.OrTools.Util.OptionalBoolean useCross_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3269 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3270 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3272 get { return useCross_; }
3280 private global::Google.OrTools.Util.OptionalBoolean useCrossExchange_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3285 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3287 get { return useCrossExchange_; }
3289 useCrossExchange_ = value;
3295 private global::Google.OrTools.Util.OptionalBoolean useRelocateExpensiveChain_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3309 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3311 get { return useRelocateExpensiveChain_; }
3313 useRelocateExpensiveChain_ = value;
3319 private global::Google.OrTools.Util.OptionalBoolean useTwoOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3333 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3335 get { return useTwoOpt_; }
3343 private global::Google.OrTools.Util.OptionalBoolean useOrOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3358 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3360 get { return useOrOpt_; }
3368 private global::Google.OrTools.Util.OptionalBoolean useLinKernighan_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3376 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3378 get { return useLinKernighan_; }
3380 useLinKernighan_ = value;
3386 private global::Google.OrTools.Util.OptionalBoolean useTspOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3396 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3398 get { return useTspOpt_; }
3406 private global::Google.OrTools.Util.OptionalBoolean useMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3417 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3419 get { return useMakeActive_; }
3421 useMakeActive_ = value;
3427 private global::Google.OrTools.Util.OptionalBoolean useRelocateAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3440 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3441 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3443 get { return useRelocateAndMakeActive_; }
3445 useRelocateAndMakeActive_ = value;
3451 private global::Google.OrTools.Util.OptionalBoolean useExchangeAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3460 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3461 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3463 get { return useExchangeAndMakeActive_; }
3465 useExchangeAndMakeActive_ = value;
3471 private global::Google.OrTools.Util.OptionalBoolean useExchangePathStartEndsAndMakeActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3484 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3486 get { return useExchangePathStartEndsAndMakeActive_; }
3488 useExchangePathStartEndsAndMakeActive_ = value;
3494 private global::Google.OrTools.Util.OptionalBoolean useMakeInactive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3502 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3503 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3505 get { return useMakeInactive_; }
3507 useMakeInactive_ = value;
3513 private global::Google.OrTools.Util.OptionalBoolean useMakeChainInactive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3522 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3523 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3525 get { return useMakeChainInactive_; }
3527 useMakeChainInactive_ = value;
3533 private global::Google.OrTools.Util.OptionalBoolean useSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3541 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3542 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3544 get { return useSwapActive_; }
3546 useSwapActive_ = value;
3552 private global::Google.OrTools.Util.OptionalBoolean useSwapActiveChain_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3561 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3562 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3564 get { return useSwapActiveChain_; }
3566 useSwapActiveChain_ = value;
3572 private global::Google.OrTools.Util.OptionalBoolean useExtendedSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3585 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3586 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3588 get { return useExtendedSwapActive_; }
3590 useExtendedSwapActive_ = value;
3596 private global::Google.OrTools.Util.OptionalBoolean useShortestPathSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3606 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3608 get { return useShortestPathSwapActive_; }
3610 useShortestPathSwapActive_ = value;
3616 private global::Google.OrTools.Util.OptionalBoolean useShortestPathTwoOpt_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3622 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3624 get { return useShortestPathTwoOpt_; }
3626 useShortestPathTwoOpt_ = value;
3632 private global::Google.OrTools.Util.OptionalBoolean useNodePairSwapActive_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3646 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3647 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3649 get { return useNodePairSwapActive_; }
3651 useNodePairSwapActive_ = value;
3657 private global::Google.OrTools.Util.OptionalBoolean usePathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3668 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3669 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3671 get { return usePathLns_; }
3673 usePathLns_ = value;
3679 private global::Google.OrTools.Util.OptionalBoolean useFullPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3683 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3684 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3686 get { return useFullPathLns_; }
3688 useFullPathLns_ = value;
3694 private global::Google.OrTools.Util.OptionalBoolean useTspLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3706 get { return useTspLns_; }
3714 private global::Google.OrTools.Util.OptionalBoolean useInactiveLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3721 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3723 get { return useInactiveLns_; }
3725 useInactiveLns_ = value;
3731 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3738 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3740 get { return useGlobalCheapestInsertionPathLns_; }
3742 useGlobalCheapestInsertionPathLns_ = value;
3748 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionPathLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3752 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3753 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3755 get { return useLocalCheapestInsertionPathLns_; }
3757 useLocalCheapestInsertionPathLns_ = value;
3763 private global::Google.OrTools.Util.OptionalBoolean useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3770 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3772 get { return useRelocatePathGlobalCheapestInsertionInsertUnperformed_; }
3774 useRelocatePathGlobalCheapestInsertionInsertUnperformed_ = value;
3780 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionExpensiveChainLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3788 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3790 get { return useGlobalCheapestInsertionExpensiveChainLns_; }
3792 useGlobalCheapestInsertionExpensiveChainLns_ = value;
3798 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionExpensiveChainLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3803 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3804 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3806 get { return useLocalCheapestInsertionExpensiveChainLns_; }
3808 useLocalCheapestInsertionExpensiveChainLns_ = value;
3814 private global::Google.OrTools.Util.OptionalBoolean useGlobalCheapestInsertionCloseNodesLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3821 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3822 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3824 get { return useGlobalCheapestInsertionCloseNodesLns_; }
3826 useGlobalCheapestInsertionCloseNodesLns_ = value;
3832 private global::Google.OrTools.Util.OptionalBoolean useLocalCheapestInsertionCloseNodesLns_ = global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified;
3837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3838 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3840 get { return useLocalCheapestInsertionCloseNodesLns_; }
3842 useLocalCheapestInsertionCloseNodesLns_ = value;
3846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3847 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3848 public override bool Equals(
object other) {
3852 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3853 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3855 if (ReferenceEquals(other,
null)) {
3858 if (ReferenceEquals(other,
this)) {
3861 if (UseRelocate != other.
UseRelocate)
return false;
3899 return Equals(_unknownFields, other._unknownFields);
3902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3903 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3906 if (UseRelocate != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocate.GetHashCode();
3907 if (UseRelocatePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocatePair.GetHashCode();
3908 if (UseLightRelocatePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseLightRelocatePair.GetHashCode();
3909 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocateNeighbors.GetHashCode();
3910 if (UseRelocateSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseRelocateSubtrip.GetHashCode();
3911 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) hash ^= UseExchange.GetHashCode();
3944 if (_unknownFields !=
null) {
3945 hash ^= _unknownFields.GetHashCode();
3950 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3951 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3952 public override string ToString() {
3953 return pb::JsonFormatter.ToDiagnosticString(
this);
3956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3957 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
3958 public void WriteTo(pb::CodedOutputStream output) {
3959 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3960 output.WriteRawMessage(
this);
3963 output.WriteRawTag(8);
3967 output.WriteRawTag(16);
3970 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3971 output.WriteRawTag(24);
3972 output.WriteEnum((
int) UseRelocateNeighbors);
3974 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3975 output.WriteRawTag(32);
3976 output.WriteEnum((
int) UseExchange);
3978 if (UseCross != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3979 output.WriteRawTag(40);
3980 output.WriteEnum((
int) UseCross);
3982 if (UseCrossExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3983 output.WriteRawTag(48);
3984 output.WriteEnum((
int) UseCrossExchange);
3986 if (UseTwoOpt != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
3987 output.WriteRawTag(56);
3988 output.WriteEnum((
int) UseTwoOpt);
3990 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
3991 output.WriteRawTag(64);
3992 output.WriteEnum((
int) UseOrOpt);
3994 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
3995 output.WriteRawTag(72);
3996 output.WriteEnum((
int) UseLinKernighan);
3998 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
3999 output.WriteRawTag(80);
4000 output.WriteEnum((
int) UseTspOpt);
4002 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4003 output.WriteRawTag(88);
4004 output.WriteEnum((
int) UseMakeActive);
4006 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4007 output.WriteRawTag(96);
4008 output.WriteEnum((
int) UseMakeInactive);
4010 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4011 output.WriteRawTag(104);
4012 output.WriteEnum((
int) UseMakeChainInactive);
4014 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4015 output.WriteRawTag(112);
4016 output.WriteEnum((
int) UseSwapActive);
4018 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4019 output.WriteRawTag(120);
4020 output.WriteEnum((
int) UseExtendedSwapActive);
4022 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4023 output.WriteRawTag(128, 1);
4024 output.WriteEnum((
int) UsePathLns);
4026 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4027 output.WriteRawTag(136, 1);
4028 output.WriteEnum((
int) UseFullPathLns);
4030 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4031 output.WriteRawTag(144, 1);
4032 output.WriteEnum((
int) UseTspLns);
4034 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4035 output.WriteRawTag(152, 1);
4036 output.WriteEnum((
int) UseInactiveLns);
4038 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4039 output.WriteRawTag(160, 1);
4040 output.WriteEnum((
int) UseNodePairSwapActive);
4042 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4043 output.WriteRawTag(168, 1);
4044 output.WriteEnum((
int) UseRelocateAndMakeActive);
4046 if (UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4047 output.WriteRawTag(176, 1);
4048 output.WriteEnum((
int) UseExchangePair);
4050 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4051 output.WriteRawTag(184, 1);
4052 output.WriteEnum((
int) UseRelocateExpensiveChain);
4054 if (UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4055 output.WriteRawTag(192, 1);
4056 output.WriteEnum((
int) UseLightRelocatePair);
4058 if (UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4059 output.WriteRawTag(200, 1);
4060 output.WriteEnum((
int) UseRelocateSubtrip);
4062 if (UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4063 output.WriteRawTag(208, 1);
4064 output.WriteEnum((
int) UseExchangeSubtrip);
4066 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4067 output.WriteRawTag(216, 1);
4068 output.WriteEnum((
int) UseGlobalCheapestInsertionPathLns);
4070 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4071 output.WriteRawTag(224, 1);
4072 output.WriteEnum((
int) UseLocalCheapestInsertionPathLns);
4074 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4075 output.WriteRawTag(232, 1);
4076 output.WriteEnum((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4078 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4079 output.WriteRawTag(240, 1);
4080 output.WriteEnum((
int) UseLocalCheapestInsertionExpensiveChainLns);
4082 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4083 output.WriteRawTag(248, 1);
4084 output.WriteEnum((
int) UseGlobalCheapestInsertionCloseNodesLns);
4086 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4087 output.WriteRawTag(128, 2);
4088 output.WriteEnum((
int) UseLocalCheapestInsertionCloseNodesLns);
4090 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4091 output.WriteRawTag(136, 2);
4092 output.WriteEnum((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4094 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4095 output.WriteRawTag(144, 2);
4096 output.WriteEnum((
int) UseShortestPathSwapActive);
4098 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4099 output.WriteRawTag(152, 2);
4100 output.WriteEnum((
int) UseSwapActiveChain);
4102 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4103 output.WriteRawTag(160, 2);
4104 output.WriteEnum((
int) UseShortestPathTwoOpt);
4106 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4107 output.WriteRawTag(168, 2);
4108 output.WriteEnum((
int) UseExchangeAndMakeActive);
4110 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4111 output.WriteRawTag(176, 2);
4112 output.WriteEnum((
int) UseExchangePathStartEndsAndMakeActive);
4114 if (_unknownFields !=
null) {
4115 _unknownFields.WriteTo(output);
4120 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4121 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4122 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4123 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4124 if (UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4125 output.WriteRawTag(8);
4126 output.WriteEnum((
int) UseRelocate);
4128 if (UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4129 output.WriteRawTag(16);
4130 output.WriteEnum((
int) UseRelocatePair);
4132 if (UseRelocateNeighbors != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4133 output.WriteRawTag(24);
4134 output.WriteEnum((
int) UseRelocateNeighbors);
4136 if (UseExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4137 output.WriteRawTag(32);
4138 output.WriteEnum((
int) UseExchange);
4140 if (UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4141 output.WriteRawTag(40);
4142 output.WriteEnum((
int) UseCross);
4144 if (UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4145 output.WriteRawTag(48);
4146 output.WriteEnum((
int) UseCrossExchange);
4148 if (UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4149 output.WriteRawTag(56);
4150 output.WriteEnum((
int) UseTwoOpt);
4152 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4153 output.WriteRawTag(64);
4154 output.WriteEnum((
int) UseOrOpt);
4156 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4157 output.WriteRawTag(72);
4158 output.WriteEnum((
int) UseLinKernighan);
4160 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4161 output.WriteRawTag(80);
4162 output.WriteEnum((
int) UseTspOpt);
4164 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4165 output.WriteRawTag(88);
4166 output.WriteEnum((
int) UseMakeActive);
4168 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4169 output.WriteRawTag(96);
4170 output.WriteEnum((
int) UseMakeInactive);
4172 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4173 output.WriteRawTag(104);
4174 output.WriteEnum((
int) UseMakeChainInactive);
4176 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4177 output.WriteRawTag(112);
4178 output.WriteEnum((
int) UseSwapActive);
4180 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4181 output.WriteRawTag(120);
4182 output.WriteEnum((
int) UseExtendedSwapActive);
4184 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4185 output.WriteRawTag(128, 1);
4186 output.WriteEnum((
int) UsePathLns);
4188 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4189 output.WriteRawTag(136, 1);
4190 output.WriteEnum((
int) UseFullPathLns);
4192 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4193 output.WriteRawTag(144, 1);
4194 output.WriteEnum((
int) UseTspLns);
4196 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4197 output.WriteRawTag(152, 1);
4198 output.WriteEnum((
int) UseInactiveLns);
4200 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4201 output.WriteRawTag(160, 1);
4202 output.WriteEnum((
int) UseNodePairSwapActive);
4204 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4205 output.WriteRawTag(168, 1);
4206 output.WriteEnum((
int) UseRelocateAndMakeActive);
4208 if (UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4209 output.WriteRawTag(176, 1);
4210 output.WriteEnum((
int) UseExchangePair);
4212 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4213 output.WriteRawTag(184, 1);
4214 output.WriteEnum((
int) UseRelocateExpensiveChain);
4216 if (UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4217 output.WriteRawTag(192, 1);
4218 output.WriteEnum((
int) UseLightRelocatePair);
4220 if (UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4221 output.WriteRawTag(200, 1);
4222 output.WriteEnum((
int) UseRelocateSubtrip);
4224 if (UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4225 output.WriteRawTag(208, 1);
4226 output.WriteEnum((
int) UseExchangeSubtrip);
4228 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4229 output.WriteRawTag(216, 1);
4230 output.WriteEnum((
int) UseGlobalCheapestInsertionPathLns);
4232 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4233 output.WriteRawTag(224, 1);
4234 output.WriteEnum((
int) UseLocalCheapestInsertionPathLns);
4236 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4237 output.WriteRawTag(232, 1);
4238 output.WriteEnum((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4240 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4241 output.WriteRawTag(240, 1);
4242 output.WriteEnum((
int) UseLocalCheapestInsertionExpensiveChainLns);
4244 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4245 output.WriteRawTag(248, 1);
4246 output.WriteEnum((
int) UseGlobalCheapestInsertionCloseNodesLns);
4248 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4249 output.WriteRawTag(128, 2);
4250 output.WriteEnum((
int) UseLocalCheapestInsertionCloseNodesLns);
4252 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4253 output.WriteRawTag(136, 2);
4254 output.WriteEnum((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4256 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4257 output.WriteRawTag(144, 2);
4258 output.WriteEnum((
int) UseShortestPathSwapActive);
4260 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4261 output.WriteRawTag(152, 2);
4262 output.WriteEnum((
int) UseSwapActiveChain);
4264 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4265 output.WriteRawTag(160, 2);
4266 output.WriteEnum((
int) UseShortestPathTwoOpt);
4268 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4269 output.WriteRawTag(168, 2);
4270 output.WriteEnum((
int) UseExchangeAndMakeActive);
4272 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4273 output.WriteRawTag(176, 2);
4274 output.WriteEnum((
int) UseExchangePathStartEndsAndMakeActive);
4276 if (_unknownFields !=
null) {
4277 _unknownFields.WriteTo(ref output);
4282 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4283 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4284 public int CalculateSize() {
4286 if (UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4287 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocate);
4289 if (UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4290 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocatePair);
4295 if (UseRelocateNeighbors != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4296 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateNeighbors);
4298 if (UseRelocateSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4299 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateSubtrip);
4301 if (UseExchange != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4302 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchange);
4304 if (UseExchangePair != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4305 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangePair);
4307 if (UseExchangeSubtrip != global::Google.
OrTools.
Util.OptionalBoolean.BoolUnspecified) {
4308 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangeSubtrip);
4310 if (UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4311 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCross);
4313 if (UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4314 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseCrossExchange);
4316 if (UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4317 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateExpensiveChain);
4319 if (UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4320 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTwoOpt);
4322 if (UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4323 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseOrOpt);
4325 if (UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4326 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLinKernighan);
4328 if (UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4329 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTspOpt);
4331 if (UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4332 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeActive);
4334 if (UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4335 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocateAndMakeActive);
4337 if (UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4338 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangeAndMakeActive);
4340 if (UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4341 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExchangePathStartEndsAndMakeActive);
4343 if (UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4344 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeInactive);
4346 if (UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4347 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseMakeChainInactive);
4349 if (UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4350 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseSwapActive);
4352 if (UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4353 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseSwapActiveChain);
4355 if (UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4356 size += 1 + pb::CodedOutputStream.ComputeEnumSize((
int) UseExtendedSwapActive);
4358 if (UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4359 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseShortestPathSwapActive);
4361 if (UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4362 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseShortestPathTwoOpt);
4364 if (UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4365 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseNodePairSwapActive);
4367 if (UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4368 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UsePathLns);
4370 if (UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4371 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseFullPathLns);
4373 if (UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4374 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseTspLns);
4376 if (UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4377 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseInactiveLns);
4379 if (UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4380 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionPathLns);
4382 if (UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4383 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionPathLns);
4385 if (UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4386 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseRelocatePathGlobalCheapestInsertionInsertUnperformed);
4388 if (UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4389 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionExpensiveChainLns);
4391 if (UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4392 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionExpensiveChainLns);
4394 if (UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4395 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseGlobalCheapestInsertionCloseNodesLns);
4397 if (UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4398 size += 2 + pb::CodedOutputStream.ComputeEnumSize((
int) UseLocalCheapestInsertionCloseNodesLns);
4400 if (_unknownFields !=
null) {
4401 size += _unknownFields.CalculateSize();
4406 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4407 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4408 public void MergeFrom(LocalSearchNeighborhoodOperators other) {
4409 if (other ==
null) {
4412 if (other.UseRelocate != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4413 UseRelocate = other.UseRelocate;
4415 if (other.UseRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4418 if (other.UseLightRelocatePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4419 UseLightRelocatePair = other.UseLightRelocatePair;
4421 if (other.UseRelocateNeighbors != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4422 UseRelocateNeighbors = other.UseRelocateNeighbors;
4424 if (other.UseRelocateSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4425 UseRelocateSubtrip = other.UseRelocateSubtrip;
4427 if (other.UseExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4428 UseExchange = other.UseExchange;
4430 if (other.UseExchangePair != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4431 UseExchangePair = other.UseExchangePair;
4433 if (other.UseExchangeSubtrip != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4434 UseExchangeSubtrip = other.UseExchangeSubtrip;
4436 if (other.UseCross != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4437 UseCross = other.UseCross;
4439 if (other.UseCrossExchange != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4440 UseCrossExchange = other.UseCrossExchange;
4442 if (other.UseRelocateExpensiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4443 UseRelocateExpensiveChain = other.UseRelocateExpensiveChain;
4445 if (other.UseTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4446 UseTwoOpt = other.UseTwoOpt;
4448 if (other.UseOrOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4449 UseOrOpt = other.UseOrOpt;
4451 if (other.UseLinKernighan != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4452 UseLinKernighan = other.UseLinKernighan;
4454 if (other.UseTspOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4455 UseTspOpt = other.UseTspOpt;
4457 if (other.UseMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4458 UseMakeActive = other.UseMakeActive;
4460 if (other.UseRelocateAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4461 UseRelocateAndMakeActive = other.UseRelocateAndMakeActive;
4463 if (other.UseExchangeAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4464 UseExchangeAndMakeActive = other.UseExchangeAndMakeActive;
4466 if (other.UseExchangePathStartEndsAndMakeActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4467 UseExchangePathStartEndsAndMakeActive = other.UseExchangePathStartEndsAndMakeActive;
4469 if (other.UseMakeInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4470 UseMakeInactive = other.UseMakeInactive;
4472 if (other.UseMakeChainInactive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4473 UseMakeChainInactive = other.UseMakeChainInactive;
4475 if (other.UseSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4476 UseSwapActive = other.UseSwapActive;
4478 if (other.UseSwapActiveChain != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4479 UseSwapActiveChain = other.UseSwapActiveChain;
4481 if (other.UseExtendedSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4482 UseExtendedSwapActive = other.UseExtendedSwapActive;
4484 if (other.UseShortestPathSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4485 UseShortestPathSwapActive = other.UseShortestPathSwapActive;
4487 if (other.UseShortestPathTwoOpt != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4488 UseShortestPathTwoOpt = other.UseShortestPathTwoOpt;
4490 if (other.UseNodePairSwapActive != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4491 UseNodePairSwapActive = other.UseNodePairSwapActive;
4493 if (other.UsePathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4494 UsePathLns = other.UsePathLns;
4496 if (other.UseFullPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4497 UseFullPathLns = other.UseFullPathLns;
4499 if (other.UseTspLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4500 UseTspLns = other.UseTspLns;
4502 if (other.UseInactiveLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4503 UseInactiveLns = other.UseInactiveLns;
4505 if (other.UseGlobalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4506 UseGlobalCheapestInsertionPathLns = other.UseGlobalCheapestInsertionPathLns;
4508 if (other.UseLocalCheapestInsertionPathLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4509 UseLocalCheapestInsertionPathLns = other.UseLocalCheapestInsertionPathLns;
4511 if (other.UseRelocatePathGlobalCheapestInsertionInsertUnperformed != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4512 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = other.UseRelocatePathGlobalCheapestInsertionInsertUnperformed;
4514 if (other.UseGlobalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4515 UseGlobalCheapestInsertionExpensiveChainLns = other.UseGlobalCheapestInsertionExpensiveChainLns;
4517 if (other.UseLocalCheapestInsertionExpensiveChainLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4518 UseLocalCheapestInsertionExpensiveChainLns = other.UseLocalCheapestInsertionExpensiveChainLns;
4520 if (other.UseGlobalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4521 UseGlobalCheapestInsertionCloseNodesLns = other.UseGlobalCheapestInsertionCloseNodesLns;
4523 if (other.UseLocalCheapestInsertionCloseNodesLns != global::Google.OrTools.Util.OptionalBoolean.BoolUnspecified) {
4524 UseLocalCheapestInsertionCloseNodesLns = other.UseLocalCheapestInsertionCloseNodesLns;
4526 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4530 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4531 public void MergeFrom(pb::CodedInputStream input) {
4532 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4533 input.ReadRawMessage(
this);
4536 while ((tag = input.ReadTag()) != 0) {
4537 if ((tag & 7) == 4) {
4543 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4546 UseRelocate = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4550 UseRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4554 UseRelocateNeighbors = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4558 UseExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4562 UseCross = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4566 UseCrossExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4570 UseTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4574 UseOrOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4578 UseLinKernighan = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4582 UseTspOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4586 UseMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4590 UseMakeInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4594 UseMakeChainInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4598 UseSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4602 UseExtendedSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4606 UsePathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4610 UseFullPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4614 UseTspLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4618 UseInactiveLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4622 UseNodePairSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4626 UseRelocateAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4630 UseExchangePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4634 UseRelocateExpensiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4638 UseLightRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4642 UseRelocateSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4646 UseExchangeSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4650 UseGlobalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4654 UseLocalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4658 UseGlobalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4662 UseLocalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4666 UseGlobalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4670 UseLocalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4674 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4678 UseShortestPathSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4682 UseSwapActiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4686 UseShortestPathTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4690 UseExchangeAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4694 UseExchangePathStartEndsAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4702 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4703 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4704 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4705 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4707 while ((tag = input.ReadTag()) != 0) {
4708 if ((tag & 7) == 4) {
4714 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4717 UseRelocate = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4721 UseRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4725 UseRelocateNeighbors = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4729 UseExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4733 UseCross = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4737 UseCrossExchange = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4741 UseTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4745 UseOrOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4749 UseLinKernighan = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4753 UseTspOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4757 UseMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4761 UseMakeInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4765 UseMakeChainInactive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4769 UseSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4773 UseExtendedSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4777 UsePathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4781 UseFullPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4785 UseTspLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4789 UseInactiveLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4793 UseNodePairSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4797 UseRelocateAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4801 UseExchangePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4805 UseRelocateExpensiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4809 UseLightRelocatePair = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4813 UseRelocateSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4817 UseExchangeSubtrip = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4821 UseGlobalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4825 UseLocalCheapestInsertionPathLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4829 UseGlobalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4833 UseLocalCheapestInsertionExpensiveChainLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4837 UseGlobalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4841 UseLocalCheapestInsertionCloseNodesLns = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4845 UseRelocatePathGlobalCheapestInsertionInsertUnperformed = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4849 UseShortestPathSwapActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4853 UseSwapActiveChain = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4857 UseShortestPathTwoOpt = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4861 UseExchangeAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4865 UseExchangePathStartEndsAndMakeActive = (global::Google.OrTools.Util.OptionalBoolean) input.ReadEnum();
4878 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
4879 public sealed partial
class ImprovementSearchLimitParameters : pb::IMessage<ImprovementSearchLimitParameters>
4880 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4881 , pb::IBufferMessage
4884 private static readonly pb::MessageParser<ImprovementSearchLimitParameters> _parser =
new pb::MessageParser<ImprovementSearchLimitParameters>(() =>
new ImprovementSearchLimitParameters());
4885 private pb::UnknownFieldSet _unknownFields;
4886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4887 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4888 public static pb::MessageParser<ImprovementSearchLimitParameters>
Parser {
get {
return _parser; } }
4890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4891 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4892 public static pbr::MessageDescriptor
Descriptor {
4893 get {
return global::Google.OrTools.ConstraintSolver.RoutingSearchParameters.Descriptor.NestedTypes[1]; }
4896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4897 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4898 pbr::MessageDescriptor pb::IMessage.Descriptor {
4902 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4903 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4908 partial
void OnConstruction();
4910 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4911 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4913 improvementRateCoefficient_ = other.improvementRateCoefficient_;
4914 improvementRateSolutionsDistance_ = other.improvementRateSolutionsDistance_;
4915 _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4919 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4925 public const int ImprovementRateCoefficientFieldNumber = 38;
4926 private double improvementRateCoefficient_;
4932 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4933 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4935 get {
return improvementRateCoefficient_; }
4937 improvementRateCoefficient_ = value;
4943 private int improvementRateSolutionsDistance_;
4951 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4952 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4954 get {
return improvementRateSolutionsDistance_; }
4956 improvementRateSolutionsDistance_ = value;
4960 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4961 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4962 public override bool Equals(
object other) {
4966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4967 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4969 if (ReferenceEquals(other,
null)) {
4972 if (ReferenceEquals(other,
this)) {
4975 if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ImprovementRateCoefficient, other.
ImprovementRateCoefficient))
return false;
4977 return Equals(_unknownFields, other._unknownFields);
4980 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4981 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4984 if (ImprovementRateCoefficient != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ImprovementRateCoefficient);
4985 if (ImprovementRateSolutionsDistance != 0) hash ^= ImprovementRateSolutionsDistance.GetHashCode();
4986 if (_unknownFields !=
null) {
4987 hash ^= _unknownFields.GetHashCode();
4992 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4993 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
4994 public override string ToString() {
4995 return pb::JsonFormatter.ToDiagnosticString(
this);
4998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4999 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5000 public void WriteTo(pb::CodedOutputStream output) {
5001 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5002 output.WriteRawMessage(
this);
5005 output.WriteRawTag(177, 2);
5009 output.WriteRawTag(184, 2);
5012 if (_unknownFields !=
null) {
5013 _unknownFields.WriteTo(output);
5018 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5020 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5021 void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5022 if (ImprovementRateCoefficient != 0D) {
5023 output.WriteRawTag(177, 2);
5024 output.WriteDouble(ImprovementRateCoefficient);
5026 if (ImprovementRateSolutionsDistance != 0) {
5027 output.WriteRawTag(184, 2);
5028 output.WriteInt32(ImprovementRateSolutionsDistance);
5030 if (_unknownFields !=
null) {
5031 _unknownFields.WriteTo(ref output);
5036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5037 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5038 public int CalculateSize() {
5040 if (ImprovementRateCoefficient != 0D) {
5043 if (ImprovementRateSolutionsDistance != 0) {
5044 size += 2 + pb::CodedOutputStream.ComputeInt32Size(ImprovementRateSolutionsDistance);
5046 if (_unknownFields !=
null) {
5047 size += _unknownFields.CalculateSize();
5052 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5053 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5054 public void MergeFrom(ImprovementSearchLimitParameters other) {
5055 if (other ==
null) {
5058 if (other.ImprovementRateCoefficient != 0D) {
5059 ImprovementRateCoefficient = other.ImprovementRateCoefficient;
5061 if (other.ImprovementRateSolutionsDistance != 0) {
5064 _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
5067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5068 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5069 public void MergeFrom(pb::CodedInputStream input) {
5070 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5071 input.ReadRawMessage(
this);
5074 while ((tag = input.ReadTag()) != 0) {
5075 if ((tag & 7) == 4) {
5081 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
5084 ImprovementRateCoefficient = input.ReadDouble();
5088 ImprovementRateSolutionsDistance = input.ReadInt32();
5096 #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5097 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5098 [global::System.CodeDom.Compiler.GeneratedCode(
"protoc",
null)]
5099 void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
5101 while ((tag = input.ReadTag()) != 0) {
5102 if ((tag & 7) == 4) {
5108 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
5111 ImprovementRateCoefficient = input.ReadDouble();
5115 ImprovementRateSolutionsDistance = input.ReadInt32();
5133 [global::System.Diagnostics.DebuggerDisplayAttribute(
"{ToString(),nq}")]
5134 public sealed partial
class RoutingModelParameters : pb::IMessage<RoutingModelParameters>
5135 #
if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5136 , pb::IBufferMessage