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,
18 'ortools/constraint_solver/routing_parameters.proto'
22_sym_db = _symbol_database.Default()
25from google.protobuf
import duration_pb2
as google_dot_protobuf_dot_duration__pb2
27from ortools.constraint_solver import routing_heuristic_parameters_pb2
as ortools_dot_constraint__solver_dot_routing__heuristic__parameters__pb2
30from ortools.sat import sat_parameters_pb2
as ortools_dot_sat_dot_sat__parameters__pb2
31from ortools.util import optional_boolean_pb2
as ortools_dot_util_dot_optional__boolean__pb2
34DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b
'\n2ortools/constraint_solver/routing_parameters.proto\x12\x13operations_research\x1a\x1egoogle/protobuf/duration.proto\x1a-ortools/constraint_solver/routing_enums.proto\x1a<ortools/constraint_solver/routing_heuristic_parameters.proto\x1a+ortools/constraint_solver/routing_ils.proto\x1a\x31ortools/constraint_solver/solver_parameters.proto\x1a ortools/sat/sat_parameters.proto\x1a#ortools/util/optional_boolean.proto\"\xd8\x31\n\x17RoutingSearchParameters\x12Q\n\x17\x66irst_solution_strategy\x18\x01 \x01(\x0e\x32\x30.operations_research.FirstSolutionStrategy.Value\x12.\n&use_unfiltered_first_solution_strategy\x18\x02 \x01(\x08\x12\x42\n\x12savings_parameters\x18\x46 \x01(\x0b\x32&.operations_research.SavingsParameters\x12s\n3global_cheapest_insertion_first_solution_parameters\x18G \x01(\x0b\x32\x36.operations_research.GlobalCheapestInsertionParameters\x12p\n0global_cheapest_insertion_ls_operator_parameters\x18H \x01(\x0b\x32\x36.operations_research.GlobalCheapestInsertionParameters\x12\x62\n#local_cheapest_insertion_parameters\x18\x44 \x01(\x0b\x32\x35.operations_research.LocalCheapestInsertionParameters\x12g\n(local_cheapest_cost_insertion_parameters\x18\x45 \x01(\x0b\x32\x35.operations_research.LocalCheapestInsertionParameters\x12)\n!christofides_use_minimum_matching\x18\x1e \x01(\x08\x12*\n\"first_solution_optimization_period\x18; \x01(\x05\x12m\n\x16local_search_operators\x18\x03 \x01(\x0b\x32M.operations_research.RoutingSearchParameters.LocalSearchNeighborhoodOperators\x12#\n\x1bls_operator_neighbors_ratio\x18\x35 \x01(\x01\x12!\n\x19ls_operator_min_neighbors\x18\x36 \x01(\x05\x12\x34\n,use_multi_armed_bandit_concatenate_operators\x18) \x01(\x08\x12?\n7multi_armed_bandit_compound_operator_memory_coefficient\x18* \x01(\x01\x12\x44\n<multi_armed_bandit_compound_operator_exploration_coefficient\x18+ \x01(\x01\x12\"\n\x1amax_swap_active_chain_size\x18\x42 \x01(\x05\x12\x35\n-relocate_expensive_chain_num_arcs_to_consider\x18\x14 \x01(\x05\x12:\n2heuristic_expensive_chain_lns_num_arcs_to_consider\x18 \x01(\x05\x12+\n#heuristic_close_nodes_lns_num_nodes\x18# \x01(\x05\x12W\n\x1alocal_search_metaheuristic\x18\x04 \x01(\x0e\x32\x33.operations_research.LocalSearchMetaheuristic.Value\x12X\n\x1blocal_search_metaheuristics\x18? \x03(\x0e\x32\x33.operations_research.LocalSearchMetaheuristic.Value\x12\x38\n0num_max_local_optima_before_metaheuristic_switch\x18@ \x01(\x05\x12.\n&guided_local_search_lambda_coefficient\x18\x05 \x01(\x01\x12@\n8guided_local_search_reset_penalties_on_new_best_solution\x18\x33 \x01(\x08\x12\x39\n1guided_local_search_penalize_with_vehicle_classes\x18= \x01(\x08\x12\x43\n;use_guided_local_search_penalties_in_local_search_operators\x18> \x01(\x08\x12\x1e\n\x16use_depth_first_search\x18\x06 \x01(\x08\x12\x34\n\x06use_cp\x18\x1c \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x38\n\nuse_cp_sat\x18\x1b \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x44\n\x16use_generalized_cp_sat\x18/ \x01(\x0e\x32$.operations_research.OptionalBoolean\x12>\n\x0esat_parameters\x18\x30 \x01(\x0b\x32&.operations_research.sat.SatParameters\x12,\n$report_intermediate_cp_sat_solutions\x18\x38 \x01(\x08\x12)\n!fallback_to_cp_sat_size_threshold\x18\x34 \x01(\x05\x12\x63\n\x1c\x63ontinuous_scheduling_solver\x18! \x01(\x0e\x32=.operations_research.RoutingSearchParameters.SchedulingSolver\x12\x66\n\x1fmixed_integer_scheduling_solver\x18\" \x01(\x0e\x32=.operations_research.RoutingSearchParameters.SchedulingSolver\x12\x43\n6disable_scheduling_beware_this_may_degrade_performance\x18\x32 \x01(\x08H\x00\x88\x01\x01\x12\x19\n\x11optimization_step\x18\x07 \x01(\x01\x12&\n\x1enumber_of_solutions_to_collect\x18\x11 \x01(\x05\x12\x16\n\x0esolution_limit\x18\x08 \x01(\x03\x12-\n\ntime_limit\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0elns_time_limit\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x1dsecondary_ls_time_limit_ratio\x18\x39 \x01(\x01\x12s\n\x1cimprovement_limit_parameters\x18% \x01(\x0b\x32M.operations_research.RoutingSearchParameters.ImprovementSearchLimitParameters\x12\x1c\n\x14use_full_propagation\x18\x0b \x01(\x08\x12\x12\n\nlog_search\x18\r \x01(\x08\x12\x1f\n\x17log_cost_scaling_factor\x18\x16 \x01(\x01\x12\x17\n\x0flog_cost_offset\x18\x1d \x01(\x01\x12\x0f\n\x07log_tag\x18$ \x01(\t\x12!\n\x19use_iterated_local_search\x18: \x01(\x08\x12\\\n iterated_local_search_parameters\x18< \x01(\x0b\x32\x32.operations_research.IteratedLocalSearchParameters\x1a\x93\x17\n LocalSearchNeighborhoodOperators\x12:\n\x0cuse_relocate\x18\x01 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12?\n\x11use_relocate_pair\x18\x02 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x45\n\x17use_light_relocate_pair\x18\x18 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x44\n\x16use_relocate_neighbors\x18\x03 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x42\n\x14use_relocate_subtrip\x18\x19 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12:\n\x0cuse_exchange\x18\x04 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12?\n\x11use_exchange_pair\x18\x16 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x42\n\x14use_exchange_subtrip\x18\x1a \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x37\n\tuse_cross\x18\x05 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12@\n\x12use_cross_exchange\x18\x06 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12J\n\x1cuse_relocate_expensive_chain\x18\x17 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x39\n\x0buse_two_opt\x18\x07 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x38\n\nuse_or_opt\x18\x08 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12?\n\x11use_lin_kernighan\x18\t \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x39\n\x0buse_tsp_opt\x18\n \x01(\x0e\x32$.operations_research.OptionalBoolean\x12=\n\x0fuse_make_active\x18\x0b \x01(\x0e\x32$.operations_research.OptionalBoolean\x12J\n\x1cuse_relocate_and_make_active\x18\x15 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12J\n\x1cuse_exchange_and_make_active\x18% \x01(\x0e\x32$.operations_research.OptionalBoolean\x12Z\n,use_exchange_path_start_ends_and_make_active\x18& \x01(\x0e\x32$.operations_research.OptionalBoolean\x12?\n\x11use_make_inactive\x18\x0c \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x45\n\x17use_make_chain_inactive\x18\r \x01(\x0e\x32$.operations_research.OptionalBoolean\x12=\n\x0fuse_swap_active\x18\x0e \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x43\n\x15use_swap_active_chain\x18# \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x46\n\x18use_extended_swap_active\x18\x0f \x01(\x0e\x32$.operations_research.OptionalBoolean\x12K\n\x1duse_shortest_path_swap_active\x18\" \x01(\x0e\x32$.operations_research.OptionalBoolean\x12G\n\x19use_shortest_path_two_opt\x18$ \x01(\x0e\x32$.operations_research.OptionalBoolean\x12G\n\x19use_node_pair_swap_active\x18\x14 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12:\n\x0cuse_path_lns\x18\x10 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12?\n\x11use_full_path_lns\x18\x11 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12\x39\n\x0buse_tsp_lns\x18\x12 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12>\n\x10use_inactive_lns\x18\x13 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12T\n&use_global_cheapest_insertion_path_lns\x18\x1b \x01(\x0e\x32$.operations_research.OptionalBoolean\x12S\n%use_local_cheapest_insertion_path_lns\x18\x1c \x01(\x0e\x32$.operations_research.OptionalBoolean\x12l\n>use_relocate_path_global_cheapest_insertion_insert_unperformed\x18! \x01(\x0e\x32$.operations_research.OptionalBoolean\x12_\n1use_global_cheapest_insertion_expensive_chain_lns\x18\x1d \x01(\x0e\x32$.operations_research.OptionalBoolean\x12^\n0use_local_cheapest_insertion_expensive_chain_lns\x18\x1e \x01(\x0e\x32$.operations_research.OptionalBoolean\x12[\n-use_global_cheapest_insertion_close_nodes_lns\x18\x1f \x01(\x0e\x32$.operations_research.OptionalBoolean\x12Z\n,use_local_cheapest_insertion_close_nodes_lns\x18 \x01(\x0e\x32$.operations_research.OptionalBoolean\x12[\n-use_global_cheapest_insertion_visit_types_lns\x18\' \x01(\x0e\x32$.operations_research.OptionalBoolean\x12Z\n,use_local_cheapest_insertion_visit_types_lns\x18( \x01(\x0e\x32$.operations_research.OptionalBoolean\x1au\n ImprovementSearchLimitParameters\x12$\n\x1cimprovement_rate_coefficient\x18& \x01(\x01\x12+\n#improvement_rate_solutions_distance\x18\' \x01(\x05\"T\n\x10SchedulingSolver\x12\x14\n\x10SCHEDULING_UNSET\x10\x00\x12\x13\n\x0fSCHEDULING_GLOP\x10\x01\x12\x15\n\x11SCHEDULING_CP_SAT\x10\x02\x42\x39\n7_disable_scheduling_beware_this_may_degrade_performanceJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x15\x10\x16J\x04\x08\x17\x10\x18J\x04\x08\x1f\x10 J\x04\x08(\x10)J\x04\x08,\x10-J\x04\x08-\x10.J\x04\x08.\x10/J\x04\x08\x31\x10\x32J\x04\x08\x37\x10\x38J\x04\x08\x41\x10\x42J\x04\x08\x43\x10\x44\"\xa8\x01\n\x16RoutingModelParameters\x12J\n\x11solver_parameters\x18\x01 \x01(\x0b\x32/.operations_research.ConstraintSolverParameters\x12!\n\x19reduce_vehicle_cost_model\x18\x02 \x01(\x08\x12\x1f\n\x17max_callback_cache_size\x18\x03 \x01(\x05\x42I\n#com.google.ortools.constraintsolverP\x01\xaa\x02\x1fGoogle.OrTools.ConstraintSolverb\x06proto3')
37_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
38_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR,
'ortools.constraint_solver.routing_parameters_pb2', _globals)
39if not _descriptor._USE_C_DESCRIPTORS:
40 _globals[
'DESCRIPTOR']._loaded_options =
None
41 _globals[
'DESCRIPTOR']._serialized_options = b
'\n#com.google.ortools.constraintsolverP\001\252\002\037Google.OrTools.ConstraintSolver'
42 _globals[
'_ROUTINGSEARCHPARAMETERS']._serialized_start=384
43 _globals[
'_ROUTINGSEARCHPARAMETERS']._serialized_end=6744
44 _globals[
'_ROUTINGSEARCHPARAMETERS_LOCALSEARCHNEIGHBORHOODOPERATORS']._serialized_start=3421
45 _globals[
'_ROUTINGSEARCHPARAMETERS_LOCALSEARCHNEIGHBORHOODOPERATORS']._serialized_end=6384
46 _globals[
'_ROUTINGSEARCHPARAMETERS_IMPROVEMENTSEARCHLIMITPARAMETERS']._serialized_start=6386
47 _globals[
'_ROUTINGSEARCHPARAMETERS_IMPROVEMENTSEARCHLIMITPARAMETERS']._serialized_end=6503
48 _globals[
'_ROUTINGSEARCHPARAMETERS_SCHEDULINGSOLVER']._serialized_start=6505
49 _globals[
'_ROUTINGSEARCHPARAMETERS_SCHEDULINGSOLVER']._serialized_end=6589
50 _globals[
'_ROUTINGMODELPARAMETERS']._serialized_start=6747
51 _globals[
'_ROUTINGMODELPARAMETERS']._serialized_end=6915