ortools.constraint_solver.routing_ils_pb2
Generated protocol buffer code.
1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# NO CHECKED-IN PROTOBUF GENCODE 4# source: ortools/constraint_solver/routing_ils.proto 5# Protobuf Python Version: 6.33.1 6"""Generated protocol buffer code.""" 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pool as _descriptor_pool 9from google.protobuf import runtime_version as _runtime_version 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf.internal import builder as _builder 12_runtime_version.ValidateProtobufRuntimeVersion( 13 _runtime_version.Domain.PUBLIC, 14 6, 15 33, 16 1, 17 '', 18 'ortools/constraint_solver/routing_ils.proto' 19) 20# @@protoc_insertion_point(imports) 21 22_sym_db = _symbol_database.Default() 23 24 25from ortools.constraint_solver import routing_enums_pb2 as ortools_dot_constraint__solver_dot_routing__enums__pb2 26from ortools.constraint_solver import routing_heuristic_parameters_pb2 as ortools_dot_constraint__solver_dot_routing__heuristic__parameters__pb2 27 28 29DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+ortools/constraint_solver/routing_ils.proto\x12\x13operations_research\x1a-ortools/constraint_solver/routing_enums.proto\x1a<ortools/constraint_solver/routing_heuristic_parameters.proto\"X\n SpatiallyCloseRoutesRuinStrategy\x12\x1e\n\x11num_ruined_routes\x18\x03 \x01(\rH\x00\x88\x01\x01\x42\x14\n\x12_num_ruined_routes\"P\n\x16RandomWalkRuinStrategy\x12\x1f\n\x12num_removed_visits\x18\x07 \x01(\rH\x00\x88\x01\x01\x42\x15\n\x13_num_removed_visits\"\xc6\x01\n\x10SISRRuinStrategy\x12&\n\x19max_removed_sequence_size\x18\x01 \x01(\rH\x00\x88\x01\x01\x12#\n\x16\x61vg_num_removed_visits\x18\x02 \x01(\rH\x01\x88\x01\x01\x12\x1a\n\rbypass_factor\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x1c\n\x1a_max_removed_sequence_sizeB\x19\n\x17_avg_num_removed_visitsB\x10\n\x0e_bypass_factor\"\xee\x01\n\x0cRuinStrategy\x12W\n\x16spatially_close_routes\x18\x01 \x01(\x0b\x32\x35.operations_research.SpatiallyCloseRoutesRuinStrategyH\x00\x12\x42\n\x0brandom_walk\x18\x02 \x01(\x0b\x32+.operations_research.RandomWalkRuinStrategyH\x00\x12\x35\n\x04sisr\x18\x03 \x01(\x0b\x32%.operations_research.SISRRuinStrategyH\x00\x42\n\n\x08strategy\"\x95\x02\n\x12RecreateParameters\x12Y\n\x18local_cheapest_insertion\x18\x01 \x01(\x0b\x32\x35.operations_research.LocalCheapestInsertionParametersH\x00\x12\x39\n\x07savings\x18\x02 \x01(\x0b\x32&.operations_research.SavingsParametersH\x00\x12[\n\x19global_cheapest_insertion\x18\x03 \x01(\x0b\x32\x36.operations_research.GlobalCheapestInsertionParametersH\x00\x42\x0c\n\nparameters\"\xbb\x01\n\x10RecreateStrategy\x12H\n\theuristic\x18\x01 \x01(\x0e\x32\x30.operations_research.FirstSolutionStrategy.ValueH\x00\x88\x01\x01\x12@\n\nparameters\x18\x02 \x01(\x0b\x32\'.operations_research.RecreateParametersH\x01\x88\x01\x01\x42\x0c\n\n_heuristicB\r\n\x0b_parameters\"s\n\x17RuinCompositionStrategy\"X\n\x05Value\x12\t\n\x05UNSET\x10\x00\x12\x18\n\x14RUN_ALL_SEQUENTIALLY\x10\x01\x12\x14\n\x10RUN_ALL_RANDOMLY\x10\x02\x12\x14\n\x10RUN_ONE_RANDOMLY\x10\x03\"\xdb\x03\n\x16RuinRecreateParameters\x12:\n\x0fruin_strategies\x18\x01 \x03(\x0b\x32!.operations_research.RuinStrategy\x12U\n\x19ruin_composition_strategy\x18\x02 \x01(\x0e\x32\x32.operations_research.RuinCompositionStrategy.Value\x12@\n\x11recreate_strategy\x18\x03 \x01(\x0b\x32%.operations_research.RecreateStrategy\x12,\n\x1froute_selection_neighbors_ratio\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12*\n\x1droute_selection_min_neighbors\x18\x05 \x01(\rH\x01\x88\x01\x01\x12*\n\x1droute_selection_max_neighbors\x18\x06 \x01(\rH\x02\x88\x01\x01\x42\"\n _route_selection_neighbors_ratioB \n\x1e_route_selection_min_neighborsB \n\x1e_route_selection_max_neighbors\"A\n\x14PerturbationStrategy\")\n\x05Value\x12\t\n\x05UNSET\x10\x00\x12\x15\n\x11RUIN_AND_RECREATE\x10\x01\"J\n\x17\x43oolingScheduleStrategy\"/\n\x05Value\x12\t\n\x05UNSET\x10\x00\x12\x0f\n\x0b\x45XPONENTIAL\x10\x01\x12\n\n\x06LINEAR\x10\x02\"!\n\x1fGreedyDescentAcceptanceStrategy\"\xad\x02\n$SimulatedAnnealingAcceptanceStrategy\x12U\n\x19\x63ooling_schedule_strategy\x18\x01 \x01(\x0e\x32\x32.operations_research.CoolingScheduleStrategy.Value\x12 \n\x13initial_temperature\x18\x02 \x01(\x01H\x00\x88\x01\x01\x12\x1e\n\x11\x66inal_temperature\x18\x03 \x01(\x01H\x01\x88\x01\x01\x12#\n\x16\x61utomatic_temperatures\x18\x04 \x01(\x08H\x02\x88\x01\x01\x42\x16\n\x14_initial_temperatureB\x14\n\x12_final_temperatureB\x19\n\x17_automatic_temperatures\"%\n#AllNodesPerformedAcceptanceStrategy\"&\n$MoreNodesPerformedAcceptanceStrategy\"w\n\x1f\x41\x62sencesBasedAcceptanceStrategy\x12.\n!remove_route_with_lowest_absences\x18\x01 \x01(\x08H\x00\x88\x01\x01\x42$\n\"_remove_route_with_lowest_absences\"\xce\x03\n\x12\x41\x63\x63\x65ptanceStrategy\x12N\n\x0egreedy_descent\x18\x01 \x01(\x0b\x32\x34.operations_research.GreedyDescentAcceptanceStrategyH\x00\x12X\n\x13simulated_annealing\x18\x02 \x01(\x0b\x32\x39.operations_research.SimulatedAnnealingAcceptanceStrategyH\x00\x12W\n\x13\x61ll_nodes_performed\x18\x03 \x01(\x0b\x32\x38.operations_research.AllNodesPerformedAcceptanceStrategyH\x00\x12Y\n\x14more_nodes_performed\x18\x04 \x01(\x0b\x32\x39.operations_research.MoreNodesPerformedAcceptanceStrategyH\x00\x12N\n\x0e\x61\x62sences_based\x18\x05 \x01(\x0b\x32\x34.operations_research.AbsencesBasedAcceptanceStrategyH\x00\x42\n\n\x08strategy\"\xb3\x03\n\x1dIteratedLocalSearchParameters\x12N\n\x15perturbation_strategy\x18\x01 \x01(\x0e\x32/.operations_research.PerturbationStrategy.Value\x12M\n\x18ruin_recreate_parameters\x18\x02 \x01(\x0b\x32+.operations_research.RuinRecreateParameters\x12\'\n\x1aimprove_perturbed_solution\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12W\n&reference_solution_acceptance_strategy\x18\x04 \x01(\x0b\x32\'.operations_research.AcceptanceStrategy\x12R\n!best_solution_acceptance_strategy\x18\x05 \x01(\x0b\x32\'.operations_research.AcceptanceStrategyB\x1d\n\x1b_improve_perturbed_solutionBI\n#com.google.ortools.constraintsolverP\x01\xaa\x02\x1fGoogle.OrTools.ConstraintSolverb\x06proto3') 30 31_globals = globals() 32_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 33_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ortools.constraint_solver.routing_ils_pb2', _globals) 34if not _descriptor._USE_C_DESCRIPTORS: 35 _globals['DESCRIPTOR']._loaded_options = None 36 _globals['DESCRIPTOR']._serialized_options = b'\n#com.google.ortools.constraintsolverP\001\252\002\037Google.OrTools.ConstraintSolver' 37 _globals['_SPATIALLYCLOSEROUTESRUINSTRATEGY']._serialized_start=177 38 _globals['_SPATIALLYCLOSEROUTESRUINSTRATEGY']._serialized_end=265 39 _globals['_RANDOMWALKRUINSTRATEGY']._serialized_start=267 40 _globals['_RANDOMWALKRUINSTRATEGY']._serialized_end=347 41 _globals['_SISRRUINSTRATEGY']._serialized_start=350 42 _globals['_SISRRUINSTRATEGY']._serialized_end=548 43 _globals['_RUINSTRATEGY']._serialized_start=551 44 _globals['_RUINSTRATEGY']._serialized_end=789 45 _globals['_RECREATEPARAMETERS']._serialized_start=792 46 _globals['_RECREATEPARAMETERS']._serialized_end=1069 47 _globals['_RECREATESTRATEGY']._serialized_start=1072 48 _globals['_RECREATESTRATEGY']._serialized_end=1259 49 _globals['_RUINCOMPOSITIONSTRATEGY']._serialized_start=1261 50 _globals['_RUINCOMPOSITIONSTRATEGY']._serialized_end=1376 51 _globals['_RUINCOMPOSITIONSTRATEGY_VALUE']._serialized_start=1288 52 _globals['_RUINCOMPOSITIONSTRATEGY_VALUE']._serialized_end=1376 53 _globals['_RUINRECREATEPARAMETERS']._serialized_start=1379 54 _globals['_RUINRECREATEPARAMETERS']._serialized_end=1854 55 _globals['_PERTURBATIONSTRATEGY']._serialized_start=1856 56 _globals['_PERTURBATIONSTRATEGY']._serialized_end=1921 57 _globals['_PERTURBATIONSTRATEGY_VALUE']._serialized_start=1880 58 _globals['_PERTURBATIONSTRATEGY_VALUE']._serialized_end=1921 59 _globals['_COOLINGSCHEDULESTRATEGY']._serialized_start=1923 60 _globals['_COOLINGSCHEDULESTRATEGY']._serialized_end=1997 61 _globals['_COOLINGSCHEDULESTRATEGY_VALUE']._serialized_start=1950 62 _globals['_COOLINGSCHEDULESTRATEGY_VALUE']._serialized_end=1997 63 _globals['_GREEDYDESCENTACCEPTANCESTRATEGY']._serialized_start=1999 64 _globals['_GREEDYDESCENTACCEPTANCESTRATEGY']._serialized_end=2032 65 _globals['_SIMULATEDANNEALINGACCEPTANCESTRATEGY']._serialized_start=2035 66 _globals['_SIMULATEDANNEALINGACCEPTANCESTRATEGY']._serialized_end=2336 67 _globals['_ALLNODESPERFORMEDACCEPTANCESTRATEGY']._serialized_start=2338 68 _globals['_ALLNODESPERFORMEDACCEPTANCESTRATEGY']._serialized_end=2375 69 _globals['_MORENODESPERFORMEDACCEPTANCESTRATEGY']._serialized_start=2377 70 _globals['_MORENODESPERFORMEDACCEPTANCESTRATEGY']._serialized_end=2415 71 _globals['_ABSENCESBASEDACCEPTANCESTRATEGY']._serialized_start=2417 72 _globals['_ABSENCESBASEDACCEPTANCESTRATEGY']._serialized_end=2536 73 _globals['_ACCEPTANCESTRATEGY']._serialized_start=2539 74 _globals['_ACCEPTANCESTRATEGY']._serialized_end=3001 75 _globals['_ITERATEDLOCALSEARCHPARAMETERS']._serialized_start=3004 76 _globals['_ITERATEDLOCALSEARCHPARAMETERS']._serialized_end=3439 77# @@protoc_insertion_point(module_scope)
DESCRIPTOR =
<google._upb._message.FileDescriptor object>
class
SpatiallyCloseRoutesRuinStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RandomWalkRuinStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
SISRRuinStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RuinStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RecreateParameters(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RecreateStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RuinCompositionStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
RuinRecreateParameters(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
PerturbationStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
CoolingScheduleStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
GreedyDescentAcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
SimulatedAnnealingAcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
AllNodesPerformedAcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
MoreNodesPerformedAcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
AbsencesBasedAcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
AcceptanceStrategy(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage
class
IteratedLocalSearchParameters(google._upb._message.Message, google.protobuf.message.Message):
A ProtocolMessage