From b4b226801bebda9fdbdac8b53d905c8da6dbb143 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 5 Nov 2025 11:34:49 +0100 Subject: [PATCH] update include guards --- examples/cpp/course_scheduling.h | 6 +++--- examples/cpp/fap_model_printer.h | 6 +++--- examples/cpp/fap_parser.h | 6 +++--- examples/cpp/fap_utilities.h | 6 +++--- examples/cpp/parse_dimacs_assignment.h | 6 +++--- examples/cpp/print_dimacs_assignment.h | 6 +++--- ortools/algorithms/adjustable_k_ary_heap.h | 6 +++--- ortools/algorithms/binary_indexed_tree.h | 6 +++--- ortools/algorithms/binary_search.h | 6 +++--- ortools/algorithms/dense_doubly_linked_list.h | 6 +++--- ortools/algorithms/duplicate_remover.h | 6 +++--- ortools/algorithms/dynamic_partition.h | 6 +++--- ortools/algorithms/dynamic_permutation.h | 6 +++--- ortools/algorithms/find_graph_symmetries.h | 6 +++--- ortools/algorithms/hungarian.h | 6 +++--- ortools/algorithms/knapsack_solver.h | 6 +++--- ortools/algorithms/n_choose_k.h | 6 +++--- ortools/algorithms/python/knapsack_solver_doc.h | 6 +++--- ortools/algorithms/radix_sort.h | 6 +++--- ortools/algorithms/space_saving_most_frequent.h | 6 +++--- ortools/algorithms/sparse_permutation.h | 6 +++--- ortools/base/accurate_sum.h | 6 +++--- ortools/base/adjustable_priority_queue-inl.h | 6 +++--- ortools/base/adjustable_priority_queue.h | 6 +++--- ortools/base/array.h | 6 +++--- ortools/base/base_export.h | 6 +++--- ortools/base/bitmap.h | 6 +++--- ortools/base/commandlineflags.h | 6 +++--- ortools/base/constant_divisor.h | 6 +++--- ortools/base/container_logging.h | 6 +++--- ortools/base/dump_vars.h | 6 +++--- ortools/base/filesystem.h | 6 +++--- ortools/base/fuzztest.h | 6 +++--- ortools/base/gmock.h | 6 +++--- ortools/base/gzipfile.h | 6 +++--- ortools/base/gzipstring.h | 6 +++--- ortools/base/hash.h | 6 +++--- ortools/base/helpers.h | 6 +++--- ortools/base/init_google.h | 6 +++--- ortools/base/int_type.h | 6 +++--- ortools/base/iterator_adaptors.h | 6 +++--- ortools/base/linked_hash_map.h | 6 +++--- ortools/base/logging.h | 6 +++--- ortools/base/map_util.h | 6 +++--- ortools/base/mathutil.h | 6 +++--- ortools/base/memfile.h | 6 +++--- ortools/base/memutil.h | 6 +++--- ortools/base/murmur.h | 6 +++--- ortools/base/mutable_memfile.h | 6 +++--- ortools/base/numbers.h | 6 +++--- ortools/base/options.h | 6 +++--- ortools/base/parse_test_proto.h | 6 +++--- ortools/base/path.h | 6 +++--- ortools/base/proto_enum_utils.h | 6 +++--- ortools/base/protobuf_util.h | 6 +++--- ortools/base/protoutil.h | 6 +++--- ortools/base/python-swig.h | 6 +++--- ortools/base/recordio.h | 6 +++--- ortools/base/source_location.h | 6 +++--- ortools/base/status_builder.h | 6 +++--- ortools/base/status_macros.h | 6 +++--- ortools/base/stl_util.h | 6 +++--- ortools/base/strong_int.h | 6 +++--- ortools/base/strong_vector.h | 6 +++--- ortools/base/strtoint.h | 6 +++--- ortools/base/sysinfo.h | 6 +++--- ortools/base/threadpool.h | 6 +++--- ortools/base/timer.h | 6 +++--- ortools/base/top_n.h | 6 +++--- ortools/base/types.h | 6 +++--- ortools/base/version.h | 6 +++--- ortools/base/zipfile.h | 6 +++--- ortools/bop/bop_base.h | 6 +++--- ortools/bop/bop_fs.h | 6 +++--- ortools/bop/bop_lns.h | 6 +++--- ortools/bop/bop_ls.h | 6 +++--- ortools/bop/bop_portfolio.h | 6 +++--- ortools/bop/bop_solution.h | 6 +++--- ortools/bop/bop_solver.h | 6 +++--- ortools/bop/bop_types.h | 6 +++--- ortools/bop/bop_util.h | 6 +++--- ortools/bop/complete_optimizer.h | 6 +++--- ortools/bop/integral_solver.h | 6 +++--- ortools/constraint_solver/constraint_solver.h | 6 +++--- ortools/constraint_solver/constraint_solveri.h | 6 +++--- ortools/constraint_solver/java/javawrapcp_util.h | 6 +++--- ortools/constraint_solver/routing.h | 6 +++--- ortools/constraint_solver/routing_breaks.h | 6 +++--- ortools/constraint_solver/routing_constraints.h | 6 +++--- ortools/constraint_solver/routing_decision_builders.h | 6 +++--- ortools/constraint_solver/routing_filter_committables.h | 6 +++--- ortools/constraint_solver/routing_filters.h | 6 +++--- ortools/constraint_solver/routing_ils.h | 6 +++--- ortools/constraint_solver/routing_ils_parameters_utils.h | 6 +++--- ortools/constraint_solver/routing_index_manager.h | 6 +++--- ortools/constraint_solver/routing_insertion_lns.h | 6 +++--- ortools/constraint_solver/routing_lp_scheduling.h | 6 +++--- ortools/constraint_solver/routing_neighborhoods.h | 6 +++--- ortools/constraint_solver/routing_parameters.h | 6 +++--- ortools/constraint_solver/routing_parameters_utils.h | 6 +++--- ortools/constraint_solver/routing_search.h | 6 +++--- ortools/constraint_solver/routing_types.h | 6 +++--- ortools/constraint_solver/routing_utils.h | 6 +++--- ortools/glop/basis_representation.h | 6 +++--- ortools/glop/dual_edge_norms.h | 6 +++--- ortools/glop/entering_variable.h | 6 +++--- ortools/glop/initial_basis.h | 6 +++--- ortools/glop/lp_solver.h | 6 +++--- ortools/glop/lu_factorization.h | 6 +++--- ortools/glop/markowitz.h | 6 +++--- ortools/glop/parameters_validation.h | 6 +++--- ortools/glop/preprocessor.h | 6 +++--- ortools/glop/pricing.h | 6 +++--- ortools/glop/primal_edge_norms.h | 6 +++--- ortools/glop/rank_one_update.h | 6 +++--- ortools/glop/reduced_costs.h | 6 +++--- ortools/glop/revised_simplex.h | 6 +++--- ortools/glop/status.h | 6 +++--- ortools/glop/update_row.h | 6 +++--- ortools/glop/variable_values.h | 6 +++--- ortools/glop/variables_info.h | 6 +++--- ortools/glpk/glpk_computational_form.h | 6 +++--- ortools/glpk/glpk_env_deleter.h | 6 +++--- ortools/glpk/glpk_formatters.h | 6 +++--- ortools/graph/assignment.h | 6 +++--- ortools/graph/bidirectional_dijkstra.h | 6 +++--- ortools/graph/bounded_dijkstra.h | 6 +++--- ortools/graph/christofides.h | 6 +++--- ortools/graph/cliques.h | 6 +++--- ortools/graph/dag_connectivity.h | 6 +++--- ortools/graph/dag_constrained_shortest_path.h | 6 +++--- ortools/graph/dag_shortest_path.h | 6 +++--- ortools/graph/eulerian_path.h | 6 +++--- ortools/graph/generic_max_flow.h | 6 +++--- ortools/graph/hamiltonian_path.h | 6 +++--- ortools/graph/k_shortest_paths.h | 6 +++--- ortools/graph/linear_assignment.h | 6 +++--- ortools/graph/max_flow.h | 6 +++--- ortools/graph/min_cost_flow.h | 6 +++--- ortools/graph/minimum_spanning_tree.h | 6 +++--- ortools/graph/minimum_vertex_cover.h | 6 +++--- ortools/graph/multi_dijkstra.h | 6 +++--- ortools/graph/one_tree_lower_bound.h | 6 +++--- ortools/graph/perfect_matching.h | 6 +++--- ortools/graph/rooted_tree.h | 6 +++--- ortools/graph/shortest_paths.h | 6 +++--- ortools/gurobi/gurobi_stdout_matchers.h | 6 +++--- ortools/gurobi/isv_public/gurobi_isv.h | 6 +++--- ortools/init/init.h | 6 +++--- ortools/init/python/init_doc.h | 6 +++--- ortools/linear_solver/glop_utils.h | 6 +++--- ortools/linear_solver/gurobi_util.h | 6 +++--- ortools/linear_solver/linear_expr.h | 6 +++--- ortools/linear_solver/linear_solver.h | 6 +++--- ortools/linear_solver/linear_solver_callback.h | 6 +++--- ortools/linear_solver/model_exporter.h | 6 +++--- ortools/linear_solver/model_exporter_swig_helper.h | 6 +++--- ortools/linear_solver/model_validator.h | 6 +++--- ortools/linear_solver/proto_solver/glop_proto_solver.h | 6 +++--- ortools/linear_solver/proto_solver/gurobi_proto_solver.h | 6 +++--- ortools/linear_solver/proto_solver/highs_proto_solver.h | 6 +++--- ortools/linear_solver/proto_solver/pdlp_proto_solver.h | 6 +++--- ortools/linear_solver/proto_solver/preprocessor.h | 6 +++--- ortools/linear_solver/proto_solver/proto_utils.h | 6 +++--- ortools/linear_solver/proto_solver/sat_proto_solver.h | 6 +++--- ortools/linear_solver/proto_solver/sat_solver_utils.h | 6 +++--- ortools/linear_solver/proto_solver/scip_params.h | 6 +++--- ortools/linear_solver/proto_solver/scip_proto_solver.h | 6 +++--- ortools/linear_solver/samples/network_design_ilph.h | 6 +++--- ortools/linear_solver/scip_callback.h | 6 +++--- ortools/linear_solver/scip_helper_macros.h | 6 +++--- ortools/linear_solver/solve_mp_model.h | 6 +++--- ortools/linear_solver/wrappers/model_builder_helper.h | 6 +++--- ortools/lp_data/lp_data.h | 6 +++--- ortools/lp_data/lp_data_utils.h | 6 +++--- ortools/lp_data/lp_decomposer.h | 6 +++--- ortools/lp_data/lp_parser.h | 6 +++--- ortools/lp_data/lp_print_utils.h | 6 +++--- ortools/lp_data/lp_types.h | 6 +++--- ortools/lp_data/lp_utils.h | 6 +++--- ortools/lp_data/matrix_scaler.h | 6 +++--- ortools/lp_data/matrix_utils.h | 6 +++--- ortools/lp_data/mps_reader.h | 6 +++--- ortools/lp_data/mps_reader_template.h | 6 +++--- ortools/lp_data/permutation.h | 6 +++--- ortools/lp_data/proto_utils.h | 6 +++--- ortools/lp_data/scattered_vector.h | 6 +++--- ortools/lp_data/sol_reader.h | 6 +++--- ortools/lp_data/sparse.h | 6 +++--- ortools/lp_data/sparse_column.h | 6 +++--- ortools/lp_data/sparse_row.h | 6 +++--- ortools/lp_data/sparse_vector.h | 6 +++--- .../math_opt/constraints/indicator/indicator_constraint.h | 6 +++--- ortools/math_opt/constraints/indicator/storage.h | 6 +++--- ortools/math_opt/constraints/indicator/validator.h | 6 +++--- .../math_opt/constraints/quadratic/quadratic_constraint.h | 6 +++--- ortools/math_opt/constraints/quadratic/storage.h | 6 +++--- ortools/math_opt/constraints/quadratic/validator.h | 6 +++--- .../second_order_cone/second_order_cone_constraint.h | 6 +++--- ortools/math_opt/constraints/second_order_cone/storage.h | 6 +++--- ortools/math_opt/constraints/second_order_cone/validator.h | 6 +++--- ortools/math_opt/constraints/sos/sos1_constraint.h | 6 +++--- ortools/math_opt/constraints/sos/sos2_constraint.h | 6 +++--- ortools/math_opt/constraints/sos/storage.h | 6 +++--- ortools/math_opt/constraints/sos/util.h | 6 +++--- ortools/math_opt/constraints/sos/validator.h | 6 +++--- ortools/math_opt/constraints/util/model_util.h | 6 +++--- ortools/math_opt/core/arrow_operator_proxy.h | 6 +++--- ortools/math_opt/core/base_solver.h | 6 +++--- ortools/math_opt/core/c_api/solver.h | 6 +++--- ortools/math_opt/core/concurrent_calls_guard.h | 6 +++--- ortools/math_opt/core/empty_bounds.h | 6 +++--- ortools/math_opt/core/invalid_indicators.h | 6 +++--- ortools/math_opt/core/inverted_bounds.h | 6 +++--- ortools/math_opt/core/math_opt_proto_utils.h | 6 +++--- ortools/math_opt/core/model_summary.h | 6 +++--- .../math_opt/core/non_streamable_solver_init_arguments.h | 6 +++--- ortools/math_opt/core/solver.h | 6 +++--- ortools/math_opt/core/solver_debug.h | 6 +++--- ortools/math_opt/core/solver_interface.h | 6 +++--- ortools/math_opt/core/sorted.h | 6 +++--- ortools/math_opt/core/sparse_submatrix.h | 6 +++--- ortools/math_opt/core/sparse_vector.h | 6 +++--- ortools/math_opt/core/sparse_vector_view.h | 6 +++--- ortools/math_opt/cpp/basis_status.h | 6 +++--- ortools/math_opt/cpp/callback.h | 6 +++--- .../math_opt/cpp/compute_infeasible_subsystem_arguments.h | 6 +++--- ortools/math_opt/cpp/compute_infeasible_subsystem_result.h | 6 +++--- ortools/math_opt/cpp/enums.h | 6 +++--- ortools/math_opt/cpp/enums_testing.h | 6 +++--- ortools/math_opt/cpp/formatters.h | 6 +++--- ortools/math_opt/cpp/incremental_solver.h | 6 +++--- ortools/math_opt/cpp/key_types.h | 6 +++--- ortools/math_opt/cpp/linear_constraint.h | 6 +++--- ortools/math_opt/cpp/map_filter.h | 6 +++--- ortools/math_opt/cpp/matchers.h | 6 +++--- ortools/math_opt/cpp/math_opt.h | 6 +++--- ortools/math_opt/cpp/message_callback.h | 6 +++--- ortools/math_opt/cpp/model.h | 6 +++--- ortools/math_opt/cpp/model_solve_parameters.h | 6 +++--- ortools/math_opt/cpp/objective.h | 6 +++--- ortools/math_opt/cpp/parameters.h | 6 +++--- ortools/math_opt/cpp/remote_streaming_mode.h | 6 +++--- ortools/math_opt/cpp/solution.h | 6 +++--- ortools/math_opt/cpp/solve.h | 6 +++--- ortools/math_opt/cpp/solve_arguments.h | 6 +++--- ortools/math_opt/cpp/solve_impl.h | 6 +++--- ortools/math_opt/cpp/solve_result.h | 6 +++--- ortools/math_opt/cpp/solver_init_arguments.h | 6 +++--- ortools/math_opt/cpp/solver_resources.h | 6 +++--- ortools/math_opt/cpp/sparse_containers.h | 6 +++--- ortools/math_opt/cpp/statistics.h | 6 +++--- ortools/math_opt/cpp/streamable_solver_init_arguments.h | 6 +++--- ortools/math_opt/cpp/update_result.h | 6 +++--- ortools/math_opt/cpp/update_tracker.h | 6 +++--- ortools/math_opt/cpp/variable_and_expressions.h | 6 +++--- ortools/math_opt/elemental/arrays.h | 6 +++--- ortools/math_opt/elemental/attr_diff.h | 6 +++--- ortools/math_opt/elemental/attr_key.h | 6 +++--- ortools/math_opt/elemental/attr_storage.h | 6 +++--- ortools/math_opt/elemental/attributes.h | 6 +++--- ortools/math_opt/elemental/codegen/gen.h | 6 +++--- ortools/math_opt/elemental/codegen/gen_c.h | 6 +++--- ortools/math_opt/elemental/codegen/gen_python.h | 6 +++--- ortools/math_opt/elemental/codegen/testing.h | 6 +++--- ortools/math_opt/elemental/derived_data.h | 6 +++--- ortools/math_opt/elemental/diff.h | 6 +++--- ortools/math_opt/elemental/element_diff.h | 6 +++--- ortools/math_opt/elemental/element_ref_tracker.h | 6 +++--- ortools/math_opt/elemental/element_storage.h | 6 +++--- ortools/math_opt/elemental/elemental.h | 6 +++--- ortools/math_opt/elemental/elemental_differencer.h | 6 +++--- ortools/math_opt/elemental/elemental_matcher.h | 6 +++--- ortools/math_opt/elemental/elements.h | 6 +++--- ortools/math_opt/elemental/safe_attr_ops.h | 6 +++--- ortools/math_opt/elemental/symmetry.h | 6 +++--- ortools/math_opt/elemental/tagged_id.h | 6 +++--- ortools/math_opt/elemental/testing.h | 6 +++--- ortools/math_opt/elemental/thread_safe_id_map.h | 6 +++--- ortools/math_opt/io/lp/lp_model.h | 6 +++--- ortools/math_opt/io/lp/lp_name.h | 6 +++--- ortools/math_opt/io/lp/model_utils.h | 6 +++--- ortools/math_opt/io/lp_converter.h | 6 +++--- ortools/math_opt/io/lp_parser.h | 6 +++--- ortools/math_opt/io/mps_converter.h | 6 +++--- ortools/math_opt/io/names_removal.h | 6 +++--- ortools/math_opt/io/proto_converter.h | 6 +++--- ortools/math_opt/labs/dualizer.h | 6 +++--- ortools/math_opt/labs/general_constraint_to_mip.h | 6 +++--- ortools/math_opt/labs/linear_expr_util.h | 6 +++--- ortools/math_opt/labs/solution_feasibility_checker.h | 6 +++--- ortools/math_opt/labs/solution_improvement.h | 6 +++--- ortools/math_opt/solver_tests/base_solver_test.h | 6 +++--- ortools/math_opt/solver_tests/callback_tests.h | 6 +++--- ortools/math_opt/solver_tests/generic_tests.h | 6 +++--- ortools/math_opt/solver_tests/infeasible_subsystem_tests.h | 6 +++--- ortools/math_opt/solver_tests/invalid_input_tests.h | 6 +++--- .../math_opt/solver_tests/ip_model_solve_parameters_tests.h | 6 +++--- ortools/math_opt/solver_tests/ip_multiple_solutions_tests.h | 6 +++--- ortools/math_opt/solver_tests/ip_parameter_tests.h | 6 +++--- ortools/math_opt/solver_tests/logical_constraint_tests.h | 6 +++--- ortools/math_opt/solver_tests/lp_incomplete_solve_tests.h | 6 +++--- ortools/math_opt/solver_tests/lp_initial_basis_tests.h | 6 +++--- .../math_opt/solver_tests/lp_model_solve_parameters_tests.h | 6 +++--- ortools/math_opt/solver_tests/lp_parameter_tests.h | 6 +++--- ortools/math_opt/solver_tests/lp_tests.h | 6 +++--- ortools/math_opt/solver_tests/mip_tests.h | 6 +++--- ortools/math_opt/solver_tests/multi_objective_tests.h | 6 +++--- ortools/math_opt/solver_tests/qc_tests.h | 6 +++--- ortools/math_opt/solver_tests/qp_tests.h | 6 +++--- ortools/math_opt/solver_tests/second_order_cone_tests.h | 6 +++--- ortools/math_opt/solver_tests/status_tests.h | 6 +++--- ortools/math_opt/solver_tests/test_models.h | 6 +++--- ortools/math_opt/solvers/cp_sat_solver.h | 6 +++--- ortools/math_opt/solvers/glop_solver.h | 6 +++--- ortools/math_opt/solvers/glpk/gap.h | 6 +++--- ortools/math_opt/solvers/glpk/glpk_sparse_vector.h | 6 +++--- ortools/math_opt/solvers/glpk/rays.h | 6 +++--- ortools/math_opt/solvers/glpk_solver.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_callback_result.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_constraint_handler.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_event_handler.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_ext.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_from_mp_model_proto.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_message_handler.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_parameters.h | 6 +++--- ortools/math_opt/solvers/gscip/gscip_testing.h | 6 +++--- .../gscip/math_opt_gscip_solver_constraint_handler.h | 6 +++--- ortools/math_opt/solvers/gscip_solver.h | 6 +++--- ortools/math_opt/solvers/gurobi/g_gurobi.h | 6 +++--- ortools/math_opt/solvers/gurobi_callback.h | 6 +++--- ortools/math_opt/solvers/gurobi_init_arguments.h | 6 +++--- ortools/math_opt/solvers/gurobi_solver.h | 6 +++--- ortools/math_opt/solvers/highs_solver.h | 6 +++--- ortools/math_opt/solvers/message_callback_data.h | 6 +++--- ortools/math_opt/solvers/pdlp_bridge.h | 6 +++--- ortools/math_opt/solvers/pdlp_solver.h | 6 +++--- ortools/math_opt/solvers/xpress/g_xpress.h | 6 +++--- ortools/math_opt/solvers/xpress_solver.h | 6 +++--- ortools/math_opt/storage/atomic_constraint_storage.h | 6 +++--- ortools/math_opt/storage/atomic_constraints_v2.h | 6 +++--- ortools/math_opt/storage/iterators.h | 6 +++--- ortools/math_opt/storage/linear_constraint_storage.h | 6 +++--- ortools/math_opt/storage/linear_expression_data.h | 6 +++--- ortools/math_opt/storage/model_storage.h | 6 +++--- ortools/math_opt/storage/model_storage_item.h | 6 +++--- ortools/math_opt/storage/model_storage_types.h | 6 +++--- ortools/math_opt/storage/model_storage_v2.h | 6 +++--- ortools/math_opt/storage/objective_storage.h | 6 +++--- ortools/math_opt/storage/range.h | 6 +++--- ortools/math_opt/storage/sparse_coefficient_map.h | 6 +++--- ortools/math_opt/storage/sparse_matrix.h | 6 +++--- ortools/math_opt/storage/update_trackers.h | 6 +++--- ortools/math_opt/storage/variable_storage.h | 6 +++--- ortools/math_opt/testing/param_name.h | 6 +++--- ortools/math_opt/testing/stream.h | 6 +++--- ortools/math_opt/tools/file_format_flags.h | 6 +++--- ortools/math_opt/validators/bounds_and_status_validator.h | 6 +++--- ortools/math_opt/validators/callback_validator.h | 6 +++--- ortools/math_opt/validators/ids_validator.h | 6 +++--- .../math_opt/validators/infeasible_subsystem_validator.h | 6 +++--- ortools/math_opt/validators/linear_expression_validator.h | 6 +++--- ortools/math_opt/validators/model_parameters_validator.h | 6 +++--- ortools/math_opt/validators/model_validator.h | 6 +++--- ortools/math_opt/validators/result_validator.h | 6 +++--- ortools/math_opt/validators/scalar_validator.h | 6 +++--- ortools/math_opt/validators/solution_validator.h | 6 +++--- ortools/math_opt/validators/solve_parameters_validator.h | 6 +++--- ortools/math_opt/validators/solve_stats_validator.h | 6 +++--- ortools/math_opt/validators/sparse_matrix_validator.h | 6 +++--- ortools/math_opt/validators/sparse_vector_validator.h | 6 +++--- ortools/math_opt/validators/termination_validator.h | 6 +++--- ortools/packing/arc_flow_builder.h | 6 +++--- ortools/packing/arc_flow_solver.h | 6 +++--- ortools/packing/binpacking_2d_parser.h | 6 +++--- ortools/packing/vector_bin_packing_parser.h | 6 +++--- ortools/port/file.h | 6 +++--- ortools/port/os.h | 6 +++--- ortools/port/proto_utils.h | 6 +++--- ortools/port/scoped_std_stream_capture.h | 6 +++--- ortools/port/sysinfo.h | 6 +++--- ortools/routing/parsers/carp_parser.h | 6 +++--- ortools/routing/parsers/cvrptw_lib.h | 6 +++--- ortools/routing/parsers/dow_parser.h | 6 +++--- ortools/routing/parsers/lilim_parser.h | 6 +++--- ortools/routing/parsers/nearp_parser.h | 6 +++--- ortools/routing/parsers/pdtsp_parser.h | 6 +++--- ortools/routing/parsers/simple_graph.h | 6 +++--- ortools/routing/parsers/solomon_parser.h | 6 +++--- ortools/routing/parsers/solution_serializer.h | 6 +++--- ortools/routing/parsers/tsplib_parser.h | 6 +++--- ortools/routing/parsers/tsptw_parser.h | 6 +++--- ortools/sat/2d_distances_propagator.h | 6 +++--- ortools/sat/2d_mandatory_overlap_propagator.h | 6 +++--- ortools/sat/2d_orthogonal_packing.h | 6 +++--- ortools/sat/2d_orthogonal_packing_testing.h | 6 +++--- ortools/sat/2d_packing_brute_force.h | 6 +++--- ortools/sat/2d_rectangle_presolve.h | 6 +++--- ortools/sat/2d_try_edge_propagator.h | 6 +++--- ortools/sat/all_different.h | 6 +++--- ortools/sat/boolean_problem.h | 6 +++--- ortools/sat/c_api/cp_solver_c.h | 6 +++--- ortools/sat/circuit.h | 6 +++--- ortools/sat/clause.h | 6 +++--- ortools/sat/combine_solutions.h | 6 +++--- ortools/sat/constraint_violation.h | 6 +++--- ortools/sat/container.h | 6 +++--- ortools/sat/cp_constraints.h | 6 +++--- ortools/sat/cp_model.h | 6 +++--- ortools/sat/cp_model_checker.h | 6 +++--- ortools/sat/cp_model_copy.h | 6 +++--- ortools/sat/cp_model_expand.h | 6 +++--- ortools/sat/cp_model_lns.h | 6 +++--- ortools/sat/cp_model_loader.h | 6 +++--- ortools/sat/cp_model_mapping.h | 6 +++--- ortools/sat/cp_model_postsolve.h | 6 +++--- ortools/sat/cp_model_presolve.h | 6 +++--- ortools/sat/cp_model_search.h | 6 +++--- ortools/sat/cp_model_solver.h | 6 +++--- ortools/sat/cp_model_solver_helpers.h | 6 +++--- ortools/sat/cp_model_symmetries.h | 6 +++--- ortools/sat/cp_model_table.h | 6 +++--- ortools/sat/cp_model_test_utils.h | 6 +++--- ortools/sat/cp_model_utils.h | 6 +++--- ortools/sat/cumulative.h | 6 +++--- ortools/sat/cumulative_energy.h | 6 +++--- ortools/sat/cuts.h | 6 +++--- ortools/sat/diffn.h | 6 +++--- ortools/sat/diffn_cuts.h | 6 +++--- ortools/sat/diffn_util.h | 6 +++--- ortools/sat/diophantine.h | 6 +++--- ortools/sat/disjunctive.h | 6 +++--- ortools/sat/drat_checker.h | 6 +++--- ortools/sat/drat_proof_handler.h | 6 +++--- ortools/sat/drat_writer.h | 6 +++--- ortools/sat/encoding.h | 6 +++--- ortools/sat/enforcement.h | 6 +++--- ortools/sat/enforcement_helper.h | 6 +++--- ortools/sat/feasibility_jump.h | 6 +++--- ortools/sat/feasibility_pump.h | 6 +++--- ortools/sat/implied_bounds.h | 6 +++--- ortools/sat/inclusion.h | 6 +++--- ortools/sat/integer.h | 6 +++--- ortools/sat/integer_base.h | 6 +++--- ortools/sat/integer_expr.h | 6 +++--- ortools/sat/integer_search.h | 6 +++--- ortools/sat/intervals.h | 6 +++--- ortools/sat/lb_tree_search.h | 6 +++--- ortools/sat/linear_constraint.h | 6 +++--- ortools/sat/linear_constraint_manager.h | 6 +++--- ortools/sat/linear_model.h | 6 +++--- ortools/sat/linear_programming_constraint.h | 6 +++--- ortools/sat/linear_propagation.h | 6 +++--- ortools/sat/linear_relaxation.h | 6 +++--- ortools/sat/lp_utils.h | 6 +++--- ortools/sat/lrat_checker.h | 6 +++--- ortools/sat/max_hs.h | 6 +++--- ortools/sat/model.h | 6 +++--- ortools/sat/no_overlap_2d_helper.h | 6 +++--- ortools/sat/old_precedences_propagator.h | 6 +++--- ortools/sat/opb_reader.h | 6 +++--- ortools/sat/optimization.h | 6 +++--- ortools/sat/parameters_validation.h | 6 +++--- ortools/sat/pb_constraint.h | 6 +++--- ortools/sat/precedences.h | 6 +++--- ortools/sat/presolve_context.h | 6 +++--- ortools/sat/presolve_util.h | 6 +++--- ortools/sat/primary_variables.h | 6 +++--- ortools/sat/probing.h | 6 +++--- ortools/sat/pseudo_costs.h | 6 +++--- ortools/sat/python/linear_expr.h | 6 +++--- ortools/sat/python/linear_expr_doc.h | 6 +++--- ortools/sat/python/wrappers.h | 6 +++--- ortools/sat/restart.h | 6 +++--- ortools/sat/rins.h | 6 +++--- ortools/sat/routing_cuts.h | 6 +++--- ortools/sat/sat_base.h | 6 +++--- ortools/sat/sat_cnf_reader.h | 6 +++--- ortools/sat/sat_decision.h | 6 +++--- ortools/sat/sat_inprocessing.h | 6 +++--- ortools/sat/sat_solver.h | 6 +++--- ortools/sat/scheduling_cuts.h | 6 +++--- ortools/sat/scheduling_helpers.h | 6 +++--- ortools/sat/shaving_solver.h | 6 +++--- ortools/sat/simplification.h | 6 +++--- ortools/sat/solution_crush.h | 6 +++--- ortools/sat/stat_tables.h | 6 +++--- ortools/sat/subsolver.h | 6 +++--- ortools/sat/swig_helper.h | 6 +++--- ortools/sat/symmetry.h | 6 +++--- ortools/sat/symmetry_util.h | 6 +++--- ortools/sat/synchronization.h | 6 +++--- ortools/sat/table.h | 6 +++--- ortools/sat/timetable.h | 6 +++--- ortools/sat/timetable_edgefinding.h | 6 +++--- ortools/sat/util.h | 6 +++--- ortools/sat/var_domination.h | 6 +++--- ortools/sat/work_assignment.h | 6 +++--- ortools/sat/zero_half_cuts.h | 6 +++--- ortools/scheduling/jobshop_scheduling_parser.h | 6 +++--- ortools/scheduling/rcpsp_parser.h | 6 +++--- ortools/set_cover/assignment.h | 6 +++--- ortools/set_cover/base_types.h | 6 +++--- ortools/set_cover/capacity_invariant.h | 6 +++--- ortools/set_cover/capacity_model.h | 6 +++--- ortools/set_cover/samples/bin_packing.h | 6 +++--- ortools/set_cover/set_cover_cft.h | 6 +++--- ortools/set_cover/set_cover_heuristics.h | 6 +++--- ortools/set_cover/set_cover_invariant.h | 6 +++--- ortools/set_cover/set_cover_lagrangian.h | 6 +++--- ortools/set_cover/set_cover_mip.h | 6 +++--- ortools/set_cover/set_cover_model.h | 6 +++--- ortools/set_cover/set_cover_reader.h | 6 +++--- ortools/set_cover/set_cover_submodel.h | 6 +++--- ortools/set_cover/set_cover_views.h | 6 +++--- ortools/set_cover/views.h | 6 +++--- ortools/third_party_solvers/dynamic_library.h | 6 +++--- ortools/util/adaptative_parameter_value.h | 6 +++--- ortools/util/affine_relation.h | 6 +++--- ortools/util/aligned_memory.h | 6 +++--- ortools/util/aligned_memory_internal.h | 6 +++--- ortools/util/bitset.h | 6 +++--- ortools/util/cached_log.h | 6 +++--- ortools/util/dense_set.h | 6 +++--- ortools/util/file_util.h | 6 +++--- ortools/util/filelineiter.h | 6 +++--- ortools/util/fixed_shape_binary_tree.h | 6 +++--- ortools/util/flat_matrix.h | 6 +++--- ortools/util/fp_roundtrip_conv.h | 6 +++--- ortools/util/fp_roundtrip_conv_testing.h | 6 +++--- ortools/util/fp_utils.h | 6 +++--- ortools/util/functions_swig_helpers.h | 6 +++--- ortools/util/functions_swig_test_helpers.h | 6 +++--- ortools/util/integer_pq.h | 6 +++--- ortools/util/lazy_mutable_copy.h | 6 +++--- ortools/util/logging.h | 6 +++--- ortools/util/monoid_operation_tree.h | 6 +++--- ortools/util/parse_proto.h | 6 +++--- ortools/util/permutation.h | 6 +++--- ortools/util/piecewise_linear_function.h | 6 +++--- ortools/util/proto_tools.h | 6 +++--- ortools/util/python/py_solve_interrupter.h | 6 +++--- ortools/util/python/py_solve_interrupter_testing.h | 6 +++--- ortools/util/python/sorted_interval_list_doc.h | 6 +++--- ortools/util/qap_reader.h | 6 +++--- ortools/util/random_engine.h | 6 +++--- ortools/util/range_minimum_query.h | 6 +++--- ortools/util/range_query_function.h | 6 +++--- ortools/util/rational_approximation.h | 6 +++--- ortools/util/return_macros.h | 6 +++--- ortools/util/rev.h | 6 +++--- ortools/util/running_stat.h | 6 +++--- ortools/util/saturated_arithmetic.h | 6 +++--- ortools/util/scheduling.h | 6 +++--- ortools/util/sigint.h | 6 +++--- ortools/util/solve_interrupter.h | 6 +++--- ortools/util/sort.h | 6 +++--- ortools/util/sorted_interval_list.h | 6 +++--- ortools/util/stats.h | 6 +++--- ortools/util/status_macros.h | 6 +++--- ortools/util/string_array.h | 6 +++--- ortools/util/string_util.h | 6 +++--- ortools/util/strong_integers.h | 6 +++--- ortools/util/testing_utils.h | 6 +++--- ortools/util/time_limit.h | 6 +++--- ortools/util/tuple_set.h | 6 +++--- ortools/util/vector_or_function.h | 6 +++--- ortools/util/vector_sum.h | 6 +++--- ortools/util/vector_sum_internal.h | 6 +++--- ortools/util/zvector.h | 6 +++--- 571 files changed, 1713 insertions(+), 1713 deletions(-) diff --git a/examples/cpp/course_scheduling.h b/examples/cpp/course_scheduling.h index 7f20b2b3d1..cc8247f0b6 100644 --- a/examples/cpp/course_scheduling.h +++ b/examples/cpp/course_scheduling.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_EXAMPLES_COURSE_SCHEDULING_H_ -#define OR_TOOLS_EXAMPLES_COURSE_SCHEDULING_H_ +#ifndef ORTOOLS_EXAMPLES_COURSE_SCHEDULING_H_ +#define ORTOOLS_EXAMPLES_COURSE_SCHEDULING_H_ #include #include @@ -83,4 +83,4 @@ class CourseSchedulingSolver { } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_COURSE_SCHEDULING_H_ +#endif // ORTOOLS_EXAMPLES_COURSE_SCHEDULING_H_ diff --git a/examples/cpp/fap_model_printer.h b/examples/cpp/fap_model_printer.h index badb8b98da..8daa293049 100644 --- a/examples/cpp/fap_model_printer.h +++ b/examples/cpp/fap_model_printer.h @@ -14,8 +14,8 @@ // Prints a model of Frequency Assignment Problem. // Format: http://www.inra.fr/mia/T/schiex/Doc/CELAR.shtml#synt -#ifndef OR_TOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ -#define OR_TOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ +#ifndef ORTOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ +#define ORTOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ #include #include @@ -51,4 +51,4 @@ class FapModelPrinter { }; } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ +#endif // ORTOOLS_EXAMPLES_FAP_MODEL_PRINTER_H_ diff --git a/examples/cpp/fap_parser.h b/examples/cpp/fap_parser.h index 53f6805446..66e9f1706e 100644 --- a/examples/cpp/fap_parser.h +++ b/examples/cpp/fap_parser.h @@ -14,8 +14,8 @@ // Reading and parsing the data of Frequency Assignment Problem // Format: http://www.inra.fr/mia/T/schiex/Doc/CELAR.shtml#synt -#ifndef OR_TOOLS_EXAMPLES_FAP_PARSER_H_ -#define OR_TOOLS_EXAMPLES_FAP_PARSER_H_ +#ifndef ORTOOLS_EXAMPLES_FAP_PARSER_H_ +#define ORTOOLS_EXAMPLES_FAP_PARSER_H_ #include #include @@ -230,4 +230,4 @@ void ParseInstance(const std::string& data_directory, bool find_components, std::string* objective, std::vector* frequencies, absl::flat_hash_map* components); } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_FAP_PARSER_H_ +#endif // ORTOOLS_EXAMPLES_FAP_PARSER_H_ diff --git a/examples/cpp/fap_utilities.h b/examples/cpp/fap_utilities.h index 8ac3bfc55d..e95384c143 100644 --- a/examples/cpp/fap_utilities.h +++ b/examples/cpp/fap_utilities.h @@ -13,8 +13,8 @@ // Utilities used by frequency_assignment_problem.cc. -#ifndef OR_TOOLS_EXAMPLES_FAP_UTILITIES_H_ -#define OR_TOOLS_EXAMPLES_FAP_UTILITIES_H_ +#ifndef ORTOOLS_EXAMPLES_FAP_UTILITIES_H_ +#define ORTOOLS_EXAMPLES_FAP_UTILITIES_H_ #include #include @@ -66,4 +66,4 @@ void PrintResultsSoft(SolutionCollector* collector, absl::Span key_from_index); } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_FAP_UTILITIES_H_ +#endif // ORTOOLS_EXAMPLES_FAP_UTILITIES_H_ diff --git a/examples/cpp/parse_dimacs_assignment.h b/examples/cpp/parse_dimacs_assignment.h index 5ed0336b27..69cbb08512 100644 --- a/examples/cpp/parse_dimacs_assignment.h +++ b/examples/cpp/parse_dimacs_assignment.h @@ -15,8 +15,8 @@ // http://lpsolve.sourceforge.net/5.5/DIMACS_asn.htm // -#ifndef OR_TOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ -#define OR_TOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ +#ifndef ORTOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ +#define ORTOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ #include #include @@ -252,4 +252,4 @@ LinearSumAssignment* DimacsAssignmentParser::Parse( } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ +#endif // ORTOOLS_EXAMPLES_PARSE_DIMACS_ASSIGNMENT_H_ diff --git a/examples/cpp/print_dimacs_assignment.h b/examples/cpp/print_dimacs_assignment.h index 14c5758765..fbaf2e36f1 100644 --- a/examples/cpp/print_dimacs_assignment.h +++ b/examples/cpp/print_dimacs_assignment.h @@ -14,8 +14,8 @@ // Function for outputting an assignment problem in DIMACS format: // http://lpsolve.sourceforge.net/5.5/DIMACS_asn.htm // -#ifndef OR_TOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ -#define OR_TOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ +#ifndef ORTOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ +#define ORTOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ #include #include @@ -60,4 +60,4 @@ void PrintDimacsAssignmentProblem( } // namespace operations_research -#endif // OR_TOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ +#endif // ORTOOLS_EXAMPLES_PRINT_DIMACS_ASSIGNMENT_H_ diff --git a/ortools/algorithms/adjustable_k_ary_heap.h b/ortools/algorithms/adjustable_k_ary_heap.h index bca6f0a80f..7768ace30c 100644 --- a/ortools/algorithms/adjustable_k_ary_heap.h +++ b/ortools/algorithms/adjustable_k_ary_heap.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ -#define OR_TOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ +#ifndef ORTOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ +#define ORTOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ #include #include @@ -309,4 +309,4 @@ class AdjustableKAryHeap { const Index kNonExistent = -1; }; -#endif // OR_TOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ +#endif // ORTOOLS_ALGORITHMS_ADJUSTABLE_K_ARY_HEAP_H_ diff --git a/ortools/algorithms/binary_indexed_tree.h b/ortools/algorithms/binary_indexed_tree.h index 09f4fa82a6..3762968386 100644 --- a/ortools/algorithms/binary_indexed_tree.h +++ b/ortools/algorithms/binary_indexed_tree.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ -#define OR_TOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ +#ifndef ORTOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ +#define ORTOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ #include @@ -68,4 +68,4 @@ class BinaryIndexedTree { } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ +#endif // ORTOOLS_ALGORITHMS_BINARY_INDEXED_TREE_H_ diff --git a/ortools/algorithms/binary_search.h b/ortools/algorithms/binary_search.h index 27e818158a..4421c011ce 100644 --- a/ortools/algorithms/binary_search.h +++ b/ortools/algorithms/binary_search.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_BINARY_SEARCH_H_ -#define OR_TOOLS_ALGORITHMS_BINARY_SEARCH_H_ +#ifndef ORTOOLS_ALGORITHMS_BINARY_SEARCH_H_ +#define ORTOOLS_ALGORITHMS_BINARY_SEARCH_H_ #include #include @@ -344,4 +344,4 @@ std::pair ConvexMinimum(bool is_to_the_right, } } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_BINARY_SEARCH_H_ +#endif // ORTOOLS_ALGORITHMS_BINARY_SEARCH_H_ diff --git a/ortools/algorithms/dense_doubly_linked_list.h b/ortools/algorithms/dense_doubly_linked_list.h index 64ab4fb221..9de76ac57a 100644 --- a/ortools/algorithms/dense_doubly_linked_list.h +++ b/ortools/algorithms/dense_doubly_linked_list.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ -#define OR_TOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ +#ifndef ORTOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ +#define ORTOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ #include @@ -94,4 +94,4 @@ DenseDoublyLinkedList::DenseDoublyLinkedList(const T& elements) } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ +#endif // ORTOOLS_ALGORITHMS_DENSE_DOUBLY_LINKED_LIST_H_ diff --git a/ortools/algorithms/duplicate_remover.h b/ortools/algorithms/duplicate_remover.h index ffaea846ae..94600085b1 100644 --- a/ortools/algorithms/duplicate_remover.h +++ b/ortools/algorithms/duplicate_remover.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ -#define OR_TOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ +#ifndef ORTOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ +#define ORTOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ #include #include @@ -139,4 +139,4 @@ inline void DenseIntDuplicateRemover::Truncate( } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ +#endif // ORTOOLS_ALGORITHMS_DUPLICATE_REMOVER_H_ diff --git a/ortools/algorithms/dynamic_partition.h b/ortools/algorithms/dynamic_partition.h index 6c4cfcac89..b5b2e631d4 100644 --- a/ortools/algorithms/dynamic_partition.h +++ b/ortools/algorithms/dynamic_partition.h @@ -27,8 +27,8 @@ // code is responsible for using this class properly. A few DCHECKs() will help // catch bugs, though. -#ifndef OR_TOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ -#define OR_TOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ +#ifndef ORTOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ +#define ORTOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ #include #include @@ -401,4 +401,4 @@ inline std::vector> SimpleDynamicPartition::GetParts( } } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ +#endif // ORTOOLS_ALGORITHMS_DYNAMIC_PARTITION_H_ diff --git a/ortools/algorithms/dynamic_permutation.h b/ortools/algorithms/dynamic_permutation.h index bb784aeb91..3087038b8e 100644 --- a/ortools/algorithms/dynamic_permutation.h +++ b/ortools/algorithms/dynamic_permutation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ -#define OR_TOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ +#ifndef ORTOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ +#define ORTOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ #include #include // TODO(user): remove when no longer used. @@ -132,4 +132,4 @@ inline int DynamicPermutation::RootOf(int i) const { } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ +#endif // ORTOOLS_ALGORITHMS_DYNAMIC_PERMUTATION_H_ diff --git a/ortools/algorithms/find_graph_symmetries.h b/ortools/algorithms/find_graph_symmetries.h index f3e7cdfc71..b8d8b19ed1 100644 --- a/ortools/algorithms/find_graph_symmetries.h +++ b/ortools/algorithms/find_graph_symmetries.h @@ -21,8 +21,8 @@ // // See the comments on the class below for more details. -#ifndef OR_TOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ -#define OR_TOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ +#ifndef ORTOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ +#define ORTOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ #include #include @@ -353,4 +353,4 @@ void LocalBfs(const ::util::StaticGraph& graph, int source, } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ +#endif // ORTOOLS_ALGORITHMS_FIND_GRAPH_SYMMETRIES_H_ diff --git a/ortools/algorithms/hungarian.h b/ortools/algorithms/hungarian.h index 5ae49fbbae..4cc943bdfe 100644 --- a/ortools/algorithms/hungarian.h +++ b/ortools/algorithms/hungarian.h @@ -19,8 +19,8 @@ // The code also enables computing a maximum assignment by changing the // input matrix. -#ifndef OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ -#define OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ +#ifndef ORTOOLS_ALGORITHMS_HUNGARIAN_H_ +#define ORTOOLS_ALGORITHMS_HUNGARIAN_H_ #include @@ -43,4 +43,4 @@ void MaximizeLinearAssignment( } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_HUNGARIAN_H_ +#endif // ORTOOLS_ALGORITHMS_HUNGARIAN_H_ diff --git a/ortools/algorithms/knapsack_solver.h b/ortools/algorithms/knapsack_solver.h index 16dde0d125..034ce4f7f8 100644 --- a/ortools/algorithms/knapsack_solver.h +++ b/ortools/algorithms/knapsack_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ -#define OR_TOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ +#ifndef ORTOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ +#define ORTOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ #include #include @@ -718,4 +718,4 @@ class KnapsackGenericSolver : public BaseKnapsackSolver { #endif // SWIG } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ +#endif // ORTOOLS_ALGORITHMS_KNAPSACK_SOLVER_H_ diff --git a/ortools/algorithms/n_choose_k.h b/ortools/algorithms/n_choose_k.h index 0ea01e7d05..328708ccfd 100644 --- a/ortools/algorithms/n_choose_k.h +++ b/ortools/algorithms/n_choose_k.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_N_CHOOSE_K_H_ -#define OR_TOOLS_ALGORITHMS_N_CHOOSE_K_H_ +#ifndef ORTOOLS_ALGORITHMS_N_CHOOSE_K_H_ +#define ORTOOLS_ALGORITHMS_N_CHOOSE_K_H_ #include @@ -32,4 +32,4 @@ namespace operations_research { absl::StatusOr NChooseK(int64_t n, int64_t k); } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_N_CHOOSE_K_H_ +#endif // ORTOOLS_ALGORITHMS_N_CHOOSE_K_H_ diff --git a/ortools/algorithms/python/knapsack_solver_doc.h b/ortools/algorithms/python/knapsack_solver_doc.h index 0edc67c4e0..ed48fe4a55 100644 --- a/ortools/algorithms/python/knapsack_solver_doc.h +++ b/ortools/algorithms/python/knapsack_solver_doc.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ -#define OR_TOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ +#ifndef ORTOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ +#define ORTOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ /* This file contains docstrings for use in the Python bindings. @@ -298,4 +298,4 @@ static const char* __doc_operations_research_KnapsackState_is_in_2 = #pragma GCC diagnostic pop #endif -#endif // OR_TOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ +#endif // ORTOOLS_ALGORITHMS_PYTHON_KNAPSACK_SOLVER_DOC_H_ diff --git a/ortools/algorithms/radix_sort.h b/ortools/algorithms/radix_sort.h index a0c1663252..97de5be27c 100644 --- a/ortools/algorithms/radix_sort.h +++ b/ortools/algorithms/radix_sort.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_RADIX_SORT_H_ -#define OR_TOOLS_ALGORITHMS_RADIX_SORT_H_ +#ifndef ORTOOLS_ALGORITHMS_RADIX_SORT_H_ +#define ORTOOLS_ALGORITHMS_RADIX_SORT_H_ // This can be MUCH faster than std::sort() on numerical arrays (int32_t, float, // int64_t, double, ..), when the size is ≥8k: @@ -348,4 +348,4 @@ void RadixSort(absl::Span values, int num_bits) { } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_RADIX_SORT_H_ +#endif // ORTOOLS_ALGORITHMS_RADIX_SORT_H_ diff --git a/ortools/algorithms/space_saving_most_frequent.h b/ortools/algorithms/space_saving_most_frequent.h index c3dc1674f9..e7c180e434 100644 --- a/ortools/algorithms/space_saving_most_frequent.h +++ b/ortools/algorithms/space_saving_most_frequent.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ -#define OR_TOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ +#ifndef ORTOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ +#define ORTOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ #include #include @@ -505,4 +505,4 @@ class DoubleLinkedList { } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ +#endif // ORTOOLS_ALGORITHMS_SPACE_SAVING_MOST_FREQUENT_H_ diff --git a/ortools/algorithms/sparse_permutation.h b/ortools/algorithms/sparse_permutation.h index f58ac8bd09..e8e8a06475 100644 --- a/ortools/algorithms/sparse_permutation.h +++ b/ortools/algorithms/sparse_permutation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ -#define OR_TOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ +#ifndef ORTOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ +#define ORTOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ #include #include @@ -157,4 +157,4 @@ void SparsePermutation::ApplyToDenseCollection(Collection& span) const { } // namespace operations_research -#endif // OR_TOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ +#endif // ORTOOLS_ALGORITHMS_SPARSE_PERMUTATION_H_ diff --git a/ortools/base/accurate_sum.h b/ortools/base/accurate_sum.h index 2fddf86530..8e2a090eaf 100644 --- a/ortools/base/accurate_sum.h +++ b/ortools/base/accurate_sum.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_ACCURATE_SUM_H_ -#define OR_TOOLS_BASE_ACCURATE_SUM_H_ +#ifndef ORTOOLS_BASE_ACCURATE_SUM_H_ +#define ORTOOLS_BASE_ACCURATE_SUM_H_ namespace operations_research { @@ -43,4 +43,4 @@ class AccurateSum { } // namespace operations_research -#endif // OR_TOOLS_BASE_ACCURATE_SUM_H_ +#endif // ORTOOLS_BASE_ACCURATE_SUM_H_ diff --git a/ortools/base/adjustable_priority_queue-inl.h b/ortools/base/adjustable_priority_queue-inl.h index 7e952074ec..58fbb9997e 100644 --- a/ortools/base/adjustable_priority_queue-inl.h +++ b/ortools/base/adjustable_priority_queue-inl.h @@ -11,9 +11,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ -#define OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ +#ifndef ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ +#define ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ #include "ortools/base/adjustable_priority_queue.h" // IWYU pragma: export -#endif // OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ +#endif // ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_INL_H_ diff --git a/ortools/base/adjustable_priority_queue.h b/ortools/base/adjustable_priority_queue.h index 66c44331da..52370f1553 100644 --- a/ortools/base/adjustable_priority_queue.h +++ b/ortools/base/adjustable_priority_queue.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ -#define OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ +#ifndef ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ +#define ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ #include @@ -189,4 +189,4 @@ class AdjustablePriorityQueue { std::vector elems_; }; -#endif // OR_TOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ +#endif // ORTOOLS_BASE_ADJUSTABLE_PRIORITY_QUEUE_H_ diff --git a/ortools/base/array.h b/ortools/base/array.h index b073da0e1a..a3794886ae 100644 --- a/ortools/base/array.h +++ b/ortools/base/array.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_ARRAY_H_ -#define OR_TOOLS_BASE_ARRAY_H_ +#ifndef ORTOOLS_BASE_ARRAY_H_ +#define ORTOOLS_BASE_ARRAY_H_ //! @todo(corentinl) std::to_array available in C++20. @@ -53,4 +53,4 @@ constexpr std::array, N> to_array(T (&&ts)[N]) { } // namespace gtl -#endif // OR_TOOLS_BASE_ARRAY_H_ +#endif // ORTOOLS_BASE_ARRAY_H_ diff --git a/ortools/base/base_export.h b/ortools/base/base_export.h index fd779a4a29..76094449d6 100644 --- a/ortools/base/base_export.h +++ b/ortools/base/base_export.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_BASE_EXPORT_H_ -#define OR_TOOLS_BASE_BASE_EXPORT_H_ +#ifndef ORTOOLS_BASE_BASE_EXPORT_H_ +#define ORTOOLS_BASE_BASE_EXPORT_H_ #if defined(_MSC_VER) && defined(OR_BUILD_DLL) // Annoying stuff for windows -- makes sure clients can import these functions @@ -27,4 +27,4 @@ #define OR_DLL #endif -#endif // OR_TOOLS_BASE_BASE_EXPORT_H_ +#endif // ORTOOLS_BASE_BASE_EXPORT_H_ diff --git a/ortools/base/bitmap.h b/ortools/base/bitmap.h index 08afec0a5a..388d6edcba 100644 --- a/ortools/base/bitmap.h +++ b/ortools/base/bitmap.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_BITMAP_H_ -#define OR_TOOLS_BASE_BITMAP_H_ +#ifndef ORTOOLS_BASE_BITMAP_H_ +#define ORTOOLS_BASE_BITMAP_H_ #include #include @@ -84,4 +84,4 @@ class Bitmap { } // namespace operations_research -#endif // OR_TOOLS_BASE_BITMAP_H_ +#endif // ORTOOLS_BASE_BITMAP_H_ diff --git a/ortools/base/commandlineflags.h b/ortools/base/commandlineflags.h index a70a48e4a1..b331f92266 100644 --- a/ortools/base/commandlineflags.h +++ b/ortools/base/commandlineflags.h @@ -11,12 +11,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_COMMANDLINEFLAGS_H_ -#define OR_TOOLS_BASE_COMMANDLINEFLAGS_H_ +#ifndef ORTOOLS_BASE_COMMANDLINEFLAGS_H_ +#define ORTOOLS_BASE_COMMANDLINEFLAGS_H_ #include "absl/flags/declare.h" #include "absl/flags/flag.h" #include "absl/flags/parse.h" #include "absl/flags/usage.h" -#endif // OR_TOOLS_BASE_COMMANDLINEFLAGS_H_ +#endif // ORTOOLS_BASE_COMMANDLINEFLAGS_H_ diff --git a/ortools/base/constant_divisor.h b/ortools/base/constant_divisor.h index 36629cf617..0148309394 100644 --- a/ortools/base/constant_divisor.h +++ b/ortools/base/constant_divisor.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_CONSTANT_DIVISOR_H_ -#define OR_TOOLS_BASE_CONSTANT_DIVISOR_H_ +#ifndef ORTOOLS_BASE_CONSTANT_DIVISOR_H_ +#define ORTOOLS_BASE_CONSTANT_DIVISOR_H_ // Provides faster division in situations where the same divisor is used // repeatedly but is not known at compile time. For example, a hash table might @@ -191,4 +191,4 @@ class ConstantDivisor } // namespace math } // namespace util -#endif // OR_TOOLS_BASE_CONSTANT_DIVISOR_H_ +#endif // ORTOOLS_BASE_CONSTANT_DIVISOR_H_ diff --git a/ortools/base/container_logging.h b/ortools/base/container_logging.h index 63fb113781..a7cd828499 100644 --- a/ortools/base/container_logging.h +++ b/ortools/base/container_logging.h @@ -31,8 +31,8 @@ // // See below for further details on policies. -#ifndef OR_TOOLS_BASE_CONTAINER_LOGGING_H_ -#define OR_TOOLS_BASE_CONTAINER_LOGGING_H_ +#ifndef ORTOOLS_BASE_CONTAINER_LOGGING_H_ +#define ORTOOLS_BASE_CONTAINER_LOGGING_H_ #include #include @@ -299,4 +299,4 @@ detail::EnumLogger LogEnum(E e) { } // namespace gtl -#endif // OR_TOOLS_BASE_CONTAINER_LOGGING_H_ +#endif // ORTOOLS_BASE_CONTAINER_LOGGING_H_ diff --git a/ortools/base/dump_vars.h b/ortools/base/dump_vars.h index 96536fcefe..e3a899382b 100644 --- a/ortools/base/dump_vars.h +++ b/ortools/base/dump_vars.h @@ -36,8 +36,8 @@ // LOG(INFO) << DUMP_VARS_WITH_BINDINGS((x, y, z), x, *y, f(z), other_var); // } -#ifndef OR_TOOLS_BASE_DUMP_VARS_H_ -#define OR_TOOLS_BASE_DUMP_VARS_H_ +#ifndef ORTOOLS_BASE_DUMP_VARS_H_ +#define ORTOOLS_BASE_DUMP_VARS_H_ #include #include @@ -230,4 +230,4 @@ Dump make_dump_vars(DumpNames&& names, F f) { } // namespace internal_dump_vars } // namespace operations_research::base -#endif // OR_TOOLS_BASE_DUMP_VARS_H_ +#endif // ORTOOLS_BASE_DUMP_VARS_H_ diff --git a/ortools/base/filesystem.h b/ortools/base/filesystem.h index bc3327db39..0683a3841e 100644 --- a/ortools/base/filesystem.h +++ b/ortools/base/filesystem.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_FILESYSTEM_H_ -#define OR_TOOLS_BASE_FILESYSTEM_H_ +#ifndef ORTOOLS_BASE_FILESYSTEM_H_ +#define ORTOOLS_BASE_FILESYSTEM_H_ #include #include @@ -33,4 +33,4 @@ absl::Status RecursivelyCreateDir(std::string_view path, } // namespace file -#endif // OR_TOOLS_BASE_FILESYSTEM_H_ +#endif // ORTOOLS_BASE_FILESYSTEM_H_ diff --git a/ortools/base/fuzztest.h b/ortools/base/fuzztest.h index 00d868a937..f6b3294f5e 100644 --- a/ortools/base/fuzztest.h +++ b/ortools/base/fuzztest.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_FUZZTEST_H_ -#define OR_TOOLS_BASE_FUZZTEST_H_ +#ifndef ORTOOLS_BASE_FUZZTEST_H_ +#define ORTOOLS_BASE_FUZZTEST_H_ #include #include @@ -48,4 +48,4 @@ std::vector> ReadFilesFromDirectory( } // namespace fuzztest -#endif // OR_TOOLS_BASE_FUZZTEST_H_ +#endif // ORTOOLS_BASE_FUZZTEST_H_ diff --git a/ortools/base/gmock.h b/ortools/base/gmock.h index 0005f17ed8..9003a2b413 100644 --- a/ortools/base/gmock.h +++ b/ortools/base/gmock.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_GMOCK_H_ -#define OR_TOOLS_BASE_GMOCK_H_ +#ifndef ORTOOLS_BASE_GMOCK_H_ +#define ORTOOLS_BASE_GMOCK_H_ #include "absl/status/status_matchers.h" #include "ortools/base/gmock.h" @@ -59,4 +59,4 @@ using ::absl_testing::StatusIs; ASSERT_TRUE(statusor.ok()) << statusor.status(); \ lhs = std::move(statusor.value()) -#endif // OR_TOOLS_BASE_GMOCK_H_ +#endif // ORTOOLS_BASE_GMOCK_H_ diff --git a/ortools/base/gzipfile.h b/ortools/base/gzipfile.h index 7cf891f974..86b66cc57f 100644 --- a/ortools/base/gzipfile.h +++ b/ortools/base/gzipfile.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_GZIPFILE_H_ -#define OR_TOOLS_BASE_GZIPFILE_H_ +#ifndef ORTOOLS_BASE_GZIPFILE_H_ +#define ORTOOLS_BASE_GZIPFILE_H_ #include // for Z_DEFAULT_COMPRESSION @@ -70,4 +70,4 @@ inline File* GZipFileReader(absl::string_view name, File* compressed_file, AppendedStreams::kConcatenateStreams); } -#endif // OR_TOOLS_BASE_GZIPFILE_H_ +#endif // ORTOOLS_BASE_GZIPFILE_H_ diff --git a/ortools/base/gzipstring.h b/ortools/base/gzipstring.h index f62d9e021c..5fa288ce44 100644 --- a/ortools/base/gzipstring.h +++ b/ortools/base/gzipstring.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_GZIPSTRING_H_ -#define OR_TOOLS_BASE_GZIPSTRING_H_ +#ifndef ORTOOLS_BASE_GZIPSTRING_H_ +#define ORTOOLS_BASE_GZIPSTRING_H_ #include #include @@ -106,4 +106,4 @@ inline bool GzipString(absl::string_view uncompressed, return true; } -#endif // OR_TOOLS_BASE_GZIPSTRING_H_ +#endif // ORTOOLS_BASE_GZIPSTRING_H_ diff --git a/ortools/base/hash.h b/ortools/base/hash.h index 14c36ec68e..996458d71d 100644 --- a/ortools/base/hash.h +++ b/ortools/base/hash.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_HASH_H_ -#define OR_TOOLS_BASE_HASH_H_ +#ifndef ORTOOLS_BASE_HASH_H_ +#define ORTOOLS_BASE_HASH_H_ #include #include @@ -83,4 +83,4 @@ inline uint64_t Hash(uint64_t a, uint64_t b, uint64_t c) { } // namespace util_hash -#endif // OR_TOOLS_BASE_HASH_H_ +#endif // ORTOOLS_BASE_HASH_H_ diff --git a/ortools/base/helpers.h b/ortools/base/helpers.h index 72c3cb959a..3f7ac6fbde 100644 --- a/ortools/base/helpers.h +++ b/ortools/base/helpers.h @@ -11,9 +11,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_HELPERS_H_ -#define OR_TOOLS_BASE_HELPERS_H_ +#ifndef ORTOOLS_BASE_HELPERS_H_ +#define ORTOOLS_BASE_HELPERS_H_ #include "ortools/base/file.h" // IWYU pragma: export -#endif // OR_TOOLS_BASE_HELPERS_H_ +#endif // ORTOOLS_BASE_HELPERS_H_ diff --git a/ortools/base/init_google.h b/ortools/base/init_google.h index 00f3e03918..0923b68286 100644 --- a/ortools/base/init_google.h +++ b/ortools/base/init_google.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_INIT_GOOGLE_H_ -#define OR_TOOLS_BASE_INIT_GOOGLE_H_ +#ifndef ORTOOLS_BASE_INIT_GOOGLE_H_ +#define ORTOOLS_BASE_INIT_GOOGLE_H_ #include "absl/flags/declare.h" // IWYU pragma: keep #include "absl/flags/flag.h" // IWYU pragma: keep @@ -57,4 +57,4 @@ inline void InitGoogle(const char* usage, int* argc, char*** argv, InitGoogle(absl::NullSafeStringView(usage), argc, argv, deprecated); } -#endif // OR_TOOLS_BASE_INIT_GOOGLE_H_ +#endif // ORTOOLS_BASE_INIT_GOOGLE_H_ diff --git a/ortools/base/int_type.h b/ortools/base/int_type.h index eb5927e64b..afdbfeca07 100644 --- a/ortools/base/int_type.h +++ b/ortools/base/int_type.h @@ -142,8 +142,8 @@ // void GetGlobalDoc(int64_t global) { ... // GetGlobalDoc(local.value()); <-- Compiles fine. -#ifndef OR_TOOLS_BASE_INT_TYPE_H_ -#define OR_TOOLS_BASE_INT_TYPE_H_ +#ifndef ORTOOLS_BASE_INT_TYPE_H_ +#define ORTOOLS_BASE_INT_TYPE_H_ #include @@ -356,4 +356,4 @@ INT_TYPE_COMPARISON_OP(>=); // NOLINT } // namespace gtl -#endif // OR_TOOLS_BASE_INT_TYPE_H_ +#endif // ORTOOLS_BASE_INT_TYPE_H_ diff --git a/ortools/base/iterator_adaptors.h b/ortools/base/iterator_adaptors.h index 2eb757acb2..6d997d4dea 100644 --- a/ortools/base/iterator_adaptors.h +++ b/ortools/base/iterator_adaptors.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_ITERATOR_ADAPTORS_H_ -#define OR_TOOLS_BASE_ITERATOR_ADAPTORS_H_ +#ifndef ORTOOLS_BASE_ITERATOR_ADAPTORS_H_ +#define ORTOOLS_BASE_ITERATOR_ADAPTORS_H_ namespace gtl { @@ -36,4 +36,4 @@ ReverseView reversed_view(const Container& c) { } // namespace gtl -#endif // OR_TOOLS_BASE_ITERATOR_ADAPTORS_H_ +#endif // ORTOOLS_BASE_ITERATOR_ADAPTORS_H_ diff --git a/ortools/base/linked_hash_map.h b/ortools/base/linked_hash_map.h index abc2fefd3b..d48e9a6443 100644 --- a/ortools/base/linked_hash_map.h +++ b/ortools/base/linked_hash_map.h @@ -24,8 +24,8 @@ // // This class supports heterogeneous lookups. // -#ifndef OR_TOOLS_BASE_LINKED_HASH_MAP_H_ -#define OR_TOOLS_BASE_LINKED_HASH_MAP_H_ +#ifndef ORTOOLS_BASE_LINKED_HASH_MAP_H_ +#define ORTOOLS_BASE_LINKED_HASH_MAP_H_ #include #include @@ -633,4 +633,4 @@ class linked_hash_map { } // namespace gtl -#endif // OR_TOOLS_BASE_LINKED_HASH_MAP_H_ +#endif // ORTOOLS_BASE_LINKED_HASH_MAP_H_ diff --git a/ortools/base/logging.h b/ortools/base/logging.h index 6209c440a4..6caaf49253 100644 --- a/ortools/base/logging.h +++ b/ortools/base/logging.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_LOGGING_H_ -#define OR_TOOLS_BASE_LOGGING_H_ +#ifndef ORTOOLS_BASE_LOGGING_H_ +#define ORTOOLS_BASE_LOGGING_H_ #include "absl/base/log_severity.h" // IWYU pragma: export #include "absl/base/macros.h" // IWYU pragma: export @@ -41,4 +41,4 @@ void FixFlagsAndEnvironmentForSwig(); } // namespace operations_research -#endif // OR_TOOLS_BASE_LOGGING_H_ +#endif // ORTOOLS_BASE_LOGGING_H_ diff --git a/ortools/base/map_util.h b/ortools/base/map_util.h index ac634146e9..28a0148e8e 100644 --- a/ortools/base/map_util.h +++ b/ortools/base/map_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MAP_UTIL_H_ -#define OR_TOOLS_BASE_MAP_UTIL_H_ +#ifndef ORTOOLS_BASE_MAP_UTIL_H_ +#define ORTOOLS_BASE_MAP_UTIL_H_ #include @@ -248,4 +248,4 @@ typename Collection::value_type::second_type& LookupOrInsert( return ret.first->second; } } // namespace gtl -#endif // OR_TOOLS_BASE_MAP_UTIL_H_ +#endif // ORTOOLS_BASE_MAP_UTIL_H_ diff --git a/ortools/base/mathutil.h b/ortools/base/mathutil.h index dce9c77ee4..d46acca40e 100644 --- a/ortools/base/mathutil.h +++ b/ortools/base/mathutil.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MATHUTIL_H_ -#define OR_TOOLS_BASE_MATHUTIL_H_ +#ifndef ORTOOLS_BASE_MATHUTIL_H_ +#define ORTOOLS_BASE_MATHUTIL_H_ #include @@ -324,4 +324,4 @@ class MathUtil { }; } // namespace operations_research -#endif // OR_TOOLS_BASE_MATHUTIL_H_ +#endif // ORTOOLS_BASE_MATHUTIL_H_ diff --git a/ortools/base/memfile.h b/ortools/base/memfile.h index cbbed11279..f48d665169 100644 --- a/ortools/base/memfile.h +++ b/ortools/base/memfile.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MEMFILE_H_ -#define OR_TOOLS_BASE_MEMFILE_H_ +#ifndef ORTOOLS_BASE_MEMFILE_H_ +#define ORTOOLS_BASE_MEMFILE_H_ #include #include @@ -37,4 +37,4 @@ class RegisteredMemFile { const std::string filename_; }; -#endif // OR_TOOLS_BASE_MEMFILE_H_ +#endif // ORTOOLS_BASE_MEMFILE_H_ diff --git a/ortools/base/memutil.h b/ortools/base/memutil.h index f9a8accbad..a9d8331e75 100644 --- a/ortools/base/memutil.h +++ b/ortools/base/memutil.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MEMUTIL_H_ -#define OR_TOOLS_BASE_MEMUTIL_H_ +#ifndef ORTOOLS_BASE_MEMUTIL_H_ +#define ORTOOLS_BASE_MEMUTIL_H_ #include #include @@ -26,4 +26,4 @@ inline char* memdup(const char* s, size_t slen) { } } // namespace strings -#endif // OR_TOOLS_BASE_MEMUTIL_H_ +#endif // ORTOOLS_BASE_MEMUTIL_H_ diff --git a/ortools/base/murmur.h b/ortools/base/murmur.h index d89df5d65f..0c4873a40a 100644 --- a/ortools/base/murmur.h +++ b/ortools/base/murmur.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MURMUR_H_ -#define OR_TOOLS_BASE_MURMUR_H_ +#ifndef ORTOOLS_BASE_MURMUR_H_ +#define ORTOOLS_BASE_MURMUR_H_ #include #include @@ -28,4 +28,4 @@ inline uint64_t MurmurHash64(const char* buf, const size_t len) { } } // namespace util_hash -#endif // OR_TOOLS_BASE_MURMUR_H_ +#endif // ORTOOLS_BASE_MURMUR_H_ diff --git a/ortools/base/mutable_memfile.h b/ortools/base/mutable_memfile.h index 748f74108c..7e7d5c8884 100644 --- a/ortools/base/mutable_memfile.h +++ b/ortools/base/mutable_memfile.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_MUTABLE_MEMFILE_H_ -#define OR_TOOLS_BASE_MUTABLE_MEMFILE_H_ +#ifndef ORTOOLS_BASE_MUTABLE_MEMFILE_H_ +#define ORTOOLS_BASE_MUTABLE_MEMFILE_H_ #include #include @@ -27,4 +27,4 @@ class RegisteredMutableMemFile { const std::string filename_; }; -#endif // OR_TOOLS_BASE_MUTABLE_MEMFILE_H_ +#endif // ORTOOLS_BASE_MUTABLE_MEMFILE_H_ diff --git a/ortools/base/numbers.h b/ortools/base/numbers.h index 90d60471b3..b230f77c89 100644 --- a/ortools/base/numbers.h +++ b/ortools/base/numbers.h @@ -13,8 +13,8 @@ // Convert strings to numbers or numbers to strings. -#ifndef OR_TOOLS_BASE_NUMBERS_H_ -#define OR_TOOLS_BASE_NUMBERS_H_ +#ifndef ORTOOLS_BASE_NUMBERS_H_ +#define ORTOOLS_BASE_NUMBERS_H_ #include #include @@ -131,4 +131,4 @@ inline bool ParseLeadingBoolValue(std::string_view str, bool deflt) { } } // namespace strings -#endif // OR_TOOLS_BASE_NUMBERS_H_ +#endif // ORTOOLS_BASE_NUMBERS_H_ diff --git a/ortools/base/options.h b/ortools/base/options.h index 740c72d23d..50a9fda8bd 100644 --- a/ortools/base/options.h +++ b/ortools/base/options.h @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_OPTIONS_H_ -#define OR_TOOLS_BASE_OPTIONS_H_ +#ifndef ORTOOLS_BASE_OPTIONS_H_ +#define ORTOOLS_BASE_OPTIONS_H_ -#endif // OR_TOOLS_BASE_OPTIONS_H_ +#endif // ORTOOLS_BASE_OPTIONS_H_ diff --git a/ortools/base/parse_test_proto.h b/ortools/base/parse_test_proto.h index a654315cee..5f1a243d06 100644 --- a/ortools/base/parse_test_proto.h +++ b/ortools/base/parse_test_proto.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_PARSE_TEST_PROTO_H_ -#define OR_TOOLS_BASE_PARSE_TEST_PROTO_H_ +#ifndef ORTOOLS_BASE_PARSE_TEST_PROTO_H_ +#define ORTOOLS_BASE_PARSE_TEST_PROTO_H_ #include #include @@ -50,4 +50,4 @@ inline parse_proto_internal::ParseProtoHelper ParseTestProto( } // namespace google::protobuf::contrib::parse_proto -#endif // OR_TOOLS_BASE_PARSE_TEST_PROTO_H_ +#endif // ORTOOLS_BASE_PARSE_TEST_PROTO_H_ diff --git a/ortools/base/path.h b/ortools/base/path.h index b4d5d8c3e5..f8b287e7b0 100644 --- a/ortools/base/path.h +++ b/ortools/base/path.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_PATH_H_ -#define OR_TOOLS_BASE_PATH_H_ +#ifndef ORTOOLS_BASE_PATH_H_ +#define ORTOOLS_BASE_PATH_H_ #include #include @@ -170,4 +170,4 @@ std::string CollapseSlashes(absl::string_view path); } // namespace file -#endif // OR_TOOLS_BASE_PATH_H_ +#endif // ORTOOLS_BASE_PATH_H_ diff --git a/ortools/base/proto_enum_utils.h b/ortools/base/proto_enum_utils.h index 4c7dc30ba8..c46b38e2f9 100644 --- a/ortools/base/proto_enum_utils.h +++ b/ortools/base/proto_enum_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_PROTO_ENUM_UTILS_H_ -#define OR_TOOLS_BASE_PROTO_ENUM_UTILS_H_ +#ifndef ORTOOLS_BASE_PROTO_ENUM_UTILS_H_ +#define ORTOOLS_BASE_PROTO_ENUM_UTILS_H_ // Provides utility functions that help with handling Protocol Buffer enums. // @@ -216,4 +216,4 @@ class RepeatedEnumView { } // namespace google::protobuf::contrib::utils -#endif // OR_TOOLS_BASE_PROTO_ENUM_UTILS_H_ +#endif // ORTOOLS_BASE_PROTO_ENUM_UTILS_H_ diff --git a/ortools/base/protobuf_util.h b/ortools/base/protobuf_util.h index a964f1eeb4..08300d0483 100644 --- a/ortools/base/protobuf_util.h +++ b/ortools/base/protobuf_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_PROTOBUF_UTIL_H_ -#define OR_TOOLS_BASE_PROTOBUF_UTIL_H_ +#ifndef ORTOOLS_BASE_PROTOBUF_UTIL_H_ +#define ORTOOLS_BASE_PROTOBUF_UTIL_H_ #include #include @@ -109,4 +109,4 @@ T ParseTextOrDie(const std::string& input) { } // namespace google::protobuf::util -#endif // OR_TOOLS_BASE_PROTOBUF_UTIL_H_ +#endif // ORTOOLS_BASE_PROTOBUF_UTIL_H_ diff --git a/ortools/base/protoutil.h b/ortools/base/protoutil.h index b746b1de7a..658be897c6 100644 --- a/ortools/base/protoutil.h +++ b/ortools/base/protoutil.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_PROTOUTIL_H_ -#define OR_TOOLS_BASE_PROTOUTIL_H_ +#ifndef ORTOOLS_BASE_PROTOUTIL_H_ +#define ORTOOLS_BASE_PROTOUTIL_H_ #include @@ -46,4 +46,4 @@ inline ::absl::StatusOr DecodeGoogleApiProto( } // namespace util_time -#endif // OR_TOOLS_BASE_PROTOUTIL_H_ +#endif // ORTOOLS_BASE_PROTOUTIL_H_ diff --git a/ortools/base/python-swig.h b/ortools/base/python-swig.h index b5134df498..edc8236f86 100644 --- a/ortools/base/python-swig.h +++ b/ortools/base/python-swig.h @@ -22,8 +22,8 @@ // It has no XXX_H_ guard because SWIG protects all %include'd files to be used // only once. -#ifndef OR_TOOLS_BASE_PYTHON_SWIG_H_ -#define OR_TOOLS_BASE_PYTHON_SWIG_H_ +#ifndef ORTOOLS_BASE_PYTHON_SWIG_H_ +#define ORTOOLS_BASE_PYTHON_SWIG_H_ #if PY_VERSION_HEX >= 0x03030000 // Py3.3+ // Use Py3 unicode str() type for C++ strings. @@ -361,4 +361,4 @@ inline PyObject* vector_output_wrap_helper(const std::vector* vec, #define PyInt_FromLong PyLong_FromLong #endif -#endif // OR_TOOLS_BASE_PYTHON_SWIG_H_ +#endif // ORTOOLS_BASE_PYTHON_SWIG_H_ diff --git a/ortools/base/recordio.h b/ortools/base/recordio.h index af7bcbb787..d5a0479e50 100644 --- a/ortools/base/recordio.h +++ b/ortools/base/recordio.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_RECORDIO_H_ -#define OR_TOOLS_BASE_RECORDIO_H_ +#ifndef ORTOOLS_BASE_RECORDIO_H_ +#define ORTOOLS_BASE_RECORDIO_H_ #include #include @@ -133,4 +133,4 @@ class RecordReader { }; } // namespace recordio -#endif // OR_TOOLS_BASE_RECORDIO_H_ +#endif // ORTOOLS_BASE_RECORDIO_H_ diff --git a/ortools/base/source_location.h b/ortools/base/source_location.h index 7d7fbf656a..d6c6c237bc 100644 --- a/ortools/base/source_location.h +++ b/ortools/base/source_location.h @@ -25,8 +25,8 @@ // omit that argument, and the default will automatically capture the location // of the callsite. -#ifndef OR_TOOLS_BASE_SOURCE_LOCATION_H_ -#define OR_TOOLS_BASE_SOURCE_LOCATION_H_ +#ifndef ORTOOLS_BASE_SOURCE_LOCATION_H_ +#define ORTOOLS_BASE_SOURCE_LOCATION_H_ #include @@ -140,4 +140,4 @@ class SourceLocation { #define ABSL_LOC_CURRENT_DEFAULT_ARG #endif -#endif // OR_TOOLS_BASE_SOURCE_LOCATION_H_ +#endif // ORTOOLS_BASE_SOURCE_LOCATION_H_ diff --git a/ortools/base/status_builder.h b/ortools/base/status_builder.h index 9bf33502e9..f23c817888 100644 --- a/ortools/base/status_builder.h +++ b/ortools/base/status_builder.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_STATUS_BUILDER_H_ -#define OR_TOOLS_BASE_STATUS_BUILDER_H_ +#ifndef ORTOOLS_BASE_STATUS_BUILDER_H_ +#define ORTOOLS_BASE_STATUS_BUILDER_H_ #include #include @@ -142,4 +142,4 @@ inline StatusBuilder UnknownErrorBuilder() { } // namespace util -#endif // OR_TOOLS_BASE_STATUS_BUILDER_H_ +#endif // ORTOOLS_BASE_STATUS_BUILDER_H_ diff --git a/ortools/base/status_macros.h b/ortools/base/status_macros.h index e85520983b..7a79df9267 100644 --- a/ortools/base/status_macros.h +++ b/ortools/base/status_macros.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_STATUS_MACROS_H_ -#define OR_TOOLS_BASE_STATUS_MACROS_H_ +#ifndef ORTOOLS_BASE_STATUS_MACROS_H_ +#define ORTOOLS_BASE_STATUS_MACROS_H_ #include "absl/status/status.h" #include "absl/status/statusor.h" @@ -69,4 +69,4 @@ #define STATUS_MACROS_IMPL_CONCAT_INNER_(x, y) x##y #define STATUS_MACROS_IMPL_CONCAT_(x, y) STATUS_MACROS_IMPL_CONCAT_INNER_(x, y) -#endif // OR_TOOLS_BASE_STATUS_MACROS_H_ +#endif // ORTOOLS_BASE_STATUS_MACROS_H_ diff --git a/ortools/base/stl_util.h b/ortools/base/stl_util.h index 57bb82cbf3..2c9e58d55d 100644 --- a/ortools/base/stl_util.h +++ b/ortools/base/stl_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_STL_UTIL_H_ -#define OR_TOOLS_BASE_STL_UTIL_H_ +#ifndef ORTOOLS_BASE_STL_UTIL_H_ +#define ORTOOLS_BASE_STL_UTIL_H_ #include #include @@ -892,4 +892,4 @@ bool SortedContainersHaveIntersection(const In1& in1, const In2& in2) { } } // namespace gtl -#endif // OR_TOOLS_BASE_STL_UTIL_H_ +#endif // ORTOOLS_BASE_STL_UTIL_H_ diff --git a/ortools/base/strong_int.h b/ortools/base/strong_int.h index 0ab60afc73..d94e271cd3 100644 --- a/ortools/base/strong_int.h +++ b/ortools/base/strong_int.h @@ -117,8 +117,8 @@ // NullStrongIntValidator: Do no validation. This should be entirely // optimized away by the compiler. -#ifndef OR_TOOLS_BASE_STRONG_INT_H_ -#define OR_TOOLS_BASE_STRONG_INT_H_ +#ifndef ORTOOLS_BASE_STRONG_INT_H_ +#define ORTOOLS_BASE_STRONG_INT_H_ #include #include @@ -750,4 +750,4 @@ struct numeric_limits< } // namespace std -#endif // OR_TOOLS_BASE_STRONG_INT_H_ +#endif // ORTOOLS_BASE_STRONG_INT_H_ diff --git a/ortools/base/strong_vector.h b/ortools/base/strong_vector.h index 591a19b6fa..cf81d97b4f 100644 --- a/ortools/base/strong_vector.h +++ b/ortools/base/strong_vector.h @@ -58,8 +58,8 @@ // indexable by the index type in debug mode. In optimized mode the // user can CHECK IsValidSize() when deemed important. -#ifndef OR_TOOLS_BASE_STRONG_VECTOR_H_ -#define OR_TOOLS_BASE_STRONG_VECTOR_H_ +#ifndef ORTOOLS_BASE_STRONG_VECTOR_H_ +#define ORTOOLS_BASE_STRONG_VECTOR_H_ #include #include @@ -333,4 +333,4 @@ class StrongVector : protected std::vector { } // namespace util_intops -#endif // OR_TOOLS_BASE_STRONG_VECTOR_H_ +#endif // ORTOOLS_BASE_STRONG_VECTOR_H_ diff --git a/ortools/base/strtoint.h b/ortools/base/strtoint.h index c278aa5819..004db82b01 100644 --- a/ortools/base/strtoint.h +++ b/ortools/base/strtoint.h @@ -38,8 +38,8 @@ // to provide the right overflow and errno behavior. // -#ifndef OR_TOOLS_BASE_STRTOINT_H_ -#define OR_TOOLS_BASE_STRTOINT_H_ +#ifndef ORTOOLS_BASE_STRTOINT_H_ +#define ORTOOLS_BASE_STRTOINT_H_ #include #include @@ -58,4 +58,4 @@ inline int64_t atoi64(absl::string_view word) { return strtoint64(word); } } // namespace operations_research -#endif // OR_TOOLS_BASE_STRTOINT_H_ +#endif // ORTOOLS_BASE_STRTOINT_H_ diff --git a/ortools/base/sysinfo.h b/ortools/base/sysinfo.h index 11dd4bf8c7..ae1d4a0cdf 100644 --- a/ortools/base/sysinfo.h +++ b/ortools/base/sysinfo.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_SYSINFO_H_ -#define OR_TOOLS_BASE_SYSINFO_H_ +#ifndef ORTOOLS_BASE_SYSINFO_H_ +#define ORTOOLS_BASE_SYSINFO_H_ #include @@ -25,4 +25,4 @@ inline int64_t MemoryUsage(int unused) { return operations_research::GetProcessMemoryUsage(); } -#endif // OR_TOOLS_BASE_SYSINFO_H_ +#endif // ORTOOLS_BASE_SYSINFO_H_ diff --git a/ortools/base/threadpool.h b/ortools/base/threadpool.h index 78130046b4..4df16a85e1 100644 --- a/ortools/base/threadpool.h +++ b/ortools/base/threadpool.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_THREADPOOL_H_ -#define OR_TOOLS_BASE_THREADPOOL_H_ +#ifndef ORTOOLS_BASE_THREADPOOL_H_ +#define ORTOOLS_BASE_THREADPOOL_H_ #include #include @@ -72,4 +72,4 @@ class ThreadPool { }; } // namespace operations_research -#endif // OR_TOOLS_BASE_THREADPOOL_H_ +#endif // ORTOOLS_BASE_THREADPOOL_H_ diff --git a/ortools/base/timer.h b/ortools/base/timer.h index 2989d58b1e..62923e8002 100644 --- a/ortools/base/timer.h +++ b/ortools/base/timer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_TIMER_H_ -#define OR_TOOLS_BASE_TIMER_H_ +#ifndef ORTOOLS_BASE_TIMER_H_ +#define ORTOOLS_BASE_TIMER_H_ #include @@ -111,4 +111,4 @@ class ScopedWallTime { // When the instance was created. WallTimer timer_; }; -#endif // OR_TOOLS_BASE_TIMER_H_ +#endif // ORTOOLS_BASE_TIMER_H_ diff --git a/ortools/base/top_n.h b/ortools/base/top_n.h index 76746571fe..8c23b61e66 100644 --- a/ortools/base/top_n.h +++ b/ortools/base/top_n.h @@ -27,8 +27,8 @@ // If n is a constant, the total storage required is a constant and the running // time is linear in p. -#ifndef OR_TOOLS_BASE_TOP_N_H_ -#define OR_TOOLS_BASE_TOP_N_H_ +#ifndef ORTOOLS_BASE_TOP_N_H_ +#define ORTOOLS_BASE_TOP_N_H_ #include @@ -324,4 +324,4 @@ void TopN::Reset() { } } // namespace gtl } // namespace operations_research -#endif // OR_TOOLS_BASE_TOP_N_H_ +#endif // ORTOOLS_BASE_TOP_N_H_ diff --git a/ortools/base/types.h b/ortools/base/types.h index 763463381f..16e16a49df 100644 --- a/ortools/base/types.h +++ b/ortools/base/types.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_TYPES_H_ -#define OR_TOOLS_BASE_TYPES_H_ +#ifndef ORTOOLS_BASE_TYPES_H_ +#define ORTOOLS_BASE_TYPES_H_ #include #include @@ -31,4 +31,4 @@ static const int32_t kint32max = INT32_MAX; static const int64_t kint64min = INT64_MIN; static const int64_t kint64max = INT64_MAX; -#endif // OR_TOOLS_BASE_TYPES_H_ +#endif // ORTOOLS_BASE_TYPES_H_ diff --git a/ortools/base/version.h b/ortools/base/version.h index 4bf5e41339..661c2d3b46 100644 --- a/ortools/base/version.h +++ b/ortools/base/version.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_VERSION_H_ -#define OR_TOOLS_BASE_VERSION_H_ +#ifndef ORTOOLS_BASE_VERSION_H_ +#define ORTOOLS_BASE_VERSION_H_ #include @@ -28,4 +28,4 @@ std::string OrToolsVersionString(); } // namespace operations_research -#endif // OR_TOOLS_BASE_VERSION_H_ +#endif // ORTOOLS_BASE_VERSION_H_ diff --git a/ortools/base/zipfile.h b/ortools/base/zipfile.h index 2623f20924..662599019c 100644 --- a/ortools/base/zipfile.h +++ b/ortools/base/zipfile.h @@ -64,8 +64,8 @@ // } // } -#ifndef OR_TOOLS_BASE_ZIPFILE_H_ -#define OR_TOOLS_BASE_ZIPFILE_H_ +#ifndef ORTOOLS_BASE_ZIPFILE_H_ +#define ORTOOLS_BASE_ZIPFILE_H_ #include #include @@ -168,4 +168,4 @@ class ZipArchive { }; // namespace zipfile -#endif // OR_TOOLS_BASE_ZIPFILE_H_ +#endif // ORTOOLS_BASE_ZIPFILE_H_ diff --git a/ortools/bop/bop_base.h b/ortools/bop/bop_base.h index 05b6426999..02ea308dc6 100644 --- a/ortools/bop/bop_base.h +++ b/ortools/bop/bop_base.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_BASE_H_ -#define OR_TOOLS_BOP_BOP_BASE_H_ +#ifndef ORTOOLS_BOP_BOP_BASE_H_ +#define ORTOOLS_BOP_BOP_BASE_H_ #include #include @@ -288,4 +288,4 @@ struct LearnedInfo { }; } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_BASE_H_ +#endif // ORTOOLS_BOP_BOP_BASE_H_ diff --git a/ortools/bop/bop_fs.h b/ortools/bop/bop_fs.h index 740efbbe63..8e143ce7f9 100644 --- a/ortools/bop/bop_fs.h +++ b/ortools/bop/bop_fs.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_FS_H_ -#define OR_TOOLS_BOP_BOP_FS_H_ +#ifndef ORTOOLS_BOP_BOP_FS_H_ +#define ORTOOLS_BOP_BOP_FS_H_ #include #include @@ -147,4 +147,4 @@ class LinearRelaxation : public BopOptimizerBase { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_FS_H_ +#endif // ORTOOLS_BOP_BOP_FS_H_ diff --git a/ortools/bop/bop_lns.h b/ortools/bop/bop_lns.h index 47742905c3..81c53aac47 100644 --- a/ortools/bop/bop_lns.h +++ b/ortools/bop/bop_lns.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_LNS_H_ -#define OR_TOOLS_BOP_BOP_LNS_H_ +#ifndef ORTOOLS_BOP_BOP_LNS_H_ +#define ORTOOLS_BOP_BOP_LNS_H_ #include #include @@ -175,4 +175,4 @@ class RelationGraphBasedNeighborhood final : public NeighborhoodGenerator { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_LNS_H_ +#endif // ORTOOLS_BOP_BOP_LNS_H_ diff --git a/ortools/bop/bop_ls.h b/ortools/bop/bop_ls.h index 4ee2d60ea2..e62b70ee70 100644 --- a/ortools/bop/bop_ls.h +++ b/ortools/bop/bop_ls.h @@ -24,8 +24,8 @@ // OneFlipConstraintRepairer, SatWrapper and LocalSearchAssignmentIterator. // They are implementation details and should not be used outside of bop_ls. -#ifndef OR_TOOLS_BOP_BOP_LS_H_ -#define OR_TOOLS_BOP_BOP_LS_H_ +#ifndef ORTOOLS_BOP_BOP_LS_H_ +#define ORTOOLS_BOP_BOP_LS_H_ #include @@ -670,4 +670,4 @@ class LocalSearchAssignmentIterator { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_LS_H_ +#endif // ORTOOLS_BOP_BOP_LS_H_ diff --git a/ortools/bop/bop_portfolio.h b/ortools/bop/bop_portfolio.h index 085ddaaf9b..2de0fa5b88 100644 --- a/ortools/bop/bop_portfolio.h +++ b/ortools/bop/bop_portfolio.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_PORTFOLIO_H_ -#define OR_TOOLS_BOP_BOP_PORTFOLIO_H_ +#ifndef ORTOOLS_BOP_BOP_PORTFOLIO_H_ +#define ORTOOLS_BOP_BOP_PORTFOLIO_H_ #include #include @@ -208,4 +208,4 @@ class OptimizerSelector { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_PORTFOLIO_H_ +#endif // ORTOOLS_BOP_BOP_PORTFOLIO_H_ diff --git a/ortools/bop/bop_solution.h b/ortools/bop/bop_solution.h index 4a30910283..d44e97a8d4 100644 --- a/ortools/bop/bop_solution.h +++ b/ortools/bop/bop_solution.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_SOLUTION_H_ -#define OR_TOOLS_BOP_BOP_SOLUTION_H_ +#ifndef ORTOOLS_BOP_BOP_SOLUTION_H_ +#define ORTOOLS_BOP_BOP_SOLUTION_H_ #include @@ -119,4 +119,4 @@ class BopSolution { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_SOLUTION_H_ +#endif // ORTOOLS_BOP_BOP_SOLUTION_H_ diff --git a/ortools/bop/bop_solver.h b/ortools/bop/bop_solver.h index dc4cd5bfdf..071801c343 100644 --- a/ortools/bop/bop_solver.h +++ b/ortools/bop/bop_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_SOLVER_H_ -#define OR_TOOLS_BOP_BOP_SOLVER_H_ +#ifndef ORTOOLS_BOP_BOP_SOLVER_H_ +#define ORTOOLS_BOP_BOP_SOLVER_H_ // Solver for Boolean Optimization Problems built on top of the SAT solver. // To optimize a problem the solver uses several optimization strategies like @@ -90,4 +90,4 @@ class BopSolver { }; } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_SOLVER_H_ +#endif // ORTOOLS_BOP_BOP_SOLVER_H_ diff --git a/ortools/bop/bop_types.h b/ortools/bop/bop_types.h index 00d2c251bc..6423d5747e 100644 --- a/ortools/bop/bop_types.h +++ b/ortools/bop/bop_types.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_TYPES_H_ -#define OR_TOOLS_BOP_BOP_TYPES_H_ +#ifndef ORTOOLS_BOP_BOP_TYPES_H_ +#define ORTOOLS_BOP_BOP_TYPES_H_ #include #include @@ -90,4 +90,4 @@ typedef util_intops::StrongVector } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_TYPES_H_ +#endif // ORTOOLS_BOP_BOP_TYPES_H_ diff --git a/ortools/bop/bop_util.h b/ortools/bop/bop_util.h index 5079fcc6ee..4d2bfe6584 100644 --- a/ortools/bop/bop_util.h +++ b/ortools/bop/bop_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_BOP_UTIL_H_ -#define OR_TOOLS_BOP_BOP_UTIL_H_ +#ifndef ORTOOLS_BOP_BOP_UTIL_H_ +#define ORTOOLS_BOP_BOP_UTIL_H_ #include @@ -86,4 +86,4 @@ class LubyAdaptiveParameterValue { }; } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_BOP_UTIL_H_ +#endif // ORTOOLS_BOP_BOP_UTIL_H_ diff --git a/ortools/bop/complete_optimizer.h b/ortools/bop/complete_optimizer.h index 292383dea8..59fe37ece0 100644 --- a/ortools/bop/complete_optimizer.h +++ b/ortools/bop/complete_optimizer.h @@ -24,8 +24,8 @@ // complete SAT solver provided that we keep running it after it has found a // first solution. This is the default behavior of the kNotGuided policy. -#ifndef OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_ -#define OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_ +#ifndef ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_ +#define ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_ #include #include @@ -80,4 +80,4 @@ class SatCoreBasedOptimizer : public BopOptimizerBase { } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_COMPLETE_OPTIMIZER_H_ +#endif // ORTOOLS_BOP_COMPLETE_OPTIMIZER_H_ diff --git a/ortools/bop/integral_solver.h b/ortools/bop/integral_solver.h index 2a0a9712bd..20171637e8 100644 --- a/ortools/bop/integral_solver.h +++ b/ortools/bop/integral_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BOP_INTEGRAL_SOLVER_H_ -#define OR_TOOLS_BOP_INTEGRAL_SOLVER_H_ +#ifndef ORTOOLS_BOP_INTEGRAL_SOLVER_H_ +#define ORTOOLS_BOP_INTEGRAL_SOLVER_H_ #include "absl/base/attributes.h" #include "ortools/bop/bop_parameters.pb.h" @@ -78,4 +78,4 @@ class IntegralSolver { }; } // namespace bop } // namespace operations_research -#endif // OR_TOOLS_BOP_INTEGRAL_SOLVER_H_ +#endif // ORTOOLS_BOP_INTEGRAL_SOLVER_H_ diff --git a/ortools/constraint_solver/constraint_solver.h b/ortools/constraint_solver/constraint_solver.h index a897823a2e..1cbf5475e9 100644 --- a/ortools/constraint_solver/constraint_solver.h +++ b/ortools/constraint_solver/constraint_solver.h @@ -65,8 +65,8 @@ /// /// -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ #include #include @@ -5913,4 +5913,4 @@ class SolutionPool : public BaseObject { }; } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVER_H_ diff --git a/ortools/constraint_solver/constraint_solveri.h b/ortools/constraint_solver/constraint_solveri.h index 9c8e08cbe3..333f5195ce 100644 --- a/ortools/constraint_solver/constraint_solveri.h +++ b/ortools/constraint_solver/constraint_solveri.h @@ -46,8 +46,8 @@ /// - SearchLog, the root class of all periodic outputs during search. /// - ModelCache, A caching layer to avoid creating twice the same object. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ #include #include @@ -4362,4 +4362,4 @@ std::vector ToInt64Vector(const std::vector& input); } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_CONSTRAINT_SOLVERI_H_ diff --git a/ortools/constraint_solver/java/javawrapcp_util.h b/ortools/constraint_solver/java/javawrapcp_util.h index e6d9bbe9af..9e708ef841 100644 --- a/ortools/constraint_solver/java/javawrapcp_util.h +++ b/ortools/constraint_solver/java/javawrapcp_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ namespace operations_research { // This class is visible in the API. @@ -24,4 +24,4 @@ class LocalSearchPhaseParameters { }; } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_JAVA_JAVAWRAPCP_UTIL_H_ diff --git a/ortools/constraint_solver/routing.h b/ortools/constraint_solver/routing.h index 43ad67b484..a2edcc54b5 100644 --- a/ortools/constraint_solver/routing.h +++ b/ortools/constraint_solver/routing.h @@ -153,8 +153,8 @@ /// Keywords: Vehicle Routing, Traveling Salesman Problem, TSP, VRP, CVRPTW, /// PDP. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_H_ #include #include @@ -3689,4 +3689,4 @@ bool SolveModelWithSat(RoutingModel* model, RoutingSearchStats* search_stats, Assignment* solution); } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_H_ diff --git a/ortools/constraint_solver/routing_breaks.h b/ortools/constraint_solver/routing_breaks.h index 541a17275d..7b2ed79ee3 100644 --- a/ortools/constraint_solver/routing_breaks.h +++ b/ortools/constraint_solver/routing_breaks.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ #include #include @@ -107,4 +107,4 @@ class BreakPropagator { } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_BREAKS_H_ diff --git a/ortools/constraint_solver/routing_constraints.h b/ortools/constraint_solver/routing_constraints.h index 0b18efc86c..b12912d7d3 100644 --- a/ortools/constraint_solver/routing_constraints.h +++ b/ortools/constraint_solver/routing_constraints.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ #include #include @@ -63,4 +63,4 @@ Constraint* MakeNumActiveVehiclesCapacityConstraint( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_CONSTRAINTS_H_ diff --git a/ortools/constraint_solver/routing_decision_builders.h b/ortools/constraint_solver/routing_decision_builders.h index 5c75a59dcf..f7ba230a34 100644 --- a/ortools/constraint_solver/routing_decision_builders.h +++ b/ortools/constraint_solver/routing_decision_builders.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ #include #include @@ -100,4 +100,4 @@ class FinalizerVariables { }; } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_DECISION_BUILDERS_H_ diff --git a/ortools/constraint_solver/routing_filter_committables.h b/ortools/constraint_solver/routing_filter_committables.h index f4c3e02274..6e2ff9de0f 100644 --- a/ortools/constraint_solver/routing_filter_committables.h +++ b/ortools/constraint_solver/routing_filter_committables.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ #include #include @@ -642,4 +642,4 @@ class PrePostVisitValues { } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTER_COMMITTABLES_H_ diff --git a/ortools/constraint_solver/routing_filters.h b/ortools/constraint_solver/routing_filters.h index 410041c7c8..c15701c3f7 100644 --- a/ortools/constraint_solver/routing_filters.h +++ b/ortools/constraint_solver/routing_filters.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ #include #include @@ -1034,4 +1034,4 @@ class BasePathFilter : public IntVarLocalSearchFilter { } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_FILTERS_H_ diff --git a/ortools/constraint_solver/routing_ils.h b/ortools/constraint_solver/routing_ils.h index 0115586356..8d5800d18a 100644 --- a/ortools/constraint_solver/routing_ils.h +++ b/ortools/constraint_solver/routing_ils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ #include #include @@ -280,4 +280,4 @@ std::pair GetSimulatedAnnealingTemperatures( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_H_ diff --git a/ortools/constraint_solver/routing_ils_parameters_utils.h b/ortools/constraint_solver/routing_ils_parameters_utils.h index 0dc3b58e02..384ba577aa 100644 --- a/ortools/constraint_solver/routing_ils_parameters_utils.h +++ b/ortools/constraint_solver/routing_ils_parameters_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ #include #include @@ -37,4 +37,4 @@ std::string GetRecreateParametersName( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_ILS_PARAMETERS_UTILS_H_ diff --git a/ortools/constraint_solver/routing_index_manager.h b/ortools/constraint_solver/routing_index_manager.h index 2549a7af1c..754e4eb8ba 100644 --- a/ortools/constraint_solver/routing_index_manager.h +++ b/ortools/constraint_solver/routing_index_manager.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ #include #include @@ -119,4 +119,4 @@ class OR_DLL RoutingIndexManager { } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INDEX_MANAGER_H_ diff --git a/ortools/constraint_solver/routing_insertion_lns.h b/ortools/constraint_solver/routing_insertion_lns.h index 39e909f496..c3dfef8c0a 100644 --- a/ortools/constraint_solver/routing_insertion_lns.h +++ b/ortools/constraint_solver/routing_insertion_lns.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ #include #include @@ -284,4 +284,4 @@ class RelocateVisitTypeOperator : public FilteredHeuristicLocalSearchOperator { } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_INSERTION_LNS_H_ diff --git a/ortools/constraint_solver/routing_lp_scheduling.h b/ortools/constraint_solver/routing_lp_scheduling.h index f5b3c6951f..d6ff8527ce 100644 --- a/ortools/constraint_solver/routing_lp_scheduling.h +++ b/ortools/constraint_solver/routing_lp_scheduling.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ #include #include @@ -1176,4 +1176,4 @@ std::vector SlopeAndYInterceptToConvexityRegions( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_LP_SCHEDULING_H_ diff --git a/ortools/constraint_solver/routing_neighborhoods.h b/ortools/constraint_solver/routing_neighborhoods.h index bd31c5d588..d1bd97075a 100644 --- a/ortools/constraint_solver/routing_neighborhoods.h +++ b/ortools/constraint_solver/routing_neighborhoods.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ #include @@ -951,4 +951,4 @@ LocalSearchOperator* MakeExchangeSubtrip( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_NEIGHBORHOODS_H_ diff --git a/ortools/constraint_solver/routing_parameters.h b/ortools/constraint_solver/routing_parameters.h index 4afad16b72..7ff7033fba 100644 --- a/ortools/constraint_solver/routing_parameters.h +++ b/ortools/constraint_solver/routing_parameters.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ #include #include @@ -37,4 +37,4 @@ std::vector FindErrorsInRoutingSearchParameters( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_H_ diff --git a/ortools/constraint_solver/routing_parameters_utils.h b/ortools/constraint_solver/routing_parameters_utils.h index 78ce84f9c6..f407192555 100644 --- a/ortools/constraint_solver/routing_parameters_utils.h +++ b/ortools/constraint_solver/routing_parameters_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ #include @@ -34,4 +34,4 @@ void DisableAllLocalSearchOperators( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_PARAMETERS_UTILS_H_ diff --git a/ortools/constraint_solver/routing_search.h b/ortools/constraint_solver/routing_search.h index 85f51b274a..e8943801a8 100644 --- a/ortools/constraint_solver/routing_search.h +++ b/ortools/constraint_solver/routing_search.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ #include #include @@ -1537,4 +1537,4 @@ DecisionBuilder* MakeAllUnperformed(RoutingModel* model); } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_SEARCH_H_ diff --git a/ortools/constraint_solver/routing_types.h b/ortools/constraint_solver/routing_types.h index 3ed75d8548..2313bb05a0 100644 --- a/ortools/constraint_solver/routing_types.h +++ b/ortools/constraint_solver/routing_types.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_TYPES_H_ -#define OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_TYPES_H_ +#ifndef ORTOOLS_CONSTRAINT_SOLVER_ROUTING_TYPES_H_ +#define ORTOOLS_CONSTRAINT_SOLVER_ROUTING_TYPES_H_ #include #include @@ -54,4 +54,4 @@ typedef std::function #include @@ -91,4 +91,4 @@ bool FindMostExpensiveArcsOnRoute( } // namespace operations_research -#endif // OR_TOOLS_CONSTRAINT_SOLVER_ROUTING_UTILS_H_ +#endif // ORTOOLS_CONSTRAINT_SOLVER_ROUTING_UTILS_H_ diff --git a/ortools/glop/basis_representation.h b/ortools/glop/basis_representation.h index 00c87b06a7..db114dcb3c 100644 --- a/ortools/glop/basis_representation.h +++ b/ortools/glop/basis_representation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_BASIS_REPRESENTATION_H_ -#define OR_TOOLS_GLOP_BASIS_REPRESENTATION_H_ +#ifndef ORTOOLS_GLOP_BASIS_REPRESENTATION_H_ +#define ORTOOLS_GLOP_BASIS_REPRESENTATION_H_ #include #include @@ -402,4 +402,4 @@ class BasisFactorization { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_BASIS_REPRESENTATION_H_ +#endif // ORTOOLS_GLOP_BASIS_REPRESENTATION_H_ diff --git a/ortools/glop/dual_edge_norms.h b/ortools/glop/dual_edge_norms.h index e0cbc7d795..0f4fa48bad 100644 --- a/ortools/glop/dual_edge_norms.h +++ b/ortools/glop/dual_edge_norms.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_DUAL_EDGE_NORMS_H_ -#define OR_TOOLS_GLOP_DUAL_EDGE_NORMS_H_ +#ifndef ORTOOLS_GLOP_DUAL_EDGE_NORMS_H_ +#define ORTOOLS_GLOP_DUAL_EDGE_NORMS_H_ #include @@ -149,4 +149,4 @@ class DualEdgeNorms { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_DUAL_EDGE_NORMS_H_ +#endif // ORTOOLS_GLOP_DUAL_EDGE_NORMS_H_ diff --git a/ortools/glop/entering_variable.h b/ortools/glop/entering_variable.h index b8604dae1c..db1fde5991 100644 --- a/ortools/glop/entering_variable.h +++ b/ortools/glop/entering_variable.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_ENTERING_VARIABLE_H_ -#define OR_TOOLS_GLOP_ENTERING_VARIABLE_H_ +#ifndef ORTOOLS_GLOP_ENTERING_VARIABLE_H_ +#define ORTOOLS_GLOP_ENTERING_VARIABLE_H_ #include #include @@ -145,4 +145,4 @@ class EnteringVariable { } // namespace operations_research #endif // SWIG -#endif // OR_TOOLS_GLOP_ENTERING_VARIABLE_H_ +#endif // ORTOOLS_GLOP_ENTERING_VARIABLE_H_ diff --git a/ortools/glop/initial_basis.h b/ortools/glop/initial_basis.h index 1d4267f367..e4b450cc46 100644 --- a/ortools/glop/initial_basis.h +++ b/ortools/glop/initial_basis.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_INITIAL_BASIS_H_ -#define OR_TOOLS_GLOP_INITIAL_BASIS_H_ +#ifndef ORTOOLS_GLOP_INITIAL_BASIS_H_ +#define ORTOOLS_GLOP_INITIAL_BASIS_H_ #include @@ -136,4 +136,4 @@ class InitialBasis { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_INITIAL_BASIS_H_ +#endif // ORTOOLS_GLOP_INITIAL_BASIS_H_ diff --git a/ortools/glop/lp_solver.h b/ortools/glop/lp_solver.h index 6fd116e36e..fb40fbb559 100644 --- a/ortools/glop/lp_solver.h +++ b/ortools/glop/lp_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_LP_SOLVER_H_ -#define OR_TOOLS_GLOP_LP_SOLVER_H_ +#ifndef ORTOOLS_GLOP_LP_SOLVER_H_ +#define ORTOOLS_GLOP_LP_SOLVER_H_ #include #include @@ -308,4 +308,4 @@ class LPSolver { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_LP_SOLVER_H_ +#endif // ORTOOLS_GLOP_LP_SOLVER_H_ diff --git a/ortools/glop/lu_factorization.h b/ortools/glop/lu_factorization.h index 97a026d04b..ff0765c3f8 100644 --- a/ortools/glop/lu_factorization.h +++ b/ortools/glop/lu_factorization.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_LU_FACTORIZATION_H_ -#define OR_TOOLS_GLOP_LU_FACTORIZATION_H_ +#ifndef ORTOOLS_GLOP_LU_FACTORIZATION_H_ +#define ORTOOLS_GLOP_LU_FACTORIZATION_H_ #include #include @@ -306,4 +306,4 @@ class LuFactorization { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_LU_FACTORIZATION_H_ +#endif // ORTOOLS_GLOP_LU_FACTORIZATION_H_ diff --git a/ortools/glop/markowitz.h b/ortools/glop/markowitz.h index 6e043f946a..5780b27a4d 100644 --- a/ortools/glop/markowitz.h +++ b/ortools/glop/markowitz.h @@ -70,8 +70,8 @@ // 29:1363-1381, January 2008. // - http://perso.ens-lyon.fr/~bucar/papers/kauc.pdf -#ifndef OR_TOOLS_GLOP_MARKOWITZ_H_ -#define OR_TOOLS_GLOP_MARKOWITZ_H_ +#ifndef ORTOOLS_GLOP_MARKOWITZ_H_ +#define ORTOOLS_GLOP_MARKOWITZ_H_ #include #include @@ -488,4 +488,4 @@ class Markowitz { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_MARKOWITZ_H_ +#endif // ORTOOLS_GLOP_MARKOWITZ_H_ diff --git a/ortools/glop/parameters_validation.h b/ortools/glop/parameters_validation.h index c9e52c1771..34a3a50cf6 100644 --- a/ortools/glop/parameters_validation.h +++ b/ortools/glop/parameters_validation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_PARAMETERS_VALIDATION_H_ -#define OR_TOOLS_GLOP_PARAMETERS_VALIDATION_H_ +#ifndef ORTOOLS_GLOP_PARAMETERS_VALIDATION_H_ +#define ORTOOLS_GLOP_PARAMETERS_VALIDATION_H_ #include @@ -26,4 +26,4 @@ std::string ValidateParameters(const GlopParameters& params); } // namespace operations_research::glop -#endif // OR_TOOLS_GLOP_PARAMETERS_VALIDATION_H_ +#endif // ORTOOLS_GLOP_PARAMETERS_VALIDATION_H_ diff --git a/ortools/glop/preprocessor.h b/ortools/glop/preprocessor.h index 4e77c5cdfe..f5efe72590 100644 --- a/ortools/glop/preprocessor.h +++ b/ortools/glop/preprocessor.h @@ -17,8 +17,8 @@ // E. D. Andersen, K. D. Andersen, "Presolving in linear programming.", // Mathematical Programming 71 (1995) 221-245. -#ifndef OR_TOOLS_GLOP_PREPROCESSOR_H_ -#define OR_TOOLS_GLOP_PREPROCESSOR_H_ +#ifndef ORTOOLS_GLOP_PREPROCESSOR_H_ +#define ORTOOLS_GLOP_PREPROCESSOR_H_ #include #include @@ -1063,4 +1063,4 @@ class AddSlackVariablesPreprocessor final : public Preprocessor { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_PREPROCESSOR_H_ +#endif // ORTOOLS_GLOP_PREPROCESSOR_H_ diff --git a/ortools/glop/pricing.h b/ortools/glop/pricing.h index 63a3e21772..23e1bdd80e 100644 --- a/ortools/glop/pricing.h +++ b/ortools/glop/pricing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_PRICING_H_ -#define OR_TOOLS_GLOP_PRICING_H_ +#ifndef ORTOOLS_GLOP_PRICING_H_ +#define ORTOOLS_GLOP_PRICING_H_ #include #include @@ -352,4 +352,4 @@ inline void DynamicMaximum::UpdateTopK(Index position, } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_PRICING_H_ +#endif // ORTOOLS_GLOP_PRICING_H_ diff --git a/ortools/glop/primal_edge_norms.h b/ortools/glop/primal_edge_norms.h index cfcc5c9e66..f49074507c 100644 --- a/ortools/glop/primal_edge_norms.h +++ b/ortools/glop/primal_edge_norms.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ -#define OR_TOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ +#ifndef ORTOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ +#define ORTOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ #include #include @@ -238,4 +238,4 @@ class PrimalEdgeNorms { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ +#endif // ORTOOLS_GLOP_PRIMAL_EDGE_NORMS_H_ diff --git a/ortools/glop/rank_one_update.h b/ortools/glop/rank_one_update.h index 700ee69542..dae81fd106 100644 --- a/ortools/glop/rank_one_update.h +++ b/ortools/glop/rank_one_update.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_RANK_ONE_UPDATE_H_ -#define OR_TOOLS_GLOP_RANK_ONE_UPDATE_H_ +#ifndef ORTOOLS_GLOP_RANK_ONE_UPDATE_H_ +#define ORTOOLS_GLOP_RANK_ONE_UPDATE_H_ #include @@ -252,4 +252,4 @@ class RankOneUpdateFactorization { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_RANK_ONE_UPDATE_H_ +#endif // ORTOOLS_GLOP_RANK_ONE_UPDATE_H_ diff --git a/ortools/glop/reduced_costs.h b/ortools/glop/reduced_costs.h index 4894c33a1a..c8e64ccd4c 100644 --- a/ortools/glop/reduced_costs.h +++ b/ortools/glop/reduced_costs.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_REDUCED_COSTS_H_ -#define OR_TOOLS_GLOP_REDUCED_COSTS_H_ +#ifndef ORTOOLS_GLOP_REDUCED_COSTS_H_ +#define ORTOOLS_GLOP_REDUCED_COSTS_H_ #include #include @@ -347,4 +347,4 @@ class PrimalPrices { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_REDUCED_COSTS_H_ +#endif // ORTOOLS_GLOP_REDUCED_COSTS_H_ diff --git a/ortools/glop/revised_simplex.h b/ortools/glop/revised_simplex.h index 6ca87de09b..5464123df9 100644 --- a/ortools/glop/revised_simplex.h +++ b/ortools/glop/revised_simplex.h @@ -88,8 +88,8 @@ // implementation", PhD, Paderborn, Univ., 2005. // http://digital.ub.uni-paderborn.de/hs/download/pdf/3885?originalFilename=true -#ifndef OR_TOOLS_GLOP_REVISED_SIMPLEX_H_ -#define OR_TOOLS_GLOP_REVISED_SIMPLEX_H_ +#ifndef ORTOOLS_GLOP_REVISED_SIMPLEX_H_ +#define ORTOOLS_GLOP_REVISED_SIMPLEX_H_ #include #include @@ -907,4 +907,4 @@ class RevisedSimplexDictionary { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_REVISED_SIMPLEX_H_ +#endif // ORTOOLS_GLOP_REVISED_SIMPLEX_H_ diff --git a/ortools/glop/status.h b/ortools/glop/status.h index 2cfa9c4946..c9fb07808e 100644 --- a/ortools/glop/status.h +++ b/ortools/glop/status.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_STATUS_H_ -#define OR_TOOLS_GLOP_STATUS_H_ +#ifndef ORTOOLS_GLOP_STATUS_H_ +#define ORTOOLS_GLOP_STATUS_H_ #include @@ -92,4 +92,4 @@ std::string GetErrorCodeString(Status::ErrorCode error_code); } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_STATUS_H_ +#endif // ORTOOLS_GLOP_STATUS_H_ diff --git a/ortools/glop/update_row.h b/ortools/glop/update_row.h index 8f9822a1d8..ac5fc49814 100644 --- a/ortools/glop/update_row.h +++ b/ortools/glop/update_row.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_UPDATE_ROW_H_ -#define OR_TOOLS_GLOP_UPDATE_ROW_H_ +#ifndef ORTOOLS_GLOP_UPDATE_ROW_H_ +#define ORTOOLS_GLOP_UPDATE_ROW_H_ #include #include @@ -173,4 +173,4 @@ class UpdateRow { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_UPDATE_ROW_H_ +#endif // ORTOOLS_GLOP_UPDATE_ROW_H_ diff --git a/ortools/glop/variable_values.h b/ortools/glop/variable_values.h index 12f7d24152..54f8b27aa9 100644 --- a/ortools/glop/variable_values.h +++ b/ortools/glop/variable_values.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_VARIABLE_VALUES_H_ -#define OR_TOOLS_GLOP_VARIABLE_VALUES_H_ +#ifndef ORTOOLS_GLOP_VARIABLE_VALUES_H_ +#define ORTOOLS_GLOP_VARIABLE_VALUES_H_ #include #include @@ -214,4 +214,4 @@ bool VariableValues::UpdatePrimalPhaseICosts(const Rows& rows, } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_VARIABLE_VALUES_H_ +#endif // ORTOOLS_GLOP_VARIABLE_VALUES_H_ diff --git a/ortools/glop/variables_info.h b/ortools/glop/variables_info.h index 32de503fbb..09779cf8d1 100644 --- a/ortools/glop/variables_info.h +++ b/ortools/glop/variables_info.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLOP_VARIABLES_INFO_H_ -#define OR_TOOLS_GLOP_VARIABLES_INFO_H_ +#ifndef ORTOOLS_GLOP_VARIABLES_INFO_H_ +#define ORTOOLS_GLOP_VARIABLES_INFO_H_ #include "ortools/lp_data/lp_types.h" #include "ortools/lp_data/sparse.h" @@ -251,4 +251,4 @@ class VariablesInfo { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_GLOP_VARIABLES_INFO_H_ +#endif // ORTOOLS_GLOP_VARIABLES_INFO_H_ diff --git a/ortools/glpk/glpk_computational_form.h b/ortools/glpk/glpk_computational_form.h index 4c73c10af8..896f614466 100644 --- a/ortools/glpk/glpk_computational_form.h +++ b/ortools/glpk/glpk_computational_form.h @@ -64,8 +64,8 @@ // // This logic is usually necessary when using advanced APIs that deal with // indices in the computational form. -#ifndef OR_TOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ -#define OR_TOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ +#ifndef ORTOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ +#define ORTOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ extern "C" { #include @@ -133,4 +133,4 @@ inline double ComputeFormVarUpperBound(glp_prob* const problem, } // namespace operations_research -#endif // OR_TOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ +#endif // ORTOOLS_GLPK_GLPK_COMPUTATIONAL_FORM_H_ diff --git a/ortools/glpk/glpk_env_deleter.h b/ortools/glpk/glpk_env_deleter.h index 329847bbe1..aa67572629 100644 --- a/ortools/glpk/glpk_env_deleter.h +++ b/ortools/glpk/glpk_env_deleter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GLPK_GLPK_ENV_DELETER_H_ -#define OR_TOOLS_GLPK_GLPK_ENV_DELETER_H_ +#ifndef ORTOOLS_GLPK_GLPK_ENV_DELETER_H_ +#define ORTOOLS_GLPK_GLPK_ENV_DELETER_H_ namespace operations_research { @@ -27,4 +27,4 @@ void SetupGlpkEnvAutomaticDeletion(); } // namespace operations_research -#endif // OR_TOOLS_GLPK_GLPK_ENV_DELETER_H_ +#endif // ORTOOLS_GLPK_GLPK_ENV_DELETER_H_ diff --git a/ortools/glpk/glpk_formatters.h b/ortools/glpk/glpk_formatters.h index 536ed4d53d..7fa152b536 100644 --- a/ortools/glpk/glpk_formatters.h +++ b/ortools/glpk/glpk_formatters.h @@ -12,8 +12,8 @@ // limitations under the License. // Formatting functions for GLPK constants. -#ifndef OR_TOOLS_GLPK_GLPK_FORMATTERS_H_ -#define OR_TOOLS_GLPK_GLPK_FORMATTERS_H_ +#ifndef ORTOOLS_GLPK_GLPK_FORMATTERS_H_ +#define ORTOOLS_GLPK_GLPK_FORMATTERS_H_ #include #include @@ -41,4 +41,4 @@ std::string TruncateAndQuoteGLPKName(std::string_view original_name); } // namespace operations_research -#endif // OR_TOOLS_GLPK_GLPK_FORMATTERS_H_ +#endif // ORTOOLS_GLPK_GLPK_FORMATTERS_H_ diff --git a/ortools/graph/assignment.h b/ortools/graph/assignment.h index 0965ad569b..d56dc093e4 100644 --- a/ortools/graph/assignment.h +++ b/ortools/graph/assignment.h @@ -45,8 +45,8 @@ // printf("There is an issue with the input or no perfect matching exists."); // } -#ifndef OR_TOOLS_GRAPH_ASSIGNMENT_H_ -#define OR_TOOLS_GRAPH_ASSIGNMENT_H_ +#ifndef ORTOOLS_GRAPH_ASSIGNMENT_H_ +#define ORTOOLS_GRAPH_ASSIGNMENT_H_ #include #include @@ -144,4 +144,4 @@ class SimpleLinearSumAssignment { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_ASSIGNMENT_H_ +#endif // ORTOOLS_GRAPH_ASSIGNMENT_H_ diff --git a/ortools/graph/bidirectional_dijkstra.h b/ortools/graph/bidirectional_dijkstra.h index 04d93a9e2c..9fc9ea0ed2 100644 --- a/ortools/graph/bidirectional_dijkstra.h +++ b/ortools/graph/bidirectional_dijkstra.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ -#define OR_TOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ +#ifndef ORTOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ +#define ORTOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ #include #include @@ -460,4 +460,4 @@ void BidirectionalDijkstra::PerformHalfSearch( } } // namespace operations_research -#endif // OR_TOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ +#endif // ORTOOLS_GRAPH_BIDIRECTIONAL_DIJKSTRA_H_ diff --git a/ortools/graph/bounded_dijkstra.h b/ortools/graph/bounded_dijkstra.h index 00683db3cc..718adfdb64 100644 --- a/ortools/graph/bounded_dijkstra.h +++ b/ortools/graph/bounded_dijkstra.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ -#define OR_TOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ +#ifndef ORTOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ +#define ORTOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ #include #include @@ -720,4 +720,4 @@ std::pair> SimpleOneToOneShortestPath( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ +#endif // ORTOOLS_GRAPH_BOUNDED_DIJKSTRA_H_ diff --git a/ortools/graph/christofides.h b/ortools/graph/christofides.h index f2f2818a90..156b161964 100644 --- a/ortools/graph/christofides.h +++ b/ortools/graph/christofides.h @@ -23,8 +23,8 @@ // number of edges of the subgraph induced by odd-degree nodes of the minimum // spanning tree. -#ifndef OR_TOOLS_GRAPH_CHRISTOFIDES_H_ -#define OR_TOOLS_GRAPH_CHRISTOFIDES_H_ +#ifndef ORTOOLS_GRAPH_CHRISTOFIDES_H_ +#define ORTOOLS_GRAPH_CHRISTOFIDES_H_ #include #include @@ -389,4 +389,4 @@ ChristofidesPathSolver::Solve() { } } // namespace operations_research -#endif // OR_TOOLS_GRAPH_CHRISTOFIDES_H_ +#endif // ORTOOLS_GRAPH_CHRISTOFIDES_H_ diff --git a/ortools/graph/cliques.h b/ortools/graph/cliques.h index 6afe4a9f8a..ae107c9204 100644 --- a/ortools/graph/cliques.h +++ b/ortools/graph/cliques.h @@ -20,8 +20,8 @@ // // Keywords: undirected graph, clique, clique cover, Bron, Kerbosch. -#ifndef OR_TOOLS_GRAPH_CLIQUES_H_ -#define OR_TOOLS_GRAPH_CLIQUES_H_ +#ifndef ORTOOLS_GRAPH_CLIQUES_H_ +#define ORTOOLS_GRAPH_CLIQUES_H_ #include #include @@ -646,4 +646,4 @@ const double BronKerboschAlgorithm< NodeIndex>::kPushStateDeterministicTimeSecondsPerCandidate = 0.54663e-7; } // namespace operations_research -#endif // OR_TOOLS_GRAPH_CLIQUES_H_ +#endif // ORTOOLS_GRAPH_CLIQUES_H_ diff --git a/ortools/graph/dag_connectivity.h b/ortools/graph/dag_connectivity.h index 02dfa2ddc7..ac01f9d7e9 100644 --- a/ortools/graph/dag_connectivity.h +++ b/ortools/graph/dag_connectivity.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_DAG_CONNECTIVITY_H_ -#define OR_TOOLS_GRAPH_DAG_CONNECTIVITY_H_ +#ifndef ORTOOLS_GRAPH_DAG_CONNECTIVITY_H_ +#define ORTOOLS_GRAPH_DAG_CONNECTIVITY_H_ #include #include @@ -57,4 +57,4 @@ std::vector> ComputeDagConnectivityOrDie( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_DAG_CONNECTIVITY_H_ +#endif // ORTOOLS_GRAPH_DAG_CONNECTIVITY_H_ diff --git a/ortools/graph/dag_constrained_shortest_path.h b/ortools/graph/dag_constrained_shortest_path.h index 7e140d2397..21647c4de7 100644 --- a/ortools/graph/dag_constrained_shortest_path.h +++ b/ortools/graph/dag_constrained_shortest_path.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ -#define OR_TOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ +#ifndef ORTOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ +#define ORTOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ #include #include @@ -911,4 +911,4 @@ std::vector GetInversePermutation(const std::vector& permutation) { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ +#endif // ORTOOLS_GRAPH_DAG_CONSTRAINED_SHORTEST_PATH_H_ diff --git a/ortools/graph/dag_shortest_path.h b/ortools/graph/dag_shortest_path.h index 4bb534a623..13839b9112 100644 --- a/ortools/graph/dag_shortest_path.h +++ b/ortools/graph/dag_shortest_path.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_DAG_SHORTEST_PATH_H_ -#define OR_TOOLS_GRAPH_DAG_SHORTEST_PATH_H_ +#ifndef ORTOOLS_GRAPH_DAG_SHORTEST_PATH_H_ +#define ORTOOLS_GRAPH_DAG_SHORTEST_PATH_H_ #include #include @@ -668,4 +668,4 @@ KShortestPathsOnDagWrapper::NodePathsTo( } } // namespace operations_research -#endif // OR_TOOLS_GRAPH_DAG_SHORTEST_PATH_H_ +#endif // ORTOOLS_GRAPH_DAG_SHORTEST_PATH_H_ diff --git a/ortools/graph/eulerian_path.h b/ortools/graph/eulerian_path.h index 17d6540b2d..1bb4b891ff 100644 --- a/ortools/graph/eulerian_path.h +++ b/ortools/graph/eulerian_path.h @@ -26,8 +26,8 @@ // // Fill graph // std::vector tour = BuildEulerianPath(graph); // -#ifndef OR_TOOLS_GRAPH_EULERIAN_PATH_H_ -#define OR_TOOLS_GRAPH_EULERIAN_PATH_H_ +#ifndef ORTOOLS_GRAPH_EULERIAN_PATH_H_ +#define ORTOOLS_GRAPH_EULERIAN_PATH_H_ #include #include @@ -180,4 +180,4 @@ bool GraphIsConnected(const Graph& graph) { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_EULERIAN_PATH_H_ +#endif // ORTOOLS_GRAPH_EULERIAN_PATH_H_ diff --git a/ortools/graph/generic_max_flow.h b/ortools/graph/generic_max_flow.h index d3b588fac8..1b8f45d496 100644 --- a/ortools/graph/generic_max_flow.h +++ b/ortools/graph/generic_max_flow.h @@ -120,8 +120,8 @@ // Keywords: Push-relabel, max-flow, network, graph, Goldberg, Tarjan, Dinic, // Dinitz. -#ifndef OR_TOOLS_GRAPH_GENERIC_MAX_FLOW_H_ -#define OR_TOOLS_GRAPH_GENERIC_MAX_FLOW_H_ +#ifndef ORTOOLS_GRAPH_GENERIC_MAX_FLOW_H_ +#define ORTOOLS_GRAPH_GENERIC_MAX_FLOW_H_ #include #include @@ -1407,4 +1407,4 @@ FlowModelProto GenericMaxFlow::CreateFlowModel() { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_GENERIC_MAX_FLOW_H_ +#endif // ORTOOLS_GRAPH_GENERIC_MAX_FLOW_H_ diff --git a/ortools/graph/hamiltonian_path.h b/ortools/graph/hamiltonian_path.h index 852a063839..de9da7be7b 100644 --- a/ortools/graph/hamiltonian_path.h +++ b/ortools/graph/hamiltonian_path.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_HAMILTONIAN_PATH_H_ -#define OR_TOOLS_GRAPH_HAMILTONIAN_PATH_H_ +#ifndef ORTOOLS_GRAPH_HAMILTONIAN_PATH_H_ +#define ORTOOLS_GRAPH_HAMILTONIAN_PATH_H_ // Solves the Shortest Hamiltonian Path Problem using a complete algorithm. // The algorithm was first described in @@ -1023,4 +1023,4 @@ PruningHamiltonianSolver::ComputeFutureLowerBound( } } // namespace operations_research -#endif // OR_TOOLS_GRAPH_HAMILTONIAN_PATH_H_ +#endif // ORTOOLS_GRAPH_HAMILTONIAN_PATH_H_ diff --git a/ortools/graph/k_shortest_paths.h b/ortools/graph/k_shortest_paths.h index 94fbc1e443..27361df6e6 100644 --- a/ortools/graph/k_shortest_paths.h +++ b/ortools/graph/k_shortest_paths.h @@ -61,8 +61,8 @@ // Unlike the functions in `shortest_paths.h`, the functions in this file // directly return their result, to follow the current best practices. -#ifndef OR_TOOLS_GRAPH_K_SHORTEST_PATHS_H_ -#define OR_TOOLS_GRAPH_K_SHORTEST_PATHS_H_ +#ifndef ORTOOLS_GRAPH_K_SHORTEST_PATHS_H_ +#define ORTOOLS_GRAPH_K_SHORTEST_PATHS_H_ #include #include @@ -538,4 +538,4 @@ KShortestPaths YenKShortestPaths( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_K_SHORTEST_PATHS_H_ +#endif // ORTOOLS_GRAPH_K_SHORTEST_PATHS_H_ diff --git a/ortools/graph/linear_assignment.h b/ortools/graph/linear_assignment.h index bed3dce33e..1d48b420f5 100644 --- a/ortools/graph/linear_assignment.h +++ b/ortools/graph/linear_assignment.h @@ -190,8 +190,8 @@ // // Keywords: linear sum assignment problem, Hungarian method, Goldberg, Kennedy. -#ifndef OR_TOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ -#define OR_TOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ +#ifndef ORTOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ +#define ORTOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ #include #include @@ -1439,4 +1439,4 @@ CostValue LinearSumAssignment::GetCost() const { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ +#endif // ORTOOLS_GRAPH_LINEAR_ASSIGNMENT_H_ diff --git a/ortools/graph/max_flow.h b/ortools/graph/max_flow.h index fff82d5fc9..62abf29db7 100644 --- a/ortools/graph/max_flow.h +++ b/ortools/graph/max_flow.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_MAX_FLOW_H_ -#define OR_TOOLS_GRAPH_MAX_FLOW_H_ +#ifndef ORTOOLS_GRAPH_MAX_FLOW_H_ +#define ORTOOLS_GRAPH_MAX_FLOW_H_ #include #include @@ -137,4 +137,4 @@ class SimpleMaxFlow { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_MAX_FLOW_H_ +#endif // ORTOOLS_GRAPH_MAX_FLOW_H_ diff --git a/ortools/graph/min_cost_flow.h b/ortools/graph/min_cost_flow.h index 9bca8ed86b..86989c9c55 100644 --- a/ortools/graph/min_cost_flow.h +++ b/ortools/graph/min_cost_flow.h @@ -165,8 +165,8 @@ // Keywords: Push-relabel, min-cost flow, network, graph, Goldberg, Tarjan, // Dinic, Dinitz. -#ifndef OR_TOOLS_GRAPH_MIN_COST_FLOW_H_ -#define OR_TOOLS_GRAPH_MIN_COST_FLOW_H_ +#ifndef ORTOOLS_GRAPH_MIN_COST_FLOW_H_ +#define ORTOOLS_GRAPH_MIN_COST_FLOW_H_ #include #include @@ -697,4 +697,4 @@ struct MinCostFlow : public MinCostFlowBase { #endif // SWIG } // namespace operations_research -#endif // OR_TOOLS_GRAPH_MIN_COST_FLOW_H_ +#endif // ORTOOLS_GRAPH_MIN_COST_FLOW_H_ diff --git a/ortools/graph/minimum_spanning_tree.h b/ortools/graph/minimum_spanning_tree.h index 9e72f2153d..36b15972b1 100644 --- a/ortools/graph/minimum_spanning_tree.h +++ b/ortools/graph/minimum_spanning_tree.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ -#define OR_TOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ +#ifndef ORTOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ +#define ORTOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ #include #include @@ -182,4 +182,4 @@ std::vector BuildPrimMinimumSpanningTree( } } // namespace operations_research -#endif // OR_TOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ +#endif // ORTOOLS_GRAPH_MINIMUM_SPANNING_TREE_H_ diff --git a/ortools/graph/minimum_vertex_cover.h b/ortools/graph/minimum_vertex_cover.h index 0cce7f6578..a6da71e0ff 100644 --- a/ortools/graph/minimum_vertex_cover.h +++ b/ortools/graph/minimum_vertex_cover.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ -#define OR_TOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ +#ifndef ORTOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ +#define ORTOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ #include @@ -32,4 +32,4 @@ std::vector BipartiteMinimumVertexCover( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ +#endif // ORTOOLS_GRAPH_MINIMUM_VERTEX_COVER_H_ diff --git a/ortools/graph/multi_dijkstra.h b/ortools/graph/multi_dijkstra.h index fb90b8b6da..e81cf3c5e5 100644 --- a/ortools/graph/multi_dijkstra.h +++ b/ortools/graph/multi_dijkstra.h @@ -42,8 +42,8 @@ // } // }); -#ifndef OR_TOOLS_GRAPH_MULTI_DIJKSTRA_H_ -#define OR_TOOLS_GRAPH_MULTI_DIJKSTRA_H_ +#ifndef ORTOOLS_GRAPH_MULTI_DIJKSTRA_H_ +#define ORTOOLS_GRAPH_MULTI_DIJKSTRA_H_ #include #include @@ -199,4 +199,4 @@ MultiDijkstra(const Graph& graph, ArcLengthFunctor arc_length_functor, } // namespace operations_research -#endif // OR_TOOLS_GRAPH_MULTI_DIJKSTRA_H_ +#endif // ORTOOLS_GRAPH_MULTI_DIJKSTRA_H_ diff --git a/ortools/graph/one_tree_lower_bound.h b/ortools/graph/one_tree_lower_bound.h index 6b7c002937..75fc910e8e 100644 --- a/ortools/graph/one_tree_lower_bound.h +++ b/ortools/graph/one_tree_lower_bound.h @@ -118,8 +118,8 @@ // where number_of_nodes is the number of nodes in the TSP and cost_function // is a function returning the cost between two nodes. -#ifndef OR_TOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ -#define OR_TOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ +#ifndef ORTOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ +#define ORTOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ #include #include @@ -489,4 +489,4 @@ double ComputeOneTreeLowerBound(int number_of_nodes, const CostFunction& cost) { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ +#endif // ORTOOLS_GRAPH_ONE_TREE_LOWER_BOUND_H_ diff --git a/ortools/graph/perfect_matching.h b/ortools/graph/perfect_matching.h index 9ca800d268..af364703e8 100644 --- a/ortools/graph/perfect_matching.h +++ b/ortools/graph/perfect_matching.h @@ -23,8 +23,8 @@ // yet. The initial version is closer to Blossom IV since we update the dual // values for all trees at once with the same delta. -#ifndef OR_TOOLS_GRAPH_PERFECT_MATCHING_H_ -#define OR_TOOLS_GRAPH_PERFECT_MATCHING_H_ +#ifndef ORTOOLS_GRAPH_PERFECT_MATCHING_H_ +#define ORTOOLS_GRAPH_PERFECT_MATCHING_H_ #include #include @@ -494,4 +494,4 @@ class BlossomGraph { } // namespace operations_research -#endif // OR_TOOLS_GRAPH_PERFECT_MATCHING_H_ +#endif // ORTOOLS_GRAPH_PERFECT_MATCHING_H_ diff --git a/ortools/graph/rooted_tree.h b/ortools/graph/rooted_tree.h index a4c64af0cd..1a9413d54d 100644 --- a/ortools/graph/rooted_tree.h +++ b/ortools/graph/rooted_tree.h @@ -21,8 +21,8 @@ // integer nodes a single vector, and a function RootedTreeFromGraph(), which // converts the adjacency list of a an undirected tree to a RootedTree. -#ifndef OR_TOOLS_GRAPH_ROOTED_TREE_H_ -#define OR_TOOLS_GRAPH_ROOTED_TREE_H_ +#ifndef ORTOOLS_GRAPH_ROOTED_TREE_H_ +#define ORTOOLS_GRAPH_ROOTED_TREE_H_ #include #include @@ -799,4 +799,4 @@ absl::StatusOr> RootedTreeFromGraph( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_ROOTED_TREE_H_ +#endif // ORTOOLS_GRAPH_ROOTED_TREE_H_ diff --git a/ortools/graph/shortest_paths.h b/ortools/graph/shortest_paths.h index 585882d6dc..ddb3d49c27 100644 --- a/ortools/graph/shortest_paths.h +++ b/ortools/graph/shortest_paths.h @@ -61,8 +61,8 @@ // /*num_threads=*/4, // &container); -#ifndef OR_TOOLS_GRAPH_SHORTEST_PATHS_H_ -#define OR_TOOLS_GRAPH_SHORTEST_PATHS_H_ +#ifndef ORTOOLS_GRAPH_SHORTEST_PATHS_H_ +#define ORTOOLS_GRAPH_SHORTEST_PATHS_H_ #include #include @@ -774,4 +774,4 @@ void ComputeManyToManyShortestPathsWithMultipleThreads( } // namespace operations_research -#endif // OR_TOOLS_GRAPH_SHORTEST_PATHS_H_ +#endif // ORTOOLS_GRAPH_SHORTEST_PATHS_H_ diff --git a/ortools/gurobi/gurobi_stdout_matchers.h b/ortools/gurobi/gurobi_stdout_matchers.h index 6324a2648a..c6e6f4425b 100644 --- a/ortools/gurobi/gurobi_stdout_matchers.h +++ b/ortools/gurobi/gurobi_stdout_matchers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ -#define OR_TOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ +#ifndef ORTOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ +#define ORTOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ #include @@ -34,4 +34,4 @@ testing::Matcher EmptyOrGurobiLicenseWarningIfGurobi( } // namespace operations_research -#endif // OR_TOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ +#endif // ORTOOLS_GUROBI_GUROBI_STDOUT_MATCHERS_H_ diff --git a/ortools/gurobi/isv_public/gurobi_isv.h b/ortools/gurobi/isv_public/gurobi_isv.h index ce6946db2b..641a1f172d 100644 --- a/ortools/gurobi/isv_public/gurobi_isv.h +++ b/ortools/gurobi/isv_public/gurobi_isv.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ -#define OR_TOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ +#ifndef ORTOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ +#define ORTOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ #include #include @@ -40,4 +40,4 @@ absl::StatusOr NewPrimaryEnvFromISVKey(const GurobiIsvKey& isv_key); } // namespace operations_research::math_opt -#endif // OR_TOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ +#endif // ORTOOLS_GUROBI_ISV_PUBLIC_GUROBI_ISV_H_ diff --git a/ortools/init/init.h b/ortools/init/init.h index 2ea0fbbda0..0d56a664d2 100644 --- a/ortools/init/init.h +++ b/ortools/init/init.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_INIT_INIT_H_ -#define OR_TOOLS_INIT_INIT_H_ +#ifndef ORTOOLS_INIT_INIT_H_ +#define ORTOOLS_INIT_INIT_H_ #include #include @@ -152,4 +152,4 @@ class OrToolsVersion { } // namespace operations_research -#endif // OR_TOOLS_INIT_INIT_H_ +#endif // ORTOOLS_INIT_INIT_H_ diff --git a/ortools/init/python/init_doc.h b/ortools/init/python/init_doc.h index 5bf7f77414..27cd3c2a4f 100644 --- a/ortools/init/python/init_doc.h +++ b/ortools/init/python/init_doc.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_INIT_PYTHON_INIT_DOC_H_ -#define OR_TOOLS_INIT_PYTHON_INIT_DOC_H_ +#ifndef ORTOOLS_INIT_PYTHON_INIT_DOC_H_ +#define ORTOOLS_INIT_PYTHON_INIT_DOC_H_ /* This file contains docstrings for use in the Python bindings. @@ -141,4 +141,4 @@ static const char* __doc_operations_research_OrToolsVersion_VersionString = #pragma GCC diagnostic pop #endif -#endif // OR_TOOLS_INIT_PYTHON_INIT_DOC_H_ +#endif // ORTOOLS_INIT_PYTHON_INIT_DOC_H_ diff --git a/ortools/linear_solver/glop_utils.h b/ortools/linear_solver/glop_utils.h index 74679ce8ea..da0d2b317d 100644 --- a/ortools/linear_solver/glop_utils.h +++ b/ortools/linear_solver/glop_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ -#define OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ +#define ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ #include "ortools/linear_solver/linear_solver.h" #include "ortools/lp_data/lp_types.h" @@ -29,4 +29,4 @@ glop::ConstraintStatus MPSolverToGlopConstraintStatus(MPSolver::BasisStatus s); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ +#endif // ORTOOLS_LINEAR_SOLVER_GLOP_UTILS_H_ diff --git a/ortools/linear_solver/gurobi_util.h b/ortools/linear_solver/gurobi_util.h index 2a258b2696..4b263af74c 100644 --- a/ortools/linear_solver/gurobi_util.h +++ b/ortools/linear_solver/gurobi_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ -#define OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ +#define ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ #include @@ -37,4 +37,4 @@ std::string GurobiParamInfoForLogging(GRBenv* grb, bool one_liner_output = false); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ +#endif // ORTOOLS_LINEAR_SOLVER_GUROBI_UTIL_H_ diff --git a/ortools/linear_solver/linear_expr.h b/ortools/linear_solver/linear_expr.h index 594d5e2e2e..6fa6baadb0 100644 --- a/ortools/linear_solver/linear_expr.h +++ b/ortools/linear_solver/linear_expr.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ -#define OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ +#define ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ /** * \file @@ -222,4 +222,4 @@ LinearRange operator>=(const LinearExpr& lhs, const LinearExpr& rhs); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ +#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_EXPR_H_ diff --git a/ortools/linear_solver/linear_solver.h b/ortools/linear_solver/linear_solver.h index e3962f5c01..579d6d6c20 100644 --- a/ortools/linear_solver/linear_solver.h +++ b/ortools/linear_solver/linear_solver.h @@ -131,8 +131,8 @@ * depends on the modification applied and on the underlying solver. */ -#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ #include #include @@ -1924,4 +1924,4 @@ class MPSolverInterface { } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_H_ diff --git a/ortools/linear_solver/linear_solver_callback.h b/ortools/linear_solver/linear_solver_callback.h index 68605db22c..009c73a511 100644 --- a/ortools/linear_solver/linear_solver_callback.h +++ b/ortools/linear_solver/linear_solver_callback.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ -#define OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ +#define ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ #include #include @@ -175,4 +175,4 @@ class MPCallbackList : public MPCallback { } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ +#endif // ORTOOLS_LINEAR_SOLVER_LINEAR_SOLVER_CALLBACK_H_ diff --git a/ortools/linear_solver/model_exporter.h b/ortools/linear_solver/model_exporter.h index b5091fd7f4..d1cdd5fa20 100644 --- a/ortools/linear_solver/model_exporter.h +++ b/ortools/linear_solver/model_exporter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ -#define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ +#define ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ #include @@ -109,4 +109,4 @@ absl::Status WriteModelToMpsFile( } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_H_ diff --git a/ortools/linear_solver/model_exporter_swig_helper.h b/ortools/linear_solver/model_exporter_swig_helper.h index 7ff1df2152..dc003cda41 100644 --- a/ortools/linear_solver/model_exporter_swig_helper.h +++ b/ortools/linear_solver/model_exporter_swig_helper.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ -#define OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ +#define ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ #include @@ -36,4 +36,4 @@ inline std::string ExportModelAsMpsFormatReturnString( } } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_MODEL_EXPORTER_SWIG_HELPER_H_ diff --git a/ortools/linear_solver/model_validator.h b/ortools/linear_solver/model_validator.h index 070988ecab..d33b2019bc 100644 --- a/ortools/linear_solver/model_validator.h +++ b/ortools/linear_solver/model_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ -#define OR_TOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ +#define ORTOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ #include #include @@ -95,4 +95,4 @@ void ApplyVerifiedMPModelDelta(const MPModelDeltaProto& delta, } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ +#endif // ORTOOLS_LINEAR_SOLVER_MODEL_VALIDATOR_H_ diff --git a/ortools/linear_solver/proto_solver/glop_proto_solver.h b/ortools/linear_solver/proto_solver/glop_proto_solver.h index ea1709e9b6..a2ef2013c1 100644 --- a/ortools/linear_solver/proto_solver/glop_proto_solver.h +++ b/ortools/linear_solver/proto_solver/glop_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ #include #include @@ -54,4 +54,4 @@ std::string GlopSolverVersion(); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GLOP_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/proto_solver/gurobi_proto_solver.h b/ortools/linear_solver/proto_solver/gurobi_proto_solver.h index 4ad96852cb..2ffe68619a 100644 --- a/ortools/linear_solver/proto_solver/gurobi_proto_solver.h +++ b/ortools/linear_solver/proto_solver/gurobi_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ #include "absl/status/status.h" #include "absl/status/statusor.h" @@ -49,4 +49,4 @@ absl::StatusOr GurobiSolveProto( absl::Status SetSolverSpecificParameters(absl::string_view parameters, GRBenv* gurobi); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_GUROBI_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/proto_solver/highs_proto_solver.h b/ortools/linear_solver/proto_solver/highs_proto_solver.h index 152c380eac..75ccb1a9c6 100644 --- a/ortools/linear_solver/proto_solver/highs_proto_solver.h +++ b/ortools/linear_solver/proto_solver/highs_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ #include @@ -35,4 +35,4 @@ absl::StatusOr HighsSolveProto( } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_HIGHS_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/proto_solver/pdlp_proto_solver.h b/ortools/linear_solver/proto_solver/pdlp_proto_solver.h index 70e86609da..009377f1c7 100644 --- a/ortools/linear_solver/proto_solver/pdlp_proto_solver.h +++ b/ortools/linear_solver/proto_solver/pdlp_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ #include @@ -47,4 +47,4 @@ absl::StatusOr PdlpSolveProto( } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PDLP_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/proto_solver/preprocessor.h b/ortools/linear_solver/proto_solver/preprocessor.h index fcae6cc025..cf8a6f6ef1 100644 --- a/ortools/linear_solver/proto_solver/preprocessor.h +++ b/ortools/linear_solver/proto_solver/preprocessor.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ #include "ortools/glop/preprocessor.h" #include "ortools/lp_data/lp_data.h" @@ -195,4 +195,4 @@ class ReduceCostOverExclusiveOrConstraintPreprocessor } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PREPROCESSOR_H_ diff --git a/ortools/linear_solver/proto_solver/proto_utils.h b/ortools/linear_solver/proto_solver/proto_utils.h index fecaaf1dc6..dba23f0ea6 100644 --- a/ortools/linear_solver/proto_solver/proto_utils.h +++ b/ortools/linear_solver/proto_solver/proto_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ #include #include @@ -83,4 +83,4 @@ std::string EncodeParametersAsString(const P& parameters) { } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_PROTO_UTILS_H_ diff --git a/ortools/linear_solver/proto_solver/sat_proto_solver.h b/ortools/linear_solver/proto_solver/sat_proto_solver.h index b3f55ba092..6421501325 100644 --- a/ortools/linear_solver/proto_solver/sat_proto_solver.h +++ b/ortools/linear_solver/proto_solver/sat_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ #include #include @@ -60,4 +60,4 @@ std::string SatSolverVersion(); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/proto_solver/sat_solver_utils.h b/ortools/linear_solver/proto_solver/sat_solver_utils.h index 425d496f6c..4eb56920e9 100644 --- a/ortools/linear_solver/proto_solver/sat_solver_utils.h +++ b/ortools/linear_solver/proto_solver/sat_solver_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ #include #include @@ -40,4 +40,4 @@ glop::ProblemStatus ApplyMipPresolveSteps( SolverLogger* logger); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SAT_SOLVER_UTILS_H_ diff --git a/ortools/linear_solver/proto_solver/scip_params.h b/ortools/linear_solver/proto_solver/scip_params.h index fecd699c08..107927e1a2 100644 --- a/ortools/linear_solver/proto_solver/scip_params.h +++ b/ortools/linear_solver/proto_solver/scip_params.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ #include @@ -27,4 +27,4 @@ absl::Status LegacyScipSetSolverSpecificParameters(absl::string_view parameters, SCIP* scip); } -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PARAMS_H_ diff --git a/ortools/linear_solver/proto_solver/scip_proto_solver.h b/ortools/linear_solver/proto_solver/scip_proto_solver.h index 94eb43df92..dbef50eebe 100644 --- a/ortools/linear_solver/proto_solver/scip_proto_solver.h +++ b/ortools/linear_solver/proto_solver/scip_proto_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ -#define OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ +#define ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ #include @@ -34,4 +34,4 @@ std::string FindErrorInMPModelForScip(const MPModelProto& model, SCIP* scip); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_PROTO_SOLVER_SCIP_PROTO_SOLVER_H_ diff --git a/ortools/linear_solver/samples/network_design_ilph.h b/ortools/linear_solver/samples/network_design_ilph.h index d52b5ef495..410fc84f08 100644 --- a/ortools/linear_solver/samples/network_design_ilph.h +++ b/ortools/linear_solver/samples/network_design_ilph.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ -#define OR_TOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ +#define ORTOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ #include #include @@ -136,4 +136,4 @@ class CapacityPlanningILPH { } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ +#endif // ORTOOLS_LINEAR_SOLVER_SAMPLES_NETWORK_DESIGN_ILPH_H_ diff --git a/ortools/linear_solver/scip_callback.h b/ortools/linear_solver/scip_callback.h index 14a2d0bd9c..3539b3a34b 100644 --- a/ortools/linear_solver/scip_callback.h +++ b/ortools/linear_solver/scip_callback.h @@ -17,8 +17,8 @@ // mp_callback.h should be sufficient (in fact, SCIP's mp_callback.h // implementation is built on top of this). -#ifndef OR_TOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ -#define OR_TOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ +#define ORTOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ #include #include @@ -271,4 +271,4 @@ void AddCallbackConstraint(SCIP* scip, } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ +#endif // ORTOOLS_LINEAR_SOLVER_SCIP_CALLBACK_H_ diff --git a/ortools/linear_solver/scip_helper_macros.h b/ortools/linear_solver/scip_helper_macros.h index a112cf745f..08fcd69d9e 100644 --- a/ortools/linear_solver/scip_helper_macros.h +++ b/ortools/linear_solver/scip_helper_macros.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ -#define OR_TOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ +#define ORTOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ #include "absl/status/status.h" #include "absl/strings/str_format.h" @@ -40,4 +40,4 @@ inline absl::Status ScipCodeToUtilStatus(/*SCIP_Retcode*/ int retcode, } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ +#endif // ORTOOLS_LINEAR_SOLVER_SCIP_HELPER_MACROS_H_ diff --git a/ortools/linear_solver/solve_mp_model.h b/ortools/linear_solver/solve_mp_model.h index 4d1df455b2..c830e001ec 100644 --- a/ortools/linear_solver/solve_mp_model.h +++ b/ortools/linear_solver/solve_mp_model.h @@ -15,8 +15,8 @@ // // See linear_solver.proto for further documentation. -#ifndef OR_TOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ -#define OR_TOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ +#define ORTOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ #include @@ -52,4 +52,4 @@ std::string MPModelRequestLoggingInfo(const MPModelRequest& request); } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ +#endif // ORTOOLS_LINEAR_SOLVER_SOLVE_MP_MODEL_H_ diff --git a/ortools/linear_solver/wrappers/model_builder_helper.h b/ortools/linear_solver/wrappers/model_builder_helper.h index 4d5d9579ed..16323b0585 100644 --- a/ortools/linear_solver/wrappers/model_builder_helper.h +++ b/ortools/linear_solver/wrappers/model_builder_helper.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ -#define OR_TOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ +#ifndef ORTOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ +#define ORTOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ #include #include @@ -500,4 +500,4 @@ class ModelSolverHelper { } // namespace mb } // namespace operations_research -#endif // OR_TOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ +#endif // ORTOOLS_LINEAR_SOLVER_WRAPPERS_MODEL_BUILDER_HELPER_H_ diff --git a/ortools/lp_data/lp_data.h b/ortools/lp_data/lp_data.h index 478a1a35be..044813f5c3 100644 --- a/ortools/lp_data/lp_data.h +++ b/ortools/lp_data/lp_data.h @@ -20,8 +20,8 @@ // - bounds for each variable, // - bounds for each constraint. -#ifndef OR_TOOLS_LP_DATA_LP_DATA_H_ -#define OR_TOOLS_LP_DATA_LP_DATA_H_ +#ifndef ORTOOLS_LP_DATA_LP_DATA_H_ +#define ORTOOLS_LP_DATA_LP_DATA_H_ #include // for max #include @@ -713,4 +713,4 @@ inline bool AreBoundsValid(Fractional lower_bound, Fractional upper_bound) { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_DATA_H_ +#endif // ORTOOLS_LP_DATA_LP_DATA_H_ diff --git a/ortools/lp_data/lp_data_utils.h b/ortools/lp_data/lp_data_utils.h index eb01376cbb..59c6d54da4 100644 --- a/ortools/lp_data/lp_data_utils.h +++ b/ortools/lp_data/lp_data_utils.h @@ -14,8 +14,8 @@ // Utility helpers for manipulating LinearProgram and other types defined in // lp_data. -#ifndef OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_ -#define OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_ +#ifndef ORTOOLS_LP_DATA_LP_DATA_UTILS_H_ +#define ORTOOLS_LP_DATA_LP_DATA_UTILS_H_ #include "ortools/glop/parameters.pb.h" #include "ortools/lp_data/lp_data.h" @@ -124,4 +124,4 @@ class LpScalingHelper { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_DATA_UTILS_H_ +#endif // ORTOOLS_LP_DATA_LP_DATA_UTILS_H_ diff --git a/ortools/lp_data/lp_decomposer.h b/ortools/lp_data/lp_decomposer.h index a56a6729ba..0a33d20997 100644 --- a/ortools/lp_data/lp_decomposer.h +++ b/ortools/lp_data/lp_decomposer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_LP_DECOMPOSER_H_ -#define OR_TOOLS_LP_DATA_LP_DECOMPOSER_H_ +#ifndef ORTOOLS_LP_DATA_LP_DECOMPOSER_H_ +#define ORTOOLS_LP_DATA_LP_DECOMPOSER_H_ #include #include @@ -95,4 +95,4 @@ class LPDecomposer { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_DECOMPOSER_H_ +#endif // ORTOOLS_LP_DATA_LP_DECOMPOSER_H_ diff --git a/ortools/lp_data/lp_parser.h b/ortools/lp_data/lp_parser.h index 6248096edf..09e07ec7e0 100644 --- a/ortools/lp_data/lp_parser.h +++ b/ortools/lp_data/lp_parser.h @@ -71,8 +71,8 @@ // take. Similarly, "min x; bin x; x <= 0.5" results in bounding the x // variable between 0.0 and 0.5, despite the only value it can take is 0. -#ifndef OR_TOOLS_LP_DATA_LP_PARSER_H_ -#define OR_TOOLS_LP_DATA_LP_PARSER_H_ +#ifndef ORTOOLS_LP_DATA_LP_PARSER_H_ +#define ORTOOLS_LP_DATA_LP_PARSER_H_ #include #include @@ -123,4 +123,4 @@ absl::StatusOr ParseConstraint(absl::string_view constraint); } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_PARSER_H_ +#endif // ORTOOLS_LP_DATA_LP_PARSER_H_ diff --git a/ortools/lp_data/lp_print_utils.h b/ortools/lp_data/lp_print_utils.h index 73ac0bdfed..aa24d7531c 100644 --- a/ortools/lp_data/lp_print_utils.h +++ b/ortools/lp_data/lp_print_utils.h @@ -13,8 +13,8 @@ // Utilities to display linear expression in a human-readable way. -#ifndef OR_TOOLS_LP_DATA_LP_PRINT_UTILS_H_ -#define OR_TOOLS_LP_DATA_LP_PRINT_UTILS_H_ +#ifndef ORTOOLS_LP_DATA_LP_PRINT_UTILS_H_ +#define ORTOOLS_LP_DATA_LP_PRINT_UTILS_H_ #include @@ -56,4 +56,4 @@ std::string StringifyMonomial(Fractional a, absl::string_view x, bool fraction); } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_PRINT_UTILS_H_ +#endif // ORTOOLS_LP_DATA_LP_PRINT_UTILS_H_ diff --git a/ortools/lp_data/lp_types.h b/ortools/lp_data/lp_types.h index 837a0a8ec9..d4d3dfbfc7 100644 --- a/ortools/lp_data/lp_types.h +++ b/ortools/lp_data/lp_types.h @@ -13,8 +13,8 @@ // Common types and constants used by the Linear Programming solver. -#ifndef OR_TOOLS_LP_DATA_LP_TYPES_H_ -#define OR_TOOLS_LP_DATA_LP_TYPES_H_ +#ifndef ORTOOLS_LP_DATA_LP_TYPES_H_ +#define ORTOOLS_LP_DATA_LP_TYPES_H_ #include #include @@ -436,4 +436,4 @@ static inline double DeterministicTimeForFpOperations(int64_t n) { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_TYPES_H_ +#endif // ORTOOLS_LP_DATA_LP_TYPES_H_ diff --git a/ortools/lp_data/lp_utils.h b/ortools/lp_data/lp_utils.h index f4b3dc7a65..4aa31f09e9 100644 --- a/ortools/lp_data/lp_utils.h +++ b/ortools/lp_data/lp_utils.h @@ -13,8 +13,8 @@ // Basic utility functions on Fractional or row/column of Fractional. -#ifndef OR_TOOLS_LP_DATA_LP_UTILS_H_ -#define OR_TOOLS_LP_DATA_LP_UTILS_H_ +#ifndef ORTOOLS_LP_DATA_LP_UTILS_H_ +#define ORTOOLS_LP_DATA_LP_UTILS_H_ #include #include @@ -398,4 +398,4 @@ typedef SumWithOneMissing SumWithNegativeInfiniteAndOneMissing; } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_LP_UTILS_H_ +#endif // ORTOOLS_LP_DATA_LP_UTILS_H_ diff --git a/ortools/lp_data/matrix_scaler.h b/ortools/lp_data/matrix_scaler.h index a4c2fa2035..7594220d6b 100644 --- a/ortools/lp_data/matrix_scaler.h +++ b/ortools/lp_data/matrix_scaler.h @@ -57,8 +57,8 @@ // and: // A'.x' = R.A.C.C^-1.x = R.A.x = R.b = b'. -#ifndef OR_TOOLS_LP_DATA_MATRIX_SCALER_H_ -#define OR_TOOLS_LP_DATA_MATRIX_SCALER_H_ +#ifndef ORTOOLS_LP_DATA_MATRIX_SCALER_H_ +#define ORTOOLS_LP_DATA_MATRIX_SCALER_H_ #include #include @@ -174,4 +174,4 @@ class SparseMatrixScaler { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_MATRIX_SCALER_H_ +#endif // ORTOOLS_LP_DATA_MATRIX_SCALER_H_ diff --git a/ortools/lp_data/matrix_utils.h b/ortools/lp_data/matrix_utils.h index 1d069c44ce..fa4be4b43b 100644 --- a/ortools/lp_data/matrix_utils.h +++ b/ortools/lp_data/matrix_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_MATRIX_UTILS_H_ -#define OR_TOOLS_LP_DATA_MATRIX_UTILS_H_ +#ifndef ORTOOLS_LP_DATA_MATRIX_UTILS_H_ +#define ORTOOLS_LP_DATA_MATRIX_UTILS_H_ #include "ortools/lp_data/lp_types.h" #include "ortools/lp_data/sparse.h" @@ -55,4 +55,4 @@ bool IsRightMostSquareMatrixIdentity(const SparseMatrix& matrix); } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_MATRIX_UTILS_H_ +#endif // ORTOOLS_LP_DATA_MATRIX_UTILS_H_ diff --git a/ortools/lp_data/mps_reader.h b/ortools/lp_data/mps_reader.h index 3df93c4560..117a252ab0 100644 --- a/ortools/lp_data/mps_reader.h +++ b/ortools/lp_data/mps_reader.h @@ -21,8 +21,8 @@ // standard. We developed this reader to be able to read benchmark data files. // Using the MPS file format for new models is discouraged. -#ifndef OR_TOOLS_LP_DATA_MPS_READER_H_ -#define OR_TOOLS_LP_DATA_MPS_READER_H_ +#ifndef ORTOOLS_LP_DATA_MPS_READER_H_ +#define ORTOOLS_LP_DATA_MPS_READER_H_ #include @@ -73,4 +73,4 @@ class ABSL_DEPRECATED("Use the direct methods instead") MPSReader { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_MPS_READER_H_ +#endif // ORTOOLS_LP_DATA_MPS_READER_H_ diff --git a/ortools/lp_data/mps_reader_template.h b/ortools/lp_data/mps_reader_template.h index a0cbe5a5f5..c47426fcbc 100644 --- a/ortools/lp_data/mps_reader_template.h +++ b/ortools/lp_data/mps_reader_template.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ -#define OR_TOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ +#ifndef ORTOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ +#define ORTOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ // A templated-reader for MPS (Mathematical Programming System) format. // @@ -1254,4 +1254,4 @@ absl::StatusOr MPSReaderTemplate::GetBoolFromString( } } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ +#endif // ORTOOLS_LP_DATA_MPS_READER_TEMPLATE_H_ diff --git a/ortools/lp_data/permutation.h b/ortools/lp_data/permutation.h index 04eb15d029..1a8eb9414d 100644 --- a/ortools/lp_data/permutation.h +++ b/ortools/lp_data/permutation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_PERMUTATION_H_ -#define OR_TOOLS_LP_DATA_PERMUTATION_H_ +#ifndef ORTOOLS_LP_DATA_PERMUTATION_H_ +#define ORTOOLS_LP_DATA_PERMUTATION_H_ #include @@ -253,4 +253,4 @@ void ApplyInversePermutation(const Permutation& perm, } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_PERMUTATION_H_ +#endif // ORTOOLS_LP_DATA_PERMUTATION_H_ diff --git a/ortools/lp_data/proto_utils.h b/ortools/lp_data/proto_utils.h index affdeb1248..0f9e1da884 100644 --- a/ortools/lp_data/proto_utils.h +++ b/ortools/lp_data/proto_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_PROTO_UTILS_H_ -#define OR_TOOLS_LP_DATA_PROTO_UTILS_H_ +#ifndef ORTOOLS_LP_DATA_PROTO_UTILS_H_ +#define ORTOOLS_LP_DATA_PROTO_UTILS_H_ #include "ortools/linear_solver/linear_solver.pb.h" #include "ortools/lp_data/lp_data.h" @@ -31,4 +31,4 @@ void MPModelProtoToLinearProgram(const MPModelProto& input, } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_PROTO_UTILS_H_ +#endif // ORTOOLS_LP_DATA_PROTO_UTILS_H_ diff --git a/ortools/lp_data/scattered_vector.h b/ortools/lp_data/scattered_vector.h index 083109d3f7..2e1a6a17c1 100644 --- a/ortools/lp_data/scattered_vector.h +++ b/ortools/lp_data/scattered_vector.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_SCATTERED_VECTOR_H_ -#define OR_TOOLS_LP_DATA_SCATTERED_VECTOR_H_ +#ifndef ORTOOLS_LP_DATA_SCATTERED_VECTOR_H_ +#define ORTOOLS_LP_DATA_SCATTERED_VECTOR_H_ #include #include @@ -208,4 +208,4 @@ inline const ScatteredColumn& TransposedView(const ScatteredRow& r) { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SCATTERED_VECTOR_H_ +#endif // ORTOOLS_LP_DATA_SCATTERED_VECTOR_H_ diff --git a/ortools/lp_data/sol_reader.h b/ortools/lp_data/sol_reader.h index b837fd4b8d..27de57bc2d 100644 --- a/ortools/lp_data/sol_reader.h +++ b/ortools/lp_data/sol_reader.h @@ -14,8 +14,8 @@ // A reader for files in the SOL format. // see https://en.wikipedia.org/wiki/Sol_(format) -#ifndef OR_TOOLS_LP_DATA_SOL_READER_H_ -#define OR_TOOLS_LP_DATA_SOL_READER_H_ +#ifndef ORTOOLS_LP_DATA_SOL_READER_H_ +#define ORTOOLS_LP_DATA_SOL_READER_H_ #include @@ -41,4 +41,4 @@ absl::StatusOr ParseSolString(const std::string& solution, } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SOL_READER_H_ +#endif // ORTOOLS_LP_DATA_SOL_READER_H_ diff --git a/ortools/lp_data/sparse.h b/ortools/lp_data/sparse.h index cc856fc3a8..b0cc35759c 100644 --- a/ortools/lp_data/sparse.h +++ b/ortools/lp_data/sparse.h @@ -25,8 +25,8 @@ // // Both books also contain a wealth of references. -#ifndef OR_TOOLS_LP_DATA_SPARSE_H_ -#define OR_TOOLS_LP_DATA_SPARSE_H_ +#ifndef ORTOOLS_LP_DATA_SPARSE_H_ +#define ORTOOLS_LP_DATA_SPARSE_H_ #include #include @@ -939,4 +939,4 @@ class TriangularMatrix : private CompactSparseMatrix { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SPARSE_H_ +#endif // ORTOOLS_LP_DATA_SPARSE_H_ diff --git a/ortools/lp_data/sparse_column.h b/ortools/lp_data/sparse_column.h index cb5ed391b6..8eecfb0384 100644 --- a/ortools/lp_data/sparse_column.h +++ b/ortools/lp_data/sparse_column.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_SPARSE_COLUMN_H_ -#define OR_TOOLS_LP_DATA_SPARSE_COLUMN_H_ +#ifndef ORTOOLS_LP_DATA_SPARSE_COLUMN_H_ +#define ORTOOLS_LP_DATA_SPARSE_COLUMN_H_ #include @@ -201,4 +201,4 @@ class RandomAccessSparseColumn { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SPARSE_COLUMN_H_ +#endif // ORTOOLS_LP_DATA_SPARSE_COLUMN_H_ diff --git a/ortools/lp_data/sparse_row.h b/ortools/lp_data/sparse_row.h index 14946dc957..4b8700c9c4 100644 --- a/ortools/lp_data/sparse_row.h +++ b/ortools/lp_data/sparse_row.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_LP_DATA_SPARSE_ROW_H_ -#define OR_TOOLS_LP_DATA_SPARSE_ROW_H_ +#ifndef ORTOOLS_LP_DATA_SPARSE_ROW_H_ +#define ORTOOLS_LP_DATA_SPARSE_ROW_H_ #include "ortools/base/strong_vector.h" #include "ortools/lp_data/sparse_vector.h" @@ -63,4 +63,4 @@ typedef util_intops::StrongVector RowMajorSparseMatrix; } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SPARSE_ROW_H_ +#endif // ORTOOLS_LP_DATA_SPARSE_ROW_H_ diff --git a/ortools/lp_data/sparse_vector.h b/ortools/lp_data/sparse_vector.h index 4c7647edff..d2f528b253 100644 --- a/ortools/lp_data/sparse_vector.h +++ b/ortools/lp_data/sparse_vector.h @@ -27,8 +27,8 @@ // // Both books also contain a wealth of references. -#ifndef OR_TOOLS_LP_DATA_SPARSE_VECTOR_H_ -#define OR_TOOLS_LP_DATA_SPARSE_VECTOR_H_ +#ifndef ORTOOLS_LP_DATA_SPARSE_VECTOR_H_ +#define ORTOOLS_LP_DATA_SPARSE_VECTOR_H_ #include #include @@ -1031,4 +1031,4 @@ std::string SparseVector::DebugString() const { } // namespace glop } // namespace operations_research -#endif // OR_TOOLS_LP_DATA_SPARSE_VECTOR_H_ +#endif // ORTOOLS_LP_DATA_SPARSE_VECTOR_H_ diff --git a/ortools/math_opt/constraints/indicator/indicator_constraint.h b/ortools/math_opt/constraints/indicator/indicator_constraint.h index 9dace4bd7c..d23e86f9ef 100644 --- a/ortools/math_opt/constraints/indicator/indicator_constraint.h +++ b/ortools/math_opt/constraints/indicator/indicator_constraint.h @@ -13,8 +13,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ #include #include @@ -87,4 +87,4 @@ std::vector IndicatorConstraint::NonzeroVariables() const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_INDICATOR_CONSTRAINT_H_ diff --git a/ortools/math_opt/constraints/indicator/storage.h b/ortools/math_opt/constraints/indicator/storage.h index 5e056ff634..0ee2c009a4 100644 --- a/ortools/math_opt/constraints/indicator/storage.h +++ b/ortools/math_opt/constraints/indicator/storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ #include #include @@ -64,4 +64,4 @@ struct AtomicConstraintTraits { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_STORAGE_H_ diff --git a/ortools/math_opt/constraints/indicator/validator.h b/ortools/math_opt/constraints/indicator/validator.h index c70d414989..f86b522615 100644 --- a/ortools/math_opt/constraints/indicator/validator.h +++ b/ortools/math_opt/constraints/indicator/validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -25,4 +25,4 @@ absl::Status ValidateConstraint(const IndicatorConstraintProto& constraint, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_INDICATOR_VALIDATOR_H_ diff --git a/ortools/math_opt/constraints/quadratic/quadratic_constraint.h b/ortools/math_opt/constraints/quadratic/quadratic_constraint.h index f19a0c6b19..7da42058fe 100644 --- a/ortools/math_opt/constraints/quadratic/quadratic_constraint.h +++ b/ortools/math_opt/constraints/quadratic/quadratic_constraint.h @@ -15,8 +15,8 @@ // IWYU pragma: friend "ortools/math_opt/cpp/.*" // An object oriented wrapper for quadratic constraints in ModelStorage. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ #include #include @@ -145,4 +145,4 @@ std::string QuadraticConstraint::ToString() const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_QUADRATIC_CONSTRAINT_H_ diff --git a/ortools/math_opt/constraints/quadratic/storage.h b/ortools/math_opt/constraints/quadratic/storage.h index 162eff2628..a37a887a14 100644 --- a/ortools/math_opt/constraints/quadratic/storage.h +++ b/ortools/math_opt/constraints/quadratic/storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ #include #include @@ -63,4 +63,4 @@ struct AtomicConstraintTraits { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_STORAGE_H_ diff --git a/ortools/math_opt/constraints/quadratic/validator.h b/ortools/math_opt/constraints/quadratic/validator.h index 16bc1b9071..8ced132c76 100644 --- a/ortools/math_opt/constraints/quadratic/validator.h +++ b/ortools/math_opt/constraints/quadratic/validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -25,4 +25,4 @@ absl::Status ValidateConstraint(const QuadraticConstraintProto& constraint, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_QUADRATIC_VALIDATOR_H_ diff --git a/ortools/math_opt/constraints/second_order_cone/second_order_cone_constraint.h b/ortools/math_opt/constraints/second_order_cone/second_order_cone_constraint.h index edc9bb53e2..8dab27acc4 100644 --- a/ortools/math_opt/constraints/second_order_cone/second_order_cone_constraint.h +++ b/ortools/math_opt/constraints/second_order_cone/second_order_cone_constraint.h @@ -13,8 +13,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ #include #include @@ -138,4 +138,4 @@ SecondOrderConeConstraint::SecondOrderConeConstraint( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_SECOND_ORDER_CONE_CONSTRAINT_H_ diff --git a/ortools/math_opt/constraints/second_order_cone/storage.h b/ortools/math_opt/constraints/second_order_cone/storage.h index 25d739bb20..ab1794df8e 100644 --- a/ortools/math_opt/constraints/second_order_cone/storage.h +++ b/ortools/math_opt/constraints/second_order_cone/storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ #include #include @@ -56,4 +56,4 @@ struct AtomicConstraintTraits { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_STORAGE_H_ diff --git a/ortools/math_opt/constraints/second_order_cone/validator.h b/ortools/math_opt/constraints/second_order_cone/validator.h index f2e7a452c9..2b6fdf0a91 100644 --- a/ortools/math_opt/constraints/second_order_cone/validator.h +++ b/ortools/math_opt/constraints/second_order_cone/validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -26,4 +26,4 @@ absl::Status ValidateConstraint( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SECOND_ORDER_CONE_VALIDATOR_H_ diff --git a/ortools/math_opt/constraints/sos/sos1_constraint.h b/ortools/math_opt/constraints/sos/sos1_constraint.h index c89c097862..4a1bc4c15c 100644 --- a/ortools/math_opt/constraints/sos/sos1_constraint.h +++ b/ortools/math_opt/constraints/sos/sos1_constraint.h @@ -13,8 +13,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ #include #include @@ -146,4 +146,4 @@ Sos1Constraint::Sos1Constraint(const ModelStorageCPtr storage, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS1_CONSTRAINT_H_ diff --git a/ortools/math_opt/constraints/sos/sos2_constraint.h b/ortools/math_opt/constraints/sos/sos2_constraint.h index 115abac05b..36bcb27301 100644 --- a/ortools/math_opt/constraints/sos/sos2_constraint.h +++ b/ortools/math_opt/constraints/sos/sos2_constraint.h @@ -13,8 +13,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ #include #include @@ -146,4 +146,4 @@ Sos2Constraint::Sos2Constraint(const ModelStorageCPtr storage, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_SOS2_CONSTRAINT_H_ diff --git a/ortools/math_opt/constraints/sos/storage.h b/ortools/math_opt/constraints/sos/storage.h index f4e5b5e20a..770afe5dd0 100644 --- a/ortools/math_opt/constraints/sos/storage.h +++ b/ortools/math_opt/constraints/sos/storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ #include #include @@ -175,4 +175,4 @@ void SosConstraintData::DeleteVariable(const VariableId var) { } // namespace internal } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_STORAGE_H_ diff --git a/ortools/math_opt/constraints/sos/util.h b/ortools/math_opt/constraints/sos/util.h index 4b8604e957..04dc89c68f 100644 --- a/ortools/math_opt/constraints/sos/util.h +++ b/ortools/math_opt/constraints/sos/util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ #include #include @@ -62,4 +62,4 @@ std::string SosConstraintToString(const SosConstraint constraint, } // namespace operations_research::math_opt::internal -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_UTIL_H_ diff --git a/ortools/math_opt/constraints/sos/validator.h b/ortools/math_opt/constraints/sos/validator.h index 7c85e45587..1671cb875d 100644 --- a/ortools/math_opt/constraints/sos/validator.h +++ b/ortools/math_opt/constraints/sos/validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -25,4 +25,4 @@ absl::Status ValidateConstraint(const SosConstraintProto& constraint, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_SOS_VALIDATOR_H_ diff --git a/ortools/math_opt/constraints/util/model_util.h b/ortools/math_opt/constraints/util/model_util.h index dd12306367..dd2d95c9d6 100644 --- a/ortools/math_opt/constraints/util/model_util.h +++ b/ortools/math_opt/constraints/util/model_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ -#define OR_TOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ +#ifndef ORTOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ +#define ORTOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ #include @@ -79,4 +79,4 @@ std::vector SortedAtomicConstraints( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ +#endif // ORTOOLS_MATH_OPT_CONSTRAINTS_UTIL_MODEL_UTIL_H_ diff --git a/ortools/math_opt/core/arrow_operator_proxy.h b/ortools/math_opt/core/arrow_operator_proxy.h index 3e57b39892..ff743000fa 100644 --- a/ortools/math_opt/core/arrow_operator_proxy.h +++ b/ortools/math_opt/core/arrow_operator_proxy.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ -#define OR_TOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ +#define ORTOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ #include // IWYU pragma: keep @@ -40,4 +40,4 @@ class ArrowOperatorProxy { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ +#endif // ORTOOLS_MATH_OPT_CORE_ARROW_OPERATOR_PROXY_H_ diff --git a/ortools/math_opt/core/base_solver.h b/ortools/math_opt/core/base_solver.h index 84221af8bf..2958f741bf 100644 --- a/ortools/math_opt/core/base_solver.h +++ b/ortools/math_opt/core/base_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ +#define ORTOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ #include #include @@ -126,4 +126,4 @@ class BaseSolver { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_CORE_BASE_SOLVER_H_ diff --git a/ortools/math_opt/core/c_api/solver.h b/ortools/math_opt/core/c_api/solver.h index 70efc7538c..25d065bfc3 100644 --- a/ortools/math_opt/core/c_api/solver.h +++ b/ortools/math_opt/core/c_api/solver.h @@ -31,8 +31,8 @@ // See cpp_example.cc for a minimal example of creating and serializing these // protos from C++, calling the C API to solve the model, and then deserializing // the returned protos. -#ifndef OR_TOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ +#define ORTOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ #include @@ -114,4 +114,4 @@ void MathOptFree(void* ptr); } // extern "C" #endif // __cplusplus -#endif // OR_TOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_CORE_C_API_SOLVER_H_ diff --git a/ortools/math_opt/core/concurrent_calls_guard.h b/ortools/math_opt/core/concurrent_calls_guard.h index f79c89d88a..13838ff579 100644 --- a/ortools/math_opt/core/concurrent_calls_guard.h +++ b/ortools/math_opt/core/concurrent_calls_guard.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ -#define OR_TOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ +#define ORTOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ #include @@ -87,4 +87,4 @@ class ConcurrentCallsGuard { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ +#endif // ORTOOLS_MATH_OPT_CORE_CONCURRENT_CALLS_GUARD_H_ diff --git a/ortools/math_opt/core/empty_bounds.h b/ortools/math_opt/core/empty_bounds.h index 4d85c3ef8d..51de4d156a 100644 --- a/ortools/math_opt/core/empty_bounds.h +++ b/ortools/math_opt/core/empty_bounds.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ -#define OR_TOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ +#define ORTOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ #include @@ -31,4 +31,4 @@ SolveResultProto ResultForIntegerInfeasible(bool is_maximize, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ +#endif // ORTOOLS_MATH_OPT_CORE_EMPTY_BOUNDS_H_ diff --git a/ortools/math_opt/core/invalid_indicators.h b/ortools/math_opt/core/invalid_indicators.h index 38666e3699..df65b2ebe8 100644 --- a/ortools/math_opt/core/invalid_indicators.h +++ b/ortools/math_opt/core/invalid_indicators.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ -#define OR_TOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ +#define ORTOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ #include #include @@ -50,4 +50,4 @@ struct InvalidIndicators { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ +#endif // ORTOOLS_MATH_OPT_CORE_INVALID_INDICATORS_H_ diff --git a/ortools/math_opt/core/inverted_bounds.h b/ortools/math_opt/core/inverted_bounds.h index 678fb36047..90db606d15 100644 --- a/ortools/math_opt/core/inverted_bounds.h +++ b/ortools/math_opt/core/inverted_bounds.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ -#define OR_TOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ +#define ORTOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ #include #include @@ -48,4 +48,4 @@ struct InvertedBounds { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ +#endif // ORTOOLS_MATH_OPT_CORE_INVERTED_BOUNDS_H_ diff --git a/ortools/math_opt/core/math_opt_proto_utils.h b/ortools/math_opt/core/math_opt_proto_utils.h index b9e5df26b6..f83a806ec1 100644 --- a/ortools/math_opt/core/math_opt_proto_utils.h +++ b/ortools/math_opt/core/math_opt_proto_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ -#define OR_TOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ +#define ORTOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ #include #include @@ -400,4 +400,4 @@ bool SparseVectorFilterPredicate::AcceptsAndUpdate(const int64_t id, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ +#endif // ORTOOLS_MATH_OPT_CORE_MATH_OPT_PROTO_UTILS_H_ diff --git a/ortools/math_opt/core/model_summary.h b/ortools/math_opt/core/model_summary.h index 061000751e..c7fcd14343 100644 --- a/ortools/math_opt/core/model_summary.h +++ b/ortools/math_opt/core/model_summary.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ -#define OR_TOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ +#define ORTOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ #include #include @@ -266,4 +266,4 @@ absl::Status UpdateBiMapFromMappedData( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ +#endif // ORTOOLS_MATH_OPT_CORE_MODEL_SUMMARY_H_ diff --git a/ortools/math_opt/core/non_streamable_solver_init_arguments.h b/ortools/math_opt/core/non_streamable_solver_init_arguments.h index 2aad7d1727..d7626216c2 100644 --- a/ortools/math_opt/core/non_streamable_solver_init_arguments.h +++ b/ortools/math_opt/core/non_streamable_solver_init_arguments.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ #include @@ -176,4 +176,4 @@ class NonStreamableSolverInitArgumentsValue { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_CORE_NON_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ diff --git a/ortools/math_opt/core/solver.h b/ortools/math_opt/core/solver.h index be0914d2bd..29cb845b1f 100644 --- a/ortools/math_opt/core/solver.h +++ b/ortools/math_opt/core/solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_CORE_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SOLVER_H_ +#define ORTOOLS_MATH_OPT_CORE_SOLVER_H_ #include @@ -134,4 +134,4 @@ absl::Status ValidateInitArgs(const Solver::InitArgs& init_args, } // namespace internal } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SOLVER_H_ diff --git a/ortools/math_opt/core/solver_debug.h b/ortools/math_opt/core/solver_debug.h index 4b3202a4bf..59d25596ce 100644 --- a/ortools/math_opt/core/solver_debug.h +++ b/ortools/math_opt/core/solver_debug.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ -#define OR_TOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ +#define ORTOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ #include #include @@ -35,4 +35,4 @@ extern std::atomic debug_num_solver; } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SOLVER_DEBUG_H_ diff --git a/ortools/math_opt/core/solver_interface.h b/ortools/math_opt/core/solver_interface.h index 6ef1c48287..44eb1f56c5 100644 --- a/ortools/math_opt/core/solver_interface.h +++ b/ortools/math_opt/core/solver_interface.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ -#define OR_TOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ +#define ORTOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ #include #include @@ -212,4 +212,4 @@ class AllSolversRegistry { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SOLVER_INTERFACE_H_ diff --git a/ortools/math_opt/core/sorted.h b/ortools/math_opt/core/sorted.h index 7631c66a80..0dd49e387a 100644 --- a/ortools/math_opt/core/sorted.h +++ b/ortools/math_opt/core/sorted.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_SORTED_H_ -#define OR_TOOLS_MATH_OPT_CORE_SORTED_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SORTED_H_ +#define ORTOOLS_MATH_OPT_CORE_SORTED_H_ #include #include @@ -67,4 +67,4 @@ std::vector SortedMapKeys(const google::protobuf::Map& in_map) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_SORTED_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SORTED_H_ diff --git a/ortools/math_opt/core/sparse_submatrix.h b/ortools/math_opt/core/sparse_submatrix.h index 804b71803d..5a09fe6345 100644 --- a/ortools/math_opt/core/sparse_submatrix.h +++ b/ortools/math_opt/core/sparse_submatrix.h @@ -12,8 +12,8 @@ // limitations under the License. // Tools to extract some sub-components of sparse matrices. -#ifndef OR_TOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ -#define OR_TOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ +#define ORTOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ #include #include @@ -85,4 +85,4 @@ std::vector>> TransposeSparseSubmatrix( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SPARSE_SUBMATRIX_H_ diff --git a/ortools/math_opt/core/sparse_vector.h b/ortools/math_opt/core/sparse_vector.h index e067a3f85a..ad4f60dc1f 100644 --- a/ortools/math_opt/core/sparse_vector.h +++ b/ortools/math_opt/core/sparse_vector.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ -#define OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ +#define ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ #include #include @@ -33,4 +33,4 @@ struct SparseVector { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_H_ diff --git a/ortools/math_opt/core/sparse_vector_view.h b/ortools/math_opt/core/sparse_vector_view.h index 31e394858e..f21d47ee68 100644 --- a/ortools/math_opt/core/sparse_vector_view.h +++ b/ortools/math_opt/core/sparse_vector_view.h @@ -42,8 +42,8 @@ // // For more information, see the class comments below. -#ifndef OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ -#define OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ +#ifndef ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ +#define ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ #include @@ -253,4 +253,4 @@ absl::flat_hash_map SparseVectorView::as_map( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ +#endif // ORTOOLS_MATH_OPT_CORE_SPARSE_VECTOR_VIEW_H_ diff --git a/ortools/math_opt/cpp/basis_status.h b/ortools/math_opt/cpp/basis_status.h index ce0465f8fe..b627ab2052 100644 --- a/ortools/math_opt/cpp/basis_status.h +++ b/ortools/math_opt/cpp/basis_status.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ -#define OR_TOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ +#define ORTOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ #include @@ -46,4 +46,4 @@ MATH_OPT_DEFINE_ENUM(BasisStatus, BASIS_STATUS_UNSPECIFIED); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_BASIS_STATUS_H_ diff --git a/ortools/math_opt/cpp/callback.h b/ortools/math_opt/cpp/callback.h index 1a1068a815..7b98f7473d 100644 --- a/ortools/math_opt/cpp/callback.h +++ b/ortools/math_opt/cpp/callback.h @@ -66,8 +66,8 @@ // not). You should either solve with one thread (see // solver_parameters.threads), write a threadsafe callback, or consult // the documentation of your underlying solver. -#ifndef OR_TOOLS_MATH_OPT_CPP_CALLBACK_H_ -#define OR_TOOLS_MATH_OPT_CPP_CALLBACK_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_CALLBACK_H_ +#define ORTOOLS_MATH_OPT_CPP_CALLBACK_H_ #include #include @@ -306,4 +306,4 @@ struct CallbackResult { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_CALLBACK_H_ +#endif // ORTOOLS_MATH_OPT_CPP_CALLBACK_H_ diff --git a/ortools/math_opt/cpp/compute_infeasible_subsystem_arguments.h b/ortools/math_opt/cpp/compute_infeasible_subsystem_arguments.h index 61f48c20ba..405a11abfd 100644 --- a/ortools/math_opt/cpp/compute_infeasible_subsystem_arguments.h +++ b/ortools/math_opt/cpp/compute_infeasible_subsystem_arguments.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ #include "ortools/math_opt/cpp/message_callback.h" // IWYU pragma: export #include "ortools/math_opt/cpp/parameters.h" // IWYU pragma: export @@ -64,4 +64,4 @@ struct ComputeInfeasibleSubsystemArguments { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_ARGUMENTS_H_ diff --git a/ortools/math_opt/cpp/compute_infeasible_subsystem_result.h b/ortools/math_opt/cpp/compute_infeasible_subsystem_result.h index f61dd2e238..a730fd5396 100644 --- a/ortools/math_opt/cpp/compute_infeasible_subsystem_result.h +++ b/ortools/math_opt/cpp/compute_infeasible_subsystem_result.h @@ -13,8 +13,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ -#define OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ +#define ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ #include #include @@ -142,4 +142,4 @@ std::ostream& operator<<(std::ostream& out, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ +#endif // ORTOOLS_MATH_OPT_CPP_COMPUTE_INFEASIBLE_SUBSYSTEM_RESULT_H_ diff --git a/ortools/math_opt/cpp/enums.h b/ortools/math_opt/cpp/enums.h index c208ceec7f..9663b69915 100644 --- a/ortools/math_opt/cpp/enums.h +++ b/ortools/math_opt/cpp/enums.h @@ -76,8 +76,8 @@ // * operator<<(std::optional) // // See examples of usage in the Enum struct documentation below. -#ifndef OR_TOOLS_MATH_OPT_CPP_ENUMS_H_ -#define OR_TOOLS_MATH_OPT_CPP_ENUMS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_ENUMS_H_ +#define ORTOOLS_MATH_OPT_CPP_ENUMS_H_ #include #include @@ -340,4 +340,4 @@ std::optional EnumFromString(const absl::string_view str) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_ENUMS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_ENUMS_H_ diff --git a/ortools/math_opt/cpp/enums_testing.h b/ortools/math_opt/cpp/enums_testing.h index db9880e2b1..f3888bd562 100644 --- a/ortools/math_opt/cpp/enums_testing.h +++ b/ortools/math_opt/cpp/enums_testing.h @@ -12,8 +12,8 @@ // limitations under the License. // Typed tests for enums that use enums.h. -#ifndef OR_TOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ -#define OR_TOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ +#define ORTOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ #include #include @@ -105,4 +105,4 @@ REGISTER_TYPED_TEST_SUITE_P(EnumTest, UnderlyingTypeFits, AllProtoValues, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ +#endif // ORTOOLS_MATH_OPT_CPP_ENUMS_TESTING_H_ diff --git a/ortools/math_opt/cpp/formatters.h b/ortools/math_opt/cpp/formatters.h index eb46cb6bd0..55eb389721 100644 --- a/ortools/math_opt/cpp/formatters.h +++ b/ortools/math_opt/cpp/formatters.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_FORMATTERS_H_ -#define OR_TOOLS_MATH_OPT_CPP_FORMATTERS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_FORMATTERS_H_ +#define ORTOOLS_MATH_OPT_CPP_FORMATTERS_H_ #include #include @@ -88,4 +88,4 @@ inline std::ostream& operator<<(std::ostream& out, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_FORMATTERS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_FORMATTERS_H_ diff --git a/ortools/math_opt/cpp/incremental_solver.h b/ortools/math_opt/cpp/incremental_solver.h index d530734ff9..e424b569b3 100644 --- a/ortools/math_opt/cpp/incremental_solver.h +++ b/ortools/math_opt/cpp/incremental_solver.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ +#define ORTOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ #include "absl/status/statusor.h" #include "ortools/math_opt/cpp/compute_infeasible_subsystem_arguments.h" // IWYU pragma: export @@ -173,4 +173,4 @@ class IncrementalSolver { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_CPP_INCREMENTAL_SOLVER_H_ diff --git a/ortools/math_opt/cpp/key_types.h b/ortools/math_opt/cpp/key_types.h index 5ceec1dd80..fd921dd0f8 100644 --- a/ortools/math_opt/cpp/key_types.h +++ b/ortools/math_opt/cpp/key_types.h @@ -35,8 +35,8 @@ // TODO(b/396580721): Those requirements are those of `ModelStorageElement`. // Once we've migrated most key types to `ModelStorageElement`, we should be // able to simplify this code. -#ifndef OR_TOOLS_MATH_OPT_CPP_KEY_TYPES_H_ -#define OR_TOOLS_MATH_OPT_CPP_KEY_TYPES_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_KEY_TYPES_H_ +#define ORTOOLS_MATH_OPT_CPP_KEY_TYPES_H_ #include #include @@ -181,4 +181,4 @@ inline absl::Status CheckModelStorage(const NullableModelStorageCPtr storage, } // namespace internal } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_KEY_TYPES_H_ +#endif // ORTOOLS_MATH_OPT_CPP_KEY_TYPES_H_ diff --git a/ortools/math_opt/cpp/linear_constraint.h b/ortools/math_opt/cpp/linear_constraint.h index 1d70c5f844..37fc548189 100644 --- a/ortools/math_opt/cpp/linear_constraint.h +++ b/ortools/math_opt/cpp/linear_constraint.h @@ -15,8 +15,8 @@ // IWYU pragma: friend "ortools/math_opt/cpp/.*" // An object oriented wrapper for linear constraints in ModelStorage. -#ifndef OR_TOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ -#define OR_TOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ +#define ORTOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ #include #include @@ -129,4 +129,4 @@ std::string LinearConstraint::ToString() const { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ +#endif // ORTOOLS_MATH_OPT_CPP_LINEAR_CONSTRAINT_H_ diff --git a/ortools/math_opt/cpp/map_filter.h b/ortools/math_opt/cpp/map_filter.h index dd2c622d44..a912457b34 100644 --- a/ortools/math_opt/cpp/map_filter.h +++ b/ortools/math_opt/cpp/map_filter.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_MAP_FILTER_H_ -#define OR_TOOLS_MATH_OPT_CPP_MAP_FILTER_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MAP_FILTER_H_ +#define ORTOOLS_MATH_OPT_CPP_MAP_FILTER_H_ #include #include @@ -223,4 +223,4 @@ SparseVectorFilterProto MapFilter::Proto() const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_MAP_FILTER_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MAP_FILTER_H_ diff --git a/ortools/math_opt/cpp/matchers.h b/ortools/math_opt/cpp/matchers.h index 94cda641a4..5e6cd544f0 100644 --- a/ortools/math_opt/cpp/matchers.h +++ b/ortools/math_opt/cpp/matchers.h @@ -88,8 +88,8 @@ // blaze test experimental/users/rander/math_opt:matchers_error_messages // which is a fork of matchers_test.cc where the assertions are all negated // (note that every test should fail). -#ifndef OR_TOOLS_MATH_OPT_CPP_MATCHERS_H_ -#define OR_TOOLS_MATH_OPT_CPP_MATCHERS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MATCHERS_H_ +#define ORTOOLS_MATH_OPT_CPP_MATCHERS_H_ #include #include @@ -550,4 +550,4 @@ void PrintTo(const absl::flat_hash_map& id_map, std::ostream* const os) { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_MATCHERS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MATCHERS_H_ diff --git a/ortools/math_opt/cpp/math_opt.h b/ortools/math_opt/cpp/math_opt.h index 0d8ad311c9..80fdcd332c 100644 --- a/ortools/math_opt/cpp/math_opt.h +++ b/ortools/math_opt/cpp/math_opt.h @@ -13,11 +13,11 @@ // Global include for math_opt C++ API that includes anything necessary to // create a math problem and solve it in-process. -#ifndef OR_TOOLS_MATH_OPT_CPP_MATH_OPT_H_ -#define OR_TOOLS_MATH_OPT_CPP_MATH_OPT_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MATH_OPT_H_ +#define ORTOOLS_MATH_OPT_CPP_MATH_OPT_H_ #include "ortools/math_opt/cpp/model.h" // IWYU pragma: export #include "ortools/math_opt/cpp/solve.h" // IWYU pragma: export #include "ortools/math_opt/cpp/solver_resources.h" // IWYU pragma: export -#endif // OR_TOOLS_MATH_OPT_CPP_MATH_OPT_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MATH_OPT_H_ diff --git a/ortools/math_opt/cpp/message_callback.h b/ortools/math_opt/cpp/message_callback.h index 4cc527ea0d..89b85a18cb 100644 --- a/ortools/math_opt/cpp/message_callback.h +++ b/ortools/math_opt/cpp/message_callback.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ -#define OR_TOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ +#define ORTOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ #include #include @@ -96,4 +96,4 @@ MessageCallback RepeatedPtrFieldMessageCallback( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MESSAGE_CALLBACK_H_ diff --git a/ortools/math_opt/cpp/model.h b/ortools/math_opt/cpp/model.h index 6cb65ed256..d2a0ebb463 100644 --- a/ortools/math_opt/cpp/model.h +++ b/ortools/math_opt/cpp/model.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_MODEL_H_ -#define OR_TOOLS_MATH_OPT_CPP_MODEL_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MODEL_H_ +#define ORTOOLS_MATH_OPT_CPP_MODEL_H_ #include #include @@ -1639,4 +1639,4 @@ void Model::CheckModel(const ModelStorageCPtr other_storage) const { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_MODEL_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MODEL_H_ diff --git a/ortools/math_opt/cpp/model_solve_parameters.h b/ortools/math_opt/cpp/model_solve_parameters.h index dbad2ba050..6fb8c1513b 100644 --- a/ortools/math_opt/cpp/model_solve_parameters.h +++ b/ortools/math_opt/cpp/model_solve_parameters.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ -#define OR_TOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ +#define ORTOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ #include @@ -244,4 +244,4 @@ ModelSolveParameters ModelSolveParameters::OnlySomePrimalVariables( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_MODEL_SOLVE_PARAMETERS_H_ diff --git a/ortools/math_opt/cpp/objective.h b/ortools/math_opt/cpp/objective.h index 389e242b34..f925cfa557 100644 --- a/ortools/math_opt/cpp/objective.h +++ b/ortools/math_opt/cpp/objective.h @@ -15,8 +15,8 @@ // IWYU pragma: friend "ortools/math_opt/cpp/.*" // // An object oriented wrapper for objectives in ModelStorage. -#ifndef OR_TOOLS_MATH_OPT_CPP_OBJECTIVE_H_ -#define OR_TOOLS_MATH_OPT_CPP_OBJECTIVE_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_OBJECTIVE_H_ +#define ORTOOLS_MATH_OPT_CPP_OBJECTIVE_H_ #include #include @@ -221,4 +221,4 @@ Objective Objective::Auxiliary(const ModelStorageCPtr storage, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_OBJECTIVE_H_ +#endif // ORTOOLS_MATH_OPT_CPP_OBJECTIVE_H_ diff --git a/ortools/math_opt/cpp/parameters.h b/ortools/math_opt/cpp/parameters.h index 190d2ba108..ff64663042 100644 --- a/ortools/math_opt/cpp/parameters.h +++ b/ortools/math_opt/cpp/parameters.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_PARAMETERS_H_ -#define OR_TOOLS_MATH_OPT_CPP_PARAMETERS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_PARAMETERS_H_ +#define ORTOOLS_MATH_OPT_CPP_PARAMETERS_H_ #include #include @@ -439,4 +439,4 @@ std::string AbslUnparseFlag(SolveParameters solve_parameters); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_PARAMETERS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_PARAMETERS_H_ diff --git a/ortools/math_opt/cpp/remote_streaming_mode.h b/ortools/math_opt/cpp/remote_streaming_mode.h index c94a673e7f..27f9f71c2c 100644 --- a/ortools/math_opt/cpp/remote_streaming_mode.h +++ b/ortools/math_opt/cpp/remote_streaming_mode.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ -#define OR_TOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ +#define ORTOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ #include #include @@ -83,4 +83,4 @@ void AbslStringify(Sink& sink, const RemoteStreamingSolveMode mode) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ +#endif // ORTOOLS_MATH_OPT_CPP_REMOTE_STREAMING_MODE_H_ diff --git a/ortools/math_opt/cpp/solution.h b/ortools/math_opt/cpp/solution.h index a4218d2022..f1e688ec1c 100644 --- a/ortools/math_opt/cpp/solution.h +++ b/ortools/math_opt/cpp/solution.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLUTION_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLUTION_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLUTION_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLUTION_H_ #include @@ -274,4 +274,4 @@ struct Solution { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_SOLUTION_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLUTION_H_ diff --git a/ortools/math_opt/cpp/solve.h b/ortools/math_opt/cpp/solve.h index 70473e7b85..e851142d02 100644 --- a/ortools/math_opt/cpp/solve.h +++ b/ortools/math_opt/cpp/solve.h @@ -21,8 +21,8 @@ // For users that need incremental solving, there is the IncrementalSolver // class. -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVE_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVE_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVE_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVE_H_ #include #include @@ -122,4 +122,4 @@ absl::StatusOr> NewIncrementalSolver( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVE_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVE_H_ diff --git a/ortools/math_opt/cpp/solve_arguments.h b/ortools/math_opt/cpp/solve_arguments.h index 2bc252705e..115b5529e1 100644 --- a/ortools/math_opt/cpp/solve_arguments.h +++ b/ortools/math_opt/cpp/solve_arguments.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ #include "absl/status/status.h" #include "ortools/math_opt/cpp/callback.h" // IWYU pragma: export @@ -93,4 +93,4 @@ struct SolveArguments { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVE_ARGUMENTS_H_ diff --git a/ortools/math_opt/cpp/solve_impl.h b/ortools/math_opt/cpp/solve_impl.h index 803673063e..fbb082732f 100644 --- a/ortools/math_opt/cpp/solve_impl.h +++ b/ortools/math_opt/cpp/solve_impl.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ #include @@ -121,4 +121,4 @@ class IncrementalSolverImpl : public IncrementalSolver { } // namespace operations_research::math_opt::internal -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVE_IMPL_H_ diff --git a/ortools/math_opt/cpp/solve_result.h b/ortools/math_opt/cpp/solve_result.h index 07b8a9ff41..614978e235 100644 --- a/ortools/math_opt/cpp/solve_result.h +++ b/ortools/math_opt/cpp/solve_result.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ #include #include @@ -648,4 +648,4 @@ std::ostream& operator<<(std::ostream& out, const SolveResult& result); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVE_RESULT_H_ diff --git a/ortools/math_opt/cpp/solver_init_arguments.h b/ortools/math_opt/cpp/solver_init_arguments.h index fe0e401083..6196416929 100644 --- a/ortools/math_opt/cpp/solver_init_arguments.h +++ b/ortools/math_opt/cpp/solver_init_arguments.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ #include "ortools/math_opt/core/non_streamable_solver_init_arguments.h" // IWYU pragma: export #include "ortools/math_opt/cpp/streamable_solver_init_arguments.h" // IWYU pragma: export @@ -69,4 +69,4 @@ struct SolverInitArguments { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVER_INIT_ARGUMENTS_H_ diff --git a/ortools/math_opt/cpp/solver_resources.h b/ortools/math_opt/cpp/solver_resources.h index 54ca852a84..27e4c12069 100644 --- a/ortools/math_opt/cpp/solver_resources.h +++ b/ortools/math_opt/cpp/solver_resources.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ -#define OR_TOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ +#define ORTOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ #include #include @@ -84,4 +84,4 @@ std::string AbslUnparseFlag(const SolverResources& solver_resources); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SOLVER_RESOURCES_H_ diff --git a/ortools/math_opt/cpp/sparse_containers.h b/ortools/math_opt/cpp/sparse_containers.h index 9627fc2431..dfd90be91e 100644 --- a/ortools/math_opt/cpp/sparse_containers.h +++ b/ortools/math_opt/cpp/sparse_containers.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ -#define OR_TOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ +#define ORTOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ #include @@ -146,4 +146,4 @@ SparseBasisStatusVector LinearConstraintBasisToProto( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_SPARSE_CONTAINERS_H_ diff --git a/ortools/math_opt/cpp/statistics.h b/ortools/math_opt/cpp/statistics.h index ad0c59d785..6689212976 100644 --- a/ortools/math_opt/cpp/statistics.h +++ b/ortools/math_opt/cpp/statistics.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_STATISTICS_H_ -#define OR_TOOLS_MATH_OPT_CPP_STATISTICS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_STATISTICS_H_ +#define ORTOOLS_MATH_OPT_CPP_STATISTICS_H_ #include #include @@ -64,4 +64,4 @@ ModelRanges ComputeModelRanges(const Model& model); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_STATISTICS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_STATISTICS_H_ diff --git a/ortools/math_opt/cpp/streamable_solver_init_arguments.h b/ortools/math_opt/cpp/streamable_solver_init_arguments.h index e3379abf8b..aa18a18fce 100644 --- a/ortools/math_opt/cpp/streamable_solver_init_arguments.h +++ b/ortools/math_opt/cpp/streamable_solver_init_arguments.h @@ -20,8 +20,8 @@ // Parameters that can't be streamed (for example instances of C/C++ types that // only exist in the process memory) are dealt with implementations of // the NonStreamableSolverInitArguments. -#ifndef OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ #include #include @@ -101,4 +101,4 @@ struct StreamableSolverInitArguments { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_STREAMABLE_SOLVER_INIT_ARGUMENTS_H_ diff --git a/ortools/math_opt/cpp/update_result.h b/ortools/math_opt/cpp/update_result.h index 978ec4bbe6..ad6affd756 100644 --- a/ortools/math_opt/cpp/update_result.h +++ b/ortools/math_opt/cpp/update_result.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ -#define OR_TOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ +#define ORTOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ #include "ortools/math_opt/model_update.pb.h" @@ -30,4 +30,4 @@ struct UpdateResult { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ +#endif // ORTOOLS_MATH_OPT_CPP_UPDATE_RESULT_H_ diff --git a/ortools/math_opt/cpp/update_tracker.h b/ortools/math_opt/cpp/update_tracker.h index 81f1918ffe..1214686999 100644 --- a/ortools/math_opt/cpp/update_tracker.h +++ b/ortools/math_opt/cpp/update_tracker.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ -#define OR_TOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ +#define ORTOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ #include #include @@ -115,4 +115,4 @@ constexpr absl::string_view kModelIsDestroyed = } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ +#endif // ORTOOLS_MATH_OPT_CPP_UPDATE_TRACKER_H_ diff --git a/ortools/math_opt/cpp/variable_and_expressions.h b/ortools/math_opt/cpp/variable_and_expressions.h index 5bd36030e6..981a5bcf70 100644 --- a/ortools/math_opt/cpp/variable_and_expressions.h +++ b/ortools/math_opt/cpp/variable_and_expressions.h @@ -89,8 +89,8 @@ // While there is some complexity in the source, users typically should not need // to look at types other than Variable and LinearExpression too closely. Their // code usually will only refer to those types. -#ifndef OR_TOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ -#define OR_TOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ +#ifndef ORTOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ +#define ORTOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ #include @@ -3068,4 +3068,4 @@ BoundedQuadraticExpression operator==(const double lhs, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ +#endif // ORTOOLS_MATH_OPT_CPP_VARIABLE_AND_EXPRESSIONS_H_ diff --git a/ortools/math_opt/elemental/arrays.h b/ortools/math_opt/elemental/arrays.h index c7cc163709..082d7c757f 100644 --- a/ortools/math_opt/elemental/arrays.h +++ b/ortools/math_opt/elemental/arrays.h @@ -13,8 +13,8 @@ // Utilities to apply template functors on index ranges. // See tests for examples. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ #include #include @@ -71,4 +71,4 @@ constexpr decltype(auto) ForEach(Fn&& fn, Tuple&& tuple) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ARRAYS_H_ diff --git a/ortools/math_opt/elemental/attr_diff.h b/ortools/math_opt/elemental/attr_diff.h index 4417e8b948..e95791298d 100644 --- a/ortools/math_opt/elemental/attr_diff.h +++ b/ortools/math_opt/elemental/attr_diff.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ #include #include @@ -55,4 +55,4 @@ class AttrDiff { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_DIFF_H_ diff --git a/ortools/math_opt/elemental/attr_key.h b/ortools/math_opt/elemental/attr_key.h index 0dfe1dcf98..96471b637f 100644 --- a/ortools/math_opt/elemental/attr_key.h +++ b/ortools/math_opt/elemental/attr_key.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ #include #include @@ -359,4 +359,4 @@ using AttrKeyHashMap = } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_KEY_H_ diff --git a/ortools/math_opt/elemental/attr_storage.h b/ortools/math_opt/elemental/attr_storage.h index 6fa16a5cd6..f8d255559c 100644 --- a/ortools/math_opt/elemental/attr_storage.h +++ b/ortools/math_opt/elemental/attr_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ #include #include @@ -426,4 +426,4 @@ class AttrStorage { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ATTR_STORAGE_H_ diff --git a/ortools/math_opt/elemental/attributes.h b/ortools/math_opt/elemental/attributes.h index 7c628305a4..8f76aeacbb 100644 --- a/ortools/math_opt/elemental/attributes.h +++ b/ortools/math_opt/elemental/attributes.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ #include #include @@ -346,4 +346,4 @@ std::enable_if_t<(GetIndexIfAttr() >= 0), std::ostream&> operator<<( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ATTRIBUTES_H_ diff --git a/ortools/math_opt/elemental/codegen/gen.h b/ortools/math_opt/elemental/codegen/gen.h index 62faf50a14..742766e0c6 100644 --- a/ortools/math_opt/elemental/codegen/gen.h +++ b/ortools/math_opt/elemental/codegen/gen.h @@ -12,8 +12,8 @@ // limitations under the License. // Language-agnostic utilities for `Elemental` codegen. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ #include #include @@ -140,4 +140,4 @@ class CodeGenerator { } // namespace operations_research::math_opt::codegen -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_H_ diff --git a/ortools/math_opt/elemental/codegen/gen_c.h b/ortools/math_opt/elemental/codegen/gen_c.h index 8850f5f32d..a0ffa04fff 100644 --- a/ortools/math_opt/elemental/codegen/gen_c.h +++ b/ortools/math_opt/elemental/codegen/gen_c.h @@ -12,8 +12,8 @@ // limitations under the License. // The C99 code generator. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ #include @@ -29,4 +29,4 @@ std::unique_ptr C99Definitions(); } // namespace operations_research::math_opt::codegen -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_C_H_ diff --git a/ortools/math_opt/elemental/codegen/gen_python.h b/ortools/math_opt/elemental/codegen/gen_python.h index 309ce17193..c1d28dd9ca 100644 --- a/ortools/math_opt/elemental/codegen/gen_python.h +++ b/ortools/math_opt/elemental/codegen/gen_python.h @@ -12,8 +12,8 @@ // limitations under the License. // The python code generator. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ #include @@ -27,4 +27,4 @@ std::unique_ptr PythonEnums(); } // namespace operations_research::math_opt::codegen -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_GEN_PYTHON_H_ diff --git a/ortools/math_opt/elemental/codegen/testing.h b/ortools/math_opt/elemental/codegen/testing.h index c9cb147232..e93d441f9e 100644 --- a/ortools/math_opt/elemental/codegen/testing.h +++ b/ortools/math_opt/elemental/codegen/testing.h @@ -13,8 +13,8 @@ // Test descriptors. This avoids depending on attributes from `attributes.h` // in the tests to decouple the codegen tests from `attributes.h`. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ #include "ortools/math_opt/elemental/codegen/gen.h" @@ -37,4 +37,4 @@ inline AttrOpFunctionInfo GetTestFunctionInfo(bool with_key_parameter) { } // namespace operations_research::math_opt::codegen -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_CODEGEN_TESTING_H_ diff --git a/ortools/math_opt/elemental/derived_data.h b/ortools/math_opt/elemental/derived_data.h index 7ae7ca0358..6ab4b663a2 100644 --- a/ortools/math_opt/elemental/derived_data.h +++ b/ortools/math_opt/elemental/derived_data.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ #include #include @@ -215,4 +215,4 @@ inline std::string FormatAttrValue(const bool v) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_DERIVED_DATA_H_ diff --git a/ortools/math_opt/elemental/diff.h b/ortools/math_opt/elemental/diff.h index cdbc2d9b08..d239fec0da 100644 --- a/ortools/math_opt/elemental/diff.h +++ b/ortools/math_opt/elemental/diff.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ #include #include @@ -154,4 +154,4 @@ class Diff { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_DIFF_H_ diff --git a/ortools/math_opt/elemental/element_diff.h b/ortools/math_opt/elemental/element_diff.h index 45fca231b8..b29e9c47fe 100644 --- a/ortools/math_opt/elemental/element_diff.h +++ b/ortools/math_opt/elemental/element_diff.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ #include @@ -61,4 +61,4 @@ class ElementDiff { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_DIFF_H_ diff --git a/ortools/math_opt/elemental/element_ref_tracker.h b/ortools/math_opt/elemental/element_ref_tracker.h index cd755e40f2..534c0aabc2 100644 --- a/ortools/math_opt/elemental/element_ref_tracker.h +++ b/ortools/math_opt/elemental/element_ref_tracker.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" @@ -78,4 +78,4 @@ class ElementRefTracker {}; } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_REF_TRACKER_H_ diff --git a/ortools/math_opt/elemental/element_storage.h b/ortools/math_opt/elemental/element_storage.h index e4f011412a..7a7831c193 100644 --- a/ortools/math_opt/elemental/element_storage.h +++ b/ortools/math_opt/elemental/element_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ #include #include @@ -188,4 +188,4 @@ class ElementStorage { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENT_STORAGE_H_ diff --git a/ortools/math_opt/elemental/elemental.h b/ortools/math_opt/elemental/elemental.h index 9134bd95ad..9bd82144fc 100644 --- a/ortools/math_opt/elemental/elemental.h +++ b/ortools/math_opt/elemental/elemental.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ #include #include @@ -542,4 +542,4 @@ std::vector> Elemental::ModifiedKeysThatExist( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_H_ diff --git a/ortools/math_opt/elemental/elemental_differencer.h b/ortools/math_opt/elemental/elemental_differencer.h index 2fefae3ec9..b39a44d376 100644 --- a/ortools/math_opt/elemental/elemental_differencer.h +++ b/ortools/math_opt/elemental/elemental_differencer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ #include #include @@ -230,4 +230,4 @@ bool ElementalDifference::AttributeDifference::Empty() const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_DIFFERENCER_H_ diff --git a/ortools/math_opt/elemental/elemental_matcher.h b/ortools/math_opt/elemental/elemental_matcher.h index 771ea4141a..abeec84227 100644 --- a/ortools/math_opt/elemental/elemental_matcher.h +++ b/ortools/math_opt/elemental/elemental_matcher.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ #include @@ -50,4 +50,4 @@ inline testing::Matcher EquivToElemental( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTAL_MATCHER_H_ diff --git a/ortools/math_opt/elemental/elements.h b/ortools/math_opt/elemental/elements.h index bd944e647b..d641bdd465 100644 --- a/ortools/math_opt/elemental/elements.h +++ b/ortools/math_opt/elemental/elements.h @@ -15,8 +15,8 @@ // IWYU pragma: friend "ortools/math_opt/cpp/.*" // IWYU pragma: friend "ortools/math_opt/elemental/.*" -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ #include #include @@ -85,4 +85,4 @@ using IndicatorConstraintId = ElementId; } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_ELEMENTS_H_ diff --git a/ortools/math_opt/elemental/safe_attr_ops.h b/ortools/math_opt/elemental/safe_attr_ops.h index d359037bed..3d4f4a8bc8 100644 --- a/ortools/math_opt/elemental/safe_attr_ops.h +++ b/ortools/math_opt/elemental/safe_attr_ops.h @@ -12,8 +12,8 @@ // limitations under the License. // Common code between python & C bindings. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ #include #include @@ -70,4 +70,4 @@ struct AttrOp { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_SAFE_ATTR_OPS_H_ diff --git a/ortools/math_opt/elemental/symmetry.h b/ortools/math_opt/elemental/symmetry.h index a2b812dcee..e140389642 100644 --- a/ortools/math_opt/elemental/symmetry.h +++ b/ortools/math_opt/elemental/symmetry.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ #include #include @@ -84,4 +84,4 @@ struct ElementSymmetry { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_SYMMETRY_H_ diff --git a/ortools/math_opt/elemental/tagged_id.h b/ortools/math_opt/elemental/tagged_id.h index a3103cc240..a70f021fbc 100644 --- a/ortools/math_opt/elemental/tagged_id.h +++ b/ortools/math_opt/elemental/tagged_id.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ #include #include @@ -228,4 +228,4 @@ using TaggedIdsSpan = typename TaggedIdsVector::View; } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_TAGGED_ID_H_ diff --git a/ortools/math_opt/elemental/testing.h b/ortools/math_opt/elemental/testing.h index 386fccd298..9fe4b463d6 100644 --- a/ortools/math_opt/elemental/testing.h +++ b/ortools/math_opt/elemental/testing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ #include #include @@ -45,4 +45,4 @@ std::vector> MakeRandomAttrKeys(const int num_keys, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_TESTING_H_ diff --git a/ortools/math_opt/elemental/thread_safe_id_map.h b/ortools/math_opt/elemental/thread_safe_id_map.h index 4aa4b10874..4f3412d8ce 100644 --- a/ortools/math_opt/elemental/thread_safe_id_map.h +++ b/ortools/math_opt/elemental/thread_safe_id_map.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ -#define OR_TOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ +#ifndef ORTOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ +#define ORTOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ #include #include @@ -274,4 +274,4 @@ void ThreadSafeIdMap::UpdateHasPendingModifications() { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ +#endif // ORTOOLS_MATH_OPT_ELEMENTAL_THREAD_SAFE_ID_MAP_H_ diff --git a/ortools/math_opt/io/lp/lp_model.h b/ortools/math_opt/io/lp/lp_model.h index ae1ed69659..b291581d8b 100644 --- a/ortools/math_opt/io/lp/lp_model.h +++ b/ortools/math_opt/io/lp/lp_model.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ -#define OR_TOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ +#ifndef ORTOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ +#define ORTOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ #include #include @@ -95,4 +95,4 @@ std::ostream& operator<<(std::ostream& ostr, const LpModel& model); } // namespace operations_research::lp_format -#endif // OR_TOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ +#endif // ORTOOLS_MATH_OPT_IO_LP_LP_MODEL_H_ diff --git a/ortools/math_opt/io/lp/lp_name.h b/ortools/math_opt/io/lp/lp_name.h index 2103a1bee5..cfd9dadad4 100644 --- a/ortools/math_opt/io/lp/lp_name.h +++ b/ortools/math_opt/io/lp/lp_name.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_LP_LP_NAME_H_ -#define OR_TOOLS_MATH_OPT_IO_LP_LP_NAME_H_ +#ifndef ORTOOLS_MATH_OPT_IO_LP_LP_NAME_H_ +#define ORTOOLS_MATH_OPT_IO_LP_LP_NAME_H_ #include "absl/status/status.h" @@ -28,4 +28,4 @@ absl::Status ValidateName(absl::string_view name); } // namespace operations_research::lp_format -#endif // OR_TOOLS_MATH_OPT_IO_LP_LP_NAME_H_ +#endif // ORTOOLS_MATH_OPT_IO_LP_LP_NAME_H_ diff --git a/ortools/math_opt/io/lp/model_utils.h b/ortools/math_opt/io/lp/model_utils.h index ac4c1ce1fa..1fe244fc7b 100644 --- a/ortools/math_opt/io/lp/model_utils.h +++ b/ortools/math_opt/io/lp/model_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ -#define OR_TOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ +#ifndef ORTOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ +#define ORTOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ #include @@ -56,4 +56,4 @@ absl::StatusOr PermuteVariables( } // namespace operations_research::lp_format -#endif // OR_TOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ +#endif // ORTOOLS_MATH_OPT_IO_LP_MODEL_UTILS_H_ diff --git a/ortools/math_opt/io/lp_converter.h b/ortools/math_opt/io/lp_converter.h index 3b3e379de2..dcdf8de454 100644 --- a/ortools/math_opt/io/lp_converter.h +++ b/ortools/math_opt/io/lp_converter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_LP_CONVERTER_H_ -#define OR_TOOLS_MATH_OPT_IO_LP_CONVERTER_H_ +#ifndef ORTOOLS_MATH_OPT_IO_LP_CONVERTER_H_ +#define ORTOOLS_MATH_OPT_IO_LP_CONVERTER_H_ #include @@ -39,4 +39,4 @@ absl::StatusOr ModelProtoToLp(const ModelProto& model); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_IO_LP_CONVERTER_H_ +#endif // ORTOOLS_MATH_OPT_IO_LP_CONVERTER_H_ diff --git a/ortools/math_opt/io/lp_parser.h b/ortools/math_opt/io/lp_parser.h index ff48d08bfc..9a8c0a5cac 100644 --- a/ortools/math_opt/io/lp_parser.h +++ b/ortools/math_opt/io/lp_parser.h @@ -19,8 +19,8 @@ // https://lpsolve.sourceforge.net/5.5/lp-format.htm // https://lpsolve.sourceforge.net/5.5/CPLEX-format.htm // for a comparison. -#ifndef OR_TOOLS_MATH_OPT_IO_LP_PARSER_H_ -#define OR_TOOLS_MATH_OPT_IO_LP_PARSER_H_ +#ifndef ORTOOLS_MATH_OPT_IO_LP_PARSER_H_ +#define ORTOOLS_MATH_OPT_IO_LP_PARSER_H_ #include "absl/status/statusor.h" #include "absl/strings/string_view.h" @@ -60,4 +60,4 @@ absl::StatusOr ModelProtoFromLp(absl::string_view lp_data); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_IO_LP_PARSER_H_ +#endif // ORTOOLS_MATH_OPT_IO_LP_PARSER_H_ diff --git a/ortools/math_opt/io/mps_converter.h b/ortools/math_opt/io/mps_converter.h index 75a2ec84b3..206c51234d 100644 --- a/ortools/math_opt/io/mps_converter.h +++ b/ortools/math_opt/io/mps_converter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ -#define OR_TOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ +#ifndef ORTOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ +#define ORTOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ #include @@ -40,4 +40,4 @@ absl::StatusOr ReadMpsFile(absl::string_view filename); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ +#endif // ORTOOLS_MATH_OPT_IO_MPS_CONVERTER_H_ diff --git a/ortools/math_opt/io/names_removal.h b/ortools/math_opt/io/names_removal.h index 96dfe0585f..b436cdaf1b 100644 --- a/ortools/math_opt/io/names_removal.h +++ b/ortools/math_opt/io/names_removal.h @@ -17,8 +17,8 @@ // refuse. The functions in this header can be use to mitigate that. // // These functions can also be used to anonymize models before saving them. -#ifndef OR_TOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ -#define OR_TOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ +#ifndef ORTOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ +#define ORTOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ #include "ortools/math_opt/model.pb.h" #include "ortools/math_opt/model_update.pb.h" @@ -33,4 +33,4 @@ void RemoveNames(ModelUpdateProto& update); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ +#endif // ORTOOLS_MATH_OPT_IO_NAMES_REMOVAL_H_ diff --git a/ortools/math_opt/io/proto_converter.h b/ortools/math_opt/io/proto_converter.h index dc1a107166..61f7d14d7d 100644 --- a/ortools/math_opt/io/proto_converter.h +++ b/ortools/math_opt/io/proto_converter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ -#define OR_TOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ +#ifndef ORTOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ +#define ORTOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ #include @@ -62,4 +62,4 @@ absl::StatusOr MathOptModelToMPModelProto( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ +#endif // ORTOOLS_MATH_OPT_IO_PROTO_CONVERTER_H_ diff --git a/ortools/math_opt/labs/dualizer.h b/ortools/math_opt/labs/dualizer.h index 321ebc5245..5c3cb061b9 100644 --- a/ortools/math_opt/labs/dualizer.h +++ b/ortools/math_opt/labs/dualizer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_LABS_DUALIZER_H_ -#define OR_TOOLS_MATH_OPT_LABS_DUALIZER_H_ +#ifndef ORTOOLS_MATH_OPT_LABS_DUALIZER_H_ +#define ORTOOLS_MATH_OPT_LABS_DUALIZER_H_ #include #include @@ -50,4 +50,4 @@ void AddRobustConstraint(const Model& uncertainty_model, Variable rhs, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_LABS_DUALIZER_H_ +#endif // ORTOOLS_MATH_OPT_LABS_DUALIZER_H_ diff --git a/ortools/math_opt/labs/general_constraint_to_mip.h b/ortools/math_opt/labs/general_constraint_to_mip.h index f857ff2909..aa7797d938 100644 --- a/ortools/math_opt/labs/general_constraint_to_mip.h +++ b/ortools/math_opt/labs/general_constraint_to_mip.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ -#define OR_TOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ +#ifndef ORTOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ +#define ORTOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ #include "absl/status/status.h" #include "ortools/math_opt/cpp/math_opt.h" @@ -41,4 +41,4 @@ absl::Status FormulateIndicatorConstraintAsMip( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ +#endif // ORTOOLS_MATH_OPT_LABS_GENERAL_CONSTRAINT_TO_MIP_H_ diff --git a/ortools/math_opt/labs/linear_expr_util.h b/ortools/math_opt/labs/linear_expr_util.h index f11fd35fda..994f6d269c 100644 --- a/ortools/math_opt/labs/linear_expr_util.h +++ b/ortools/math_opt/labs/linear_expr_util.h @@ -18,8 +18,8 @@ // anything, would be used widely. The function also makes many assumptions on // the input that are not easy to verify and can lead to confusing errors, // it is worth seeing if the API can be hardened a bit. -#ifndef OR_TOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ -#define OR_TOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ +#ifndef ORTOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ +#define ORTOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ #include "ortools/math_opt/cpp/math_opt.h" @@ -58,4 +58,4 @@ double UpperBound(const LinearExpression& linear_expression); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ +#endif // ORTOOLS_MATH_OPT_LABS_LINEAR_EXPR_UTIL_H_ diff --git a/ortools/math_opt/labs/solution_feasibility_checker.h b/ortools/math_opt/labs/solution_feasibility_checker.h index a625358122..823ce048b3 100644 --- a/ortools/math_opt/labs/solution_feasibility_checker.h +++ b/ortools/math_opt/labs/solution_feasibility_checker.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ -#define OR_TOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ +#ifndef ORTOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ +#define ORTOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ #include #include @@ -81,4 +81,4 @@ absl::StatusOr> ViolatedConstraintsAsStrings( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ +#endif // ORTOOLS_MATH_OPT_LABS_SOLUTION_FEASIBILITY_CHECKER_H_ diff --git a/ortools/math_opt/labs/solution_improvement.h b/ortools/math_opt/labs/solution_improvement.h index 8d3c2d8816..cef55c108c 100644 --- a/ortools/math_opt/labs/solution_improvement.h +++ b/ortools/math_opt/labs/solution_improvement.h @@ -12,8 +12,8 @@ // limitations under the License. // This file contains primal solution improvement heuristics. -#ifndef OR_TOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ -#define OR_TOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ +#ifndef ORTOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ +#define ORTOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ #include #include @@ -116,4 +116,4 @@ inline double RoundedUpperBound(const Variable v, const double tolerance) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ +#endif // ORTOOLS_MATH_OPT_LABS_SOLUTION_IMPROVEMENT_H_ diff --git a/ortools/math_opt/solver_tests/base_solver_test.h b/ortools/math_opt/solver_tests/base_solver_test.h index 0d7b2e3a51..3d815ad3ee 100644 --- a/ortools/math_opt/solver_tests/base_solver_test.h +++ b/ortools/math_opt/solver_tests/base_solver_test.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ #include "gtest/gtest.h" #include "ortools/math_opt/cpp/math_opt.h" @@ -38,4 +38,4 @@ bool ActivateDualRay(SolverType solver_type, SolveParameters& params); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_BASE_SOLVER_TEST_H_ diff --git a/ortools/math_opt/solver_tests/callback_tests.h b/ortools/math_opt/solver_tests/callback_tests.h index 4f04333da5..e6bf6fe2ed 100644 --- a/ortools/math_opt/solver_tests/callback_tests.h +++ b/ortools/math_opt/solver_tests/callback_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ #include #include @@ -129,4 +129,4 @@ class CallbackTest : public ::testing::TestWithParam {}; } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_CALLBACK_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/generic_tests.h b/ortools/math_opt/solver_tests/generic_tests.h index 10a0d99243..0ff8dea419 100644 --- a/ortools/math_opt/solver_tests/generic_tests.h +++ b/ortools/math_opt/solver_tests/generic_tests.h @@ -13,8 +13,8 @@ // This header groups parameteric tests to validates behaviors common to MIP and // LP solvers. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ #include #include @@ -109,4 +109,4 @@ class TimeLimitTest : public ::testing::TestWithParam { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_GENERIC_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/infeasible_subsystem_tests.h b/ortools/math_opt/solver_tests/infeasible_subsystem_tests.h index c1c7daf6c8..a80fe571b3 100644 --- a/ortools/math_opt/solver_tests/infeasible_subsystem_tests.h +++ b/ortools/math_opt/solver_tests/infeasible_subsystem_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ #include @@ -56,4 +56,4 @@ class InfeasibleSubsystemTest } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_INFEASIBLE_SUBSYSTEM_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/invalid_input_tests.h b/ortools/math_opt/solver_tests/invalid_input_tests.h index b2b800d31e..7036de6bd0 100644 --- a/ortools/math_opt/solver_tests/invalid_input_tests.h +++ b/ortools/math_opt/solver_tests/invalid_input_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ #include #include @@ -87,4 +87,4 @@ class InvalidParameterTest } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_INVALID_INPUT_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/ip_model_solve_parameters_tests.h b/ortools/math_opt/solver_tests/ip_model_solve_parameters_tests.h index f2f72a932e..86277d90d5 100644 --- a/ortools/math_opt/solver_tests/ip_model_solve_parameters_tests.h +++ b/ortools/math_opt/solver_tests/ip_model_solve_parameters_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ #include #include @@ -161,4 +161,4 @@ class LazyConstraintsTest } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MODEL_SOLVE_PARAMETERS_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/ip_multiple_solutions_tests.h b/ortools/math_opt/solver_tests/ip_multiple_solutions_tests.h index 904879a919..8036d70bbe 100644 --- a/ortools/math_opt/solver_tests/ip_multiple_solutions_tests.h +++ b/ortools/math_opt/solver_tests/ip_multiple_solutions_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ #include #include @@ -42,4 +42,4 @@ class IpMultipleSolutionsTest } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_MULTIPLE_SOLUTIONS_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/ip_parameter_tests.h b/ortools/math_opt/solver_tests/ip_parameter_tests.h index 3f3517e2a7..1f78949b99 100644 --- a/ortools/math_opt/solver_tests/ip_parameter_tests.h +++ b/ortools/math_opt/solver_tests/ip_parameter_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ #include #include @@ -176,4 +176,4 @@ class LargeInstanceIpParameterTest } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_IP_PARAMETER_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/logical_constraint_tests.h b/ortools/math_opt/solver_tests/logical_constraint_tests.h index 71f39e8949..becdf378d2 100644 --- a/ortools/math_opt/solver_tests/logical_constraint_tests.h +++ b/ortools/math_opt/solver_tests/logical_constraint_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ #include @@ -109,4 +109,4 @@ class IncrementalLogicalConstraintTest } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LOGICAL_CONSTRAINT_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/lp_incomplete_solve_tests.h b/ortools/math_opt/solver_tests/lp_incomplete_solve_tests.h index 78d6c17c66..20e32d4ca9 100644 --- a/ortools/math_opt/solver_tests/lp_incomplete_solve_tests.h +++ b/ortools/math_opt/solver_tests/lp_incomplete_solve_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ #include @@ -89,4 +89,4 @@ class LpIncompleteSolveTest } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INCOMPLETE_SOLVE_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/lp_initial_basis_tests.h b/ortools/math_opt/solver_tests/lp_initial_basis_tests.h index a055aeed2e..5075bf3106 100644 --- a/ortools/math_opt/solver_tests/lp_initial_basis_tests.h +++ b/ortools/math_opt/solver_tests/lp_initial_basis_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ #include "ortools/math_opt/cpp/math_opt.h" #include "ortools/math_opt/solver_tests/base_solver_test.h" @@ -52,4 +52,4 @@ class LpBasisStartTest : public BaseSolverTest { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_INITIAL_BASIS_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/lp_model_solve_parameters_tests.h b/ortools/math_opt/solver_tests/lp_model_solve_parameters_tests.h index 22a7a47c2d..62cd317c09 100644 --- a/ortools/math_opt/solver_tests/lp_model_solve_parameters_tests.h +++ b/ortools/math_opt/solver_tests/lp_model_solve_parameters_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ #include #include @@ -69,4 +69,4 @@ class LpModelSolveParametersTest } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_MODEL_SOLVE_PARAMETERS_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/lp_parameter_tests.h b/ortools/math_opt/solver_tests/lp_parameter_tests.h index 82bfc7cb66..62fc78c771 100644 --- a/ortools/math_opt/solver_tests/lp_parameter_tests.h +++ b/ortools/math_opt/solver_tests/lp_parameter_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ #include "gtest/gtest.h" #include "ortools/math_opt/cpp/math_opt.h" @@ -88,4 +88,4 @@ class LpParameterTest : public ::testing::TestWithParam { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_PARAMETER_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/lp_tests.h b/ortools/math_opt/solver_tests/lp_tests.h index 83c72f582a..12ff011898 100644 --- a/ortools/math_opt/solver_tests/lp_tests.h +++ b/ortools/math_opt/solver_tests/lp_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ #include #include @@ -93,4 +93,4 @@ class IncrementalLpTest : public BaseSolverTest { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_LP_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/mip_tests.h b/ortools/math_opt/solver_tests/mip_tests.h index cbc4764787..2347f883be 100644 --- a/ortools/math_opt/solver_tests/mip_tests.h +++ b/ortools/math_opt/solver_tests/mip_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ #include #include @@ -65,4 +65,4 @@ class IncrementalMipTest : public BaseSolverTest { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_MIP_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/multi_objective_tests.h b/ortools/math_opt/solver_tests/multi_objective_tests.h index 17903ae0f2..2028b37e03 100644 --- a/ortools/math_opt/solver_tests/multi_objective_tests.h +++ b/ortools/math_opt/solver_tests/multi_objective_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ #include #include @@ -94,4 +94,4 @@ class IncrementalMultiObjectiveTest } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_MULTI_OBJECTIVE_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/qc_tests.h b/ortools/math_opt/solver_tests/qc_tests.h index 528ddc40da..0db7ba79b4 100644 --- a/ortools/math_opt/solver_tests/qc_tests.h +++ b/ortools/math_opt/solver_tests/qc_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ #include @@ -102,4 +102,4 @@ class QcDualsTest : public testing::TestWithParam { }; } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_QC_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/qp_tests.h b/ortools/math_opt/solver_tests/qp_tests.h index 03550d2afa..82e640dbda 100644 --- a/ortools/math_opt/solver_tests/qp_tests.h +++ b/ortools/math_opt/solver_tests/qp_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ #include #include @@ -109,4 +109,4 @@ class QpDualsTest : public testing::TestWithParam { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_QP_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/second_order_cone_tests.h b/ortools/math_opt/solver_tests/second_order_cone_tests.h index 5cc9ed7ed3..d4ae4235e2 100644 --- a/ortools/math_opt/solver_tests/second_order_cone_tests.h +++ b/ortools/math_opt/solver_tests/second_order_cone_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ #include @@ -78,4 +78,4 @@ class IncrementalSecondOrderConeTest } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_SECOND_ORDER_CONE_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/status_tests.h b/ortools/math_opt/solver_tests/status_tests.h index a03e3602a1..dabcee6b12 100644 --- a/ortools/math_opt/solver_tests/status_tests.h +++ b/ortools/math_opt/solver_tests/status_tests.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ #include #include @@ -75,4 +75,4 @@ class StatusTest : public ::testing::TestWithParam { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_STATUS_TESTS_H_ diff --git a/ortools/math_opt/solver_tests/test_models.h b/ortools/math_opt/solver_tests/test_models.h index d878d4446f..95f0499667 100644 --- a/ortools/math_opt/solver_tests/test_models.h +++ b/ortools/math_opt/solver_tests/test_models.h @@ -12,8 +12,8 @@ // limitations under the License. // Holds MathOpt models that are shared across tests from this directory. -#ifndef OR_TOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ -#define OR_TOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ +#define ORTOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ #include @@ -84,4 +84,4 @@ std::unique_ptr IndependentSetCompleteGraph(bool integer, int n = 10); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVER_TESTS_TEST_MODELS_H_ diff --git a/ortools/math_opt/solvers/cp_sat_solver.h b/ortools/math_opt/solvers/cp_sat_solver.h index fb6aa8e8c0..a7c0dbe9cf 100644 --- a/ortools/math_opt/solvers/cp_sat_solver.h +++ b/ortools/math_opt/solvers/cp_sat_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ #include #include @@ -80,4 +80,4 @@ class CpSatSolver : public SolverInterface { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_CP_SAT_SOLVER_H_ diff --git a/ortools/math_opt/solvers/glop_solver.h b/ortools/math_opt/solvers/glop_solver.h index f33e4a15e9..b80893ab27 100644 --- a/ortools/math_opt/solvers/glop_solver.h +++ b/ortools/math_opt/solvers/glop_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ #include @@ -110,4 +110,4 @@ class GlopSolver : public SolverInterface { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GLOP_SOLVER_H_ diff --git a/ortools/math_opt/solvers/glpk/gap.h b/ortools/math_opt/solvers/glpk/gap.h index 593a3e9dc7..2804b1e8a3 100644 --- a/ortools/math_opt/solvers/glpk/gap.h +++ b/ortools/math_opt/solvers/glpk/gap.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ namespace operations_research::math_opt { @@ -40,4 +40,4 @@ double WorstGLPKDualBound(bool is_maximize, double objective_value, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GLPK_GAP_H_ diff --git a/ortools/math_opt/solvers/glpk/glpk_sparse_vector.h b/ortools/math_opt/solvers/glpk/glpk_sparse_vector.h index 372ba3dbae..3c1fac10dd 100644 --- a/ortools/math_opt/solvers/glpk/glpk_sparse_vector.h +++ b/ortools/math_opt/solvers/glpk/glpk_sparse_vector.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ #include #include @@ -199,4 +199,4 @@ void GlpkSparseVector::Set(const int index, const double value) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GLPK_GLPK_SPARSE_VECTOR_H_ diff --git a/ortools/math_opt/solvers/glpk/rays.h b/ortools/math_opt/solvers/glpk/rays.h index ce80d8be4c..9d73b3e1af 100644 --- a/ortools/math_opt/solvers/glpk/rays.h +++ b/ortools/math_opt/solvers/glpk/rays.h @@ -14,8 +14,8 @@ // This header defines primal/dual unboundness ray computation functions for // GLPK solver. They use the index space of the computation form of the model as // defined in cs/ortools/glpk/glpk_computational_form.h. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ #include #include @@ -82,4 +82,4 @@ absl::StatusOr> GlpkComputeUnboundRay(glp_prob* problem); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GLPK_RAYS_H_ diff --git a/ortools/math_opt/solvers/glpk_solver.h b/ortools/math_opt/solvers/glpk_solver.h index c370bd92c6..790ae48e68 100644 --- a/ortools/math_opt/solvers/glpk_solver.h +++ b/ortools/math_opt/solvers/glpk_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ #include #include @@ -239,4 +239,4 @@ bool GlpkSolver::Variables::IsInteger(glp_prob* const problem, const int j) { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GLPK_SOLVER_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip.h b/ortools/math_opt/solvers/gscip/gscip.h index 6d828d6015..ff508cec2d 100644 --- a/ortools/math_opt/solvers/gscip/gscip.h +++ b/ortools/math_opt/solvers/gscip/gscip.h @@ -54,8 +54,8 @@ // NOTE(user): much of the API uses const std::string& instead of // absl::string_view because the underlying SCIP API needs a null terminated // char*. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ #include #include @@ -690,4 +690,4 @@ absl::StatusOr GScip::AddConstraintForHandler( } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_callback_result.h b/ortools/math_opt/solvers/gscip/gscip_callback_result.h index 916fcbecd8..bd34774a50 100644 --- a/ortools/math_opt/solvers/gscip/gscip_callback_result.h +++ b/ortools/math_opt/solvers/gscip/gscip_callback_result.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ #include "scip/type_result.h" #include "scip/type_retcode.h" @@ -50,4 +50,4 @@ SCIP_RESULT ConvertGScipCallbackResult(GScipCallbackResult result); } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CALLBACK_RESULT_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_constraint_handler.h b/ortools/math_opt/solvers/gscip/gscip_constraint_handler.h index d290f20169..e43172b8c5 100644 --- a/ortools/math_opt/solvers/gscip/gscip_constraint_handler.h +++ b/ortools/math_opt/solvers/gscip/gscip_constraint_handler.h @@ -15,8 +15,8 @@ // described at https://www.scipopt.org/doc/html/CONS.php. For instructions to // write a constraint handler, see the documentation of GScipConstraintHandler. // Examples can be found in gscip_constraint_handler_test.cc. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ #include #include @@ -719,4 +719,4 @@ GScipConstraintHandler::CallSeparateSolution( } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_CONSTRAINT_HANDLER_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_event_handler.h b/ortools/math_opt/solvers/gscip/gscip_event_handler.h index 5dbf0cd593..8e6387fa4b 100644 --- a/ortools/math_opt/solvers/gscip/gscip_event_handler.h +++ b/ortools/math_opt/solvers/gscip/gscip_event_handler.h @@ -13,8 +13,8 @@ // Provides a safe C++ interface for SCIP event handlers, which are described at // https://www.scipopt.org/doc/html/EVENT.php. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ #include #include @@ -196,4 +196,4 @@ class GScipEventHandler { } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EVENT_HANDLER_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_ext.h b/ortools/math_opt/solvers/gscip/gscip_ext.h index 1dbba8d143..b2e51c589a 100644 --- a/ortools/math_opt/solvers/gscip/gscip_ext.h +++ b/ortools/math_opt/solvers/gscip/gscip_ext.h @@ -23,8 +23,8 @@ // // TODO(user): either implement with SCIP constraint handlers or use a solver // independent implementation. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ #include #include @@ -107,4 +107,4 @@ absl::Status GScipAddQuadraticObjectiveTerm( } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_EXT_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_from_mp_model_proto.h b/ortools/math_opt/solvers/gscip/gscip_from_mp_model_proto.h index a1fbc94379..1afe6212cf 100644 --- a/ortools/math_opt/solvers/gscip/gscip_from_mp_model_proto.h +++ b/ortools/math_opt/solvers/gscip/gscip_from_mp_model_proto.h @@ -17,8 +17,8 @@ // Typically, prefer using scip_proto_solve.h. This class is useful if you need // to set a callback or otherwise customize your model in a way not supported by // the proto. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ #include #include @@ -82,4 +82,4 @@ struct GScipAndVariables { } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_FROM_MP_MODEL_PROTO_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_message_handler.h b/ortools/math_opt/solvers/gscip/gscip_message_handler.h index 74f53658cf..9e9d7fc408 100644 --- a/ortools/math_opt/solvers/gscip/gscip_message_handler.h +++ b/ortools/math_opt/solvers/gscip/gscip_message_handler.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ #include #include @@ -85,4 +85,4 @@ class ScopedSCIPMessageHandlerDisabler { } // namespace internal } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_MESSAGE_HANDLER_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_parameters.h b/ortools/math_opt/solvers/gscip/gscip_parameters.h index de88fc2ed4..57868719e0 100644 --- a/ortools/math_opt/solvers/gscip/gscip_parameters.h +++ b/ortools/math_opt/solvers/gscip/gscip_parameters.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ #include "absl/time/time.h" #include "ortools/math_opt/solvers/gscip/gscip.pb.h" @@ -64,4 +64,4 @@ void DisableAllCutsExceptUserDefined(GScipParameters* parameters); } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_PARAMETERS_H_ diff --git a/ortools/math_opt/solvers/gscip/gscip_testing.h b/ortools/math_opt/solvers/gscip/gscip_testing.h index 0e937d90ab..65435188f2 100644 --- a/ortools/math_opt/solvers/gscip/gscip_testing.h +++ b/ortools/math_opt/solvers/gscip/gscip_testing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ #include @@ -53,4 +53,4 @@ void AssertOptimalWithPartialBestSolution( } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_GSCIP_TESTING_H_ diff --git a/ortools/math_opt/solvers/gscip/math_opt_gscip_solver_constraint_handler.h b/ortools/math_opt/solvers/gscip/math_opt_gscip_solver_constraint_handler.h index df8ad5bce5..1f0b20471d 100644 --- a/ortools/math_opt/solvers/gscip/math_opt_gscip_solver_constraint_handler.h +++ b/ortools/math_opt/solvers/gscip/math_opt_gscip_solver_constraint_handler.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ #include #include @@ -97,4 +97,4 @@ class GScipSolverConstraintHandler } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_MATH_OPT_GSCIP_SOLVER_CONSTRAINT_HANDLER_H_ diff --git a/ortools/math_opt/solvers/gscip_solver.h b/ortools/math_opt/solvers/gscip_solver.h index dbf56cb630..d31b05e18b 100644 --- a/ortools/math_opt/solvers/gscip_solver.h +++ b/ortools/math_opt/solvers/gscip_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ #include #include @@ -182,4 +182,4 @@ class GScipSolver : public SolverInterface { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GSCIP_SOLVER_H_ diff --git a/ortools/math_opt/solvers/gurobi/g_gurobi.h b/ortools/math_opt/solvers/gurobi/g_gurobi.h index c6bd7c98df..2e0519d300 100644 --- a/ortools/math_opt/solvers/gurobi/g_gurobi.h +++ b/ortools/math_opt/solvers/gurobi/g_gurobi.h @@ -30,8 +30,8 @@ // provide an API fo setting parameters on the primary environment, only on // the child environment created by GRBnewmodel (for details see // https://www.gurobi.com/documentation/9.1/refman/c_newmodel.html ). -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ #include #include @@ -596,4 +596,4 @@ class Gurobi { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GUROBI_G_GUROBI_H_ diff --git a/ortools/math_opt/solvers/gurobi_callback.h b/ortools/math_opt/solvers/gurobi_callback.h index f9223bdc30..dd2f0346ca 100644 --- a/ortools/math_opt/solvers/gurobi_callback.h +++ b/ortools/math_opt/solvers/gurobi_callback.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ #include #include @@ -70,4 +70,4 @@ void GurobiCallbackImplFlush(const GurobiCallbackInput& callback_input, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GUROBI_CALLBACK_H_ diff --git a/ortools/math_opt/solvers/gurobi_init_arguments.h b/ortools/math_opt/solvers/gurobi_init_arguments.h index c1f13550f5..3e6cee91e1 100644 --- a/ortools/math_opt/solvers/gurobi_init_arguments.h +++ b/ortools/math_opt/solvers/gurobi_init_arguments.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ #include @@ -113,4 +113,4 @@ struct NonStreamableGurobiInitArguments } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GUROBI_INIT_ARGUMENTS_H_ diff --git a/ortools/math_opt/solvers/gurobi_solver.h b/ortools/math_opt/solvers/gurobi_solver.h index 81a8b24558..9cacb995df 100644 --- a/ortools/math_opt/solvers/gurobi_solver.h +++ b/ortools/math_opt/solvers/gurobi_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ #include #include @@ -474,4 +474,4 @@ class GurobiSolver : public SolverInterface { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_GUROBI_SOLVER_H_ diff --git a/ortools/math_opt/solvers/highs_solver.h b/ortools/math_opt/solvers/highs_solver.h index 145dbcf95f..eaba4360a6 100644 --- a/ortools/math_opt/solvers/highs_solver.h +++ b/ortools/math_opt/solvers/highs_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ #include #include @@ -174,4 +174,4 @@ class HighsSolver : public SolverInterface { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_HIGHS_SOLVER_H_ diff --git a/ortools/math_opt/solvers/message_callback_data.h b/ortools/math_opt/solvers/message_callback_data.h index 79fd85ecc6..3f8c418226 100644 --- a/ortools/math_opt/solvers/message_callback_data.h +++ b/ortools/math_opt/solvers/message_callback_data.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ #include #include @@ -109,4 +109,4 @@ class BufferedMessageCallback { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_MESSAGE_CALLBACK_DATA_H_ diff --git a/ortools/math_opt/solvers/pdlp_bridge.h b/ortools/math_opt/solvers/pdlp_bridge.h index dee3b21585..03163f6b61 100644 --- a/ortools/math_opt/solvers/pdlp_bridge.h +++ b/ortools/math_opt/solvers/pdlp_bridge.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ #include #include @@ -82,4 +82,4 @@ class PdlpBridge { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_PDLP_BRIDGE_H_ diff --git a/ortools/math_opt/solvers/pdlp_solver.h b/ortools/math_opt/solvers/pdlp_solver.h index 600d3d5481..edca6bd50d 100644 --- a/ortools/math_opt/solvers/pdlp_solver.h +++ b/ortools/math_opt/solvers/pdlp_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ #include @@ -67,4 +67,4 @@ class PdlpSolver : public SolverInterface { } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_PDLP_SOLVER_H_ diff --git a/ortools/math_opt/solvers/xpress/g_xpress.h b/ortools/math_opt/solvers/xpress/g_xpress.h index 70f5ba74c6..0dca7e7abe 100644 --- a/ortools/math_opt/solvers/xpress/g_xpress.h +++ b/ortools/math_opt/solvers/xpress/g_xpress.h @@ -22,8 +22,8 @@ // * Use std::string instead of null terminated char* for string values (note // that attribute names are still char*). // * When setting array data, accept const data (absl::Span). -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ #include #include @@ -131,4 +131,4 @@ class Xpress { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_XPRESS_G_XPRESS_H_ diff --git a/ortools/math_opt/solvers/xpress_solver.h b/ortools/math_opt/solvers/xpress_solver.h index 65c98b456f..bffe46e781 100644 --- a/ortools/math_opt/solvers/xpress_solver.h +++ b/ortools/math_opt/solvers/xpress_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ -#define OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ +#ifndef ORTOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ +#define ORTOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ #include #include @@ -183,4 +183,4 @@ class XpressSolver : public SolverInterface { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ +#endif // ORTOOLS_MATH_OPT_SOLVERS_XPRESS_SOLVER_H_ diff --git a/ortools/math_opt/storage/atomic_constraint_storage.h b/ortools/math_opt/storage/atomic_constraint_storage.h index 8ad9ea2e09..06b01e4c8f 100644 --- a/ortools/math_opt/storage/atomic_constraint_storage.h +++ b/ortools/math_opt/storage/atomic_constraint_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ #include #include @@ -292,4 +292,4 @@ AtomicConstraintStorage::Update(const Diff& diff) const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINT_STORAGE_H_ diff --git a/ortools/math_opt/storage/atomic_constraints_v2.h b/ortools/math_opt/storage/atomic_constraints_v2.h index b21b70df1d..ef4ae31869 100644 --- a/ortools/math_opt/storage/atomic_constraints_v2.h +++ b/ortools/math_opt/storage/atomic_constraints_v2.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ +#define ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ #include @@ -143,4 +143,4 @@ inline IndicatorConstraintData GetAtomicConstraint(IndicatorConstraintId id, } // namespace operations_research::math_opt::internal -#endif // OR_TOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_ATOMIC_CONSTRAINTS_V2_H_ diff --git a/ortools/math_opt/storage/iterators.h b/ortools/math_opt/storage/iterators.h index 0e70deafa7..40c641e661 100644 --- a/ortools/math_opt/storage/iterators.h +++ b/ortools/math_opt/storage/iterators.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_ITERATORS_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_ITERATORS_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_ITERATORS_H_ +#define ORTOOLS_MATH_OPT_STORAGE_ITERATORS_H_ #include @@ -126,4 +126,4 @@ auto MakeUpdateDataFieldRange(const UpdateTrackers& trackers) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_ITERATORS_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_ITERATORS_H_ diff --git a/ortools/math_opt/storage/linear_constraint_storage.h b/ortools/math_opt/storage/linear_constraint_storage.h index 2d425773c8..bf511a7dee 100644 --- a/ortools/math_opt/storage/linear_constraint_storage.h +++ b/ortools/math_opt/storage/linear_constraint_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ #include #include @@ -314,4 +314,4 @@ bool LinearConstraintStorage::diff_is_empty(const Diff& diff) const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_LINEAR_CONSTRAINT_STORAGE_H_ diff --git a/ortools/math_opt/storage/linear_expression_data.h b/ortools/math_opt/storage/linear_expression_data.h index b008cd2f33..ad1f245611 100644 --- a/ortools/math_opt/storage/linear_expression_data.h +++ b/ortools/math_opt/storage/linear_expression_data.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ +#define ORTOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ #include "absl/container/flat_hash_map.h" #include "ortools/math_opt/core/sorted.h" @@ -65,4 +65,4 @@ LinearExpressionData LinearExpressionData::FromProto( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_LINEAR_EXPRESSION_DATA_H_ diff --git a/ortools/math_opt/storage/model_storage.h b/ortools/math_opt/storage/model_storage.h index d150b33252..76940cb543 100644 --- a/ortools/math_opt/storage/model_storage.h +++ b/ortools/math_opt/storage/model_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ #ifdef MATHOPT_STORAGE_V2 @@ -1315,4 +1315,4 @@ using NullableModelStorageCPtr = const ModelStorage* absl_nullable; } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_H_ diff --git a/ortools/math_opt/storage/model_storage_item.h b/ortools/math_opt/storage/model_storage_item.h index 539993bb04..7bfcbd9dc7 100644 --- a/ortools/math_opt/storage/model_storage_item.h +++ b/ortools/math_opt/storage/model_storage_item.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ +#define ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ #include #include @@ -211,4 +211,4 @@ class ModelStorageItemContainer { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_ITEM_H_ diff --git a/ortools/math_opt/storage/model_storage_types.h b/ortools/math_opt/storage/model_storage_types.h index 1f7e8c49a2..00c03ec0b2 100644 --- a/ortools/math_opt/storage/model_storage_types.h +++ b/ortools/math_opt/storage/model_storage_types.h @@ -14,8 +14,8 @@ // IWYU pragma: private, include "ortools/math_opt/cpp/math_opt.h" // IWYU pragma: friend "ortools/math_opt/cpp/.*" -#ifndef OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ +#define ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ #include #include @@ -36,4 +36,4 @@ DEFINE_STRONG_INT_TYPE(UpdateTrackerId, int64_t); } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_TYPES_H_ diff --git a/ortools/math_opt/storage/model_storage_v2.h b/ortools/math_opt/storage/model_storage_v2.h index 4221f2c654..cd71e0756c 100644 --- a/ortools/math_opt/storage/model_storage_v2.h +++ b/ortools/math_opt/storage/model_storage_v2.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ +#define ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ #include #include @@ -1133,4 +1133,4 @@ std::vector ModelStorageV2::VariablesInConstraint( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_MODEL_STORAGE_V2_H_ diff --git a/ortools/math_opt/storage/objective_storage.h b/ortools/math_opt/storage/objective_storage.h index d4b8a17b2c..7cd7de0c70 100644 --- a/ortools/math_opt/storage/objective_storage.h +++ b/ortools/math_opt/storage/objective_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ #include #include @@ -472,4 +472,4 @@ void ObjectiveStorage::ObjectiveData::DeleteVariable(VariableId variable) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_OBJECTIVE_STORAGE_H_ diff --git a/ortools/math_opt/storage/range.h b/ortools/math_opt/storage/range.h index 5122e275d6..2097708880 100644 --- a/ortools/math_opt/storage/range.h +++ b/ortools/math_opt/storage/range.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_RANGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_RANGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_RANGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_RANGE_H_ #include #include @@ -85,4 +85,4 @@ auto collection_to_range(Collection& c) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_RANGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_RANGE_H_ diff --git a/ortools/math_opt/storage/sparse_coefficient_map.h b/ortools/math_opt/storage/sparse_coefficient_map.h index a10d9ad5c8..297b8ead32 100644 --- a/ortools/math_opt/storage/sparse_coefficient_map.h +++ b/ortools/math_opt/storage/sparse_coefficient_map.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ +#define ORTOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ #include @@ -97,4 +97,4 @@ void SparseCoefficientMap::erase(const VariableId id) { terms_.erase(id); } } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_SPARSE_COEFFICIENT_MAP_H_ diff --git a/ortools/math_opt/storage/sparse_matrix.h b/ortools/math_opt/storage/sparse_matrix.h index e2f718a7c5..f7099f4a43 100644 --- a/ortools/math_opt/storage/sparse_matrix.h +++ b/ortools/math_opt/storage/sparse_matrix.h @@ -12,8 +12,8 @@ // limitations under the License. // Classes for modeling sparse matrices. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ +#define ORTOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ #include #include @@ -616,4 +616,4 @@ void SparseMatrix::CompactIfNeeded() { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_SPARSE_MATRIX_H_ diff --git a/ortools/math_opt/storage/update_trackers.h b/ortools/math_opt/storage/update_trackers.h index c2f0511e99..af72ca4c96 100644 --- a/ortools/math_opt/storage/update_trackers.h +++ b/ortools/math_opt/storage/update_trackers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ +#define ORTOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ #include #include @@ -314,4 +314,4 @@ const Data& UpdateTrackers::GetData( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_UPDATE_TRACKERS_H_ diff --git a/ortools/math_opt/storage/variable_storage.h b/ortools/math_opt/storage/variable_storage.h index d8006a2208..97dcec07e9 100644 --- a/ortools/math_opt/storage/variable_storage.h +++ b/ortools/math_opt/storage/variable_storage.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ -#define OR_TOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ +#ifndef ORTOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ +#define ORTOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ #include #include @@ -256,4 +256,4 @@ bool VariableStorage::diff_is_empty(const Diff& diff) const { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ +#endif // ORTOOLS_MATH_OPT_STORAGE_VARIABLE_STORAGE_H_ diff --git a/ortools/math_opt/testing/param_name.h b/ortools/math_opt/testing/param_name.h index 819a777280..ce7c6f86c7 100644 --- a/ortools/math_opt/testing/param_name.h +++ b/ortools/math_opt/testing/param_name.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ -#define OR_TOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ +#ifndef ORTOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ +#define ORTOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ #include @@ -31,4 +31,4 @@ struct ParamName { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ +#endif // ORTOOLS_MATH_OPT_TESTING_PARAM_NAME_H_ diff --git a/ortools/math_opt/testing/stream.h b/ortools/math_opt/testing/stream.h index 97031f622a..39bad9be69 100644 --- a/ortools/math_opt/testing/stream.h +++ b/ortools/math_opt/testing/stream.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_TESTING_STREAM_H_ -#define OR_TOOLS_MATH_OPT_TESTING_STREAM_H_ +#ifndef ORTOOLS_MATH_OPT_TESTING_STREAM_H_ +#define ORTOOLS_MATH_OPT_TESTING_STREAM_H_ #include #include @@ -30,4 +30,4 @@ std::string StreamToString(const T& value) { } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_TESTING_STREAM_H_ +#endif // ORTOOLS_MATH_OPT_TESTING_STREAM_H_ diff --git a/ortools/math_opt/tools/file_format_flags.h b/ortools/math_opt/tools/file_format_flags.h index f4c0821d53..607cd86fb0 100644 --- a/ortools/math_opt/tools/file_format_flags.h +++ b/ortools/math_opt/tools/file_format_flags.h @@ -30,8 +30,8 @@ // - functions ReadModel() and WriteModel() that take the FileFormat and // read/write ModelProto. // -#ifndef OR_TOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ -#define OR_TOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ +#ifndef ORTOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ +#define ORTOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ #include #include @@ -161,4 +161,4 @@ absl::Status WriteModel(absl::string_view file_path, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ +#endif // ORTOOLS_MATH_OPT_TOOLS_FILE_FORMAT_FLAGS_H_ diff --git a/ortools/math_opt/validators/bounds_and_status_validator.h b/ortools/math_opt/validators/bounds_and_status_validator.h index cb98fe37b8..f2de00cdc8 100644 --- a/ortools/math_opt/validators/bounds_and_status_validator.h +++ b/ortools/math_opt/validators/bounds_and_status_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/result.pb.h" @@ -95,4 +95,4 @@ absl::Status ValidateBoundStatusConsistency( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_BOUNDS_AND_STATUS_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/callback_validator.h b/ortools/math_opt/validators/callback_validator.h index 4fbbc5391d..ec997e1a3b 100644 --- a/ortools/math_opt/validators/callback_validator.h +++ b/ortools/math_opt/validators/callback_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" @@ -51,4 +51,4 @@ absl::Status CheckRegisteredCallbackEvents( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_CALLBACK_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/ids_validator.h b/ortools/math_opt/validators/ids_validator.h index 47120ad879..3f196eb79e 100644 --- a/ortools/math_opt/validators/ids_validator.h +++ b/ortools/math_opt/validators/ids_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ #include @@ -56,4 +56,4 @@ absl::Status CheckIdsIdentical(absl::Span first_ids, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_IDS_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/infeasible_subsystem_validator.h b/ortools/math_opt/validators/infeasible_subsystem_validator.h index c7827a1058..7a1431cba9 100644 --- a/ortools/math_opt/validators/infeasible_subsystem_validator.h +++ b/ortools/math_opt/validators/infeasible_subsystem_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -32,4 +32,4 @@ absl::Status ValidateComputeInfeasibleSubsystemResultNoModel( } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_INFEASIBLE_SUBSYSTEM_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/linear_expression_validator.h b/ortools/math_opt/validators/linear_expression_validator.h index f75adbb859..2b8c735ede 100644 --- a/ortools/math_opt/validators/linear_expression_validator.h +++ b/ortools/math_opt/validators/linear_expression_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -25,4 +25,4 @@ absl::Status ValidateLinearExpression(const LinearExpressionProto& expression, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_LINEAR_EXPRESSION_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/model_parameters_validator.h b/ortools/math_opt/validators/model_parameters_validator.h index 025e3849de..ec6296e9e9 100644 --- a/ortools/math_opt/validators/model_parameters_validator.h +++ b/ortools/math_opt/validators/model_parameters_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -31,4 +31,4 @@ absl::Status ValidateModelSolveParameters( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_MODEL_PARAMETERS_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/model_validator.h b/ortools/math_opt/validators/model_validator.h index 0087d3fdc3..18ebb5e8a5 100644 --- a/ortools/math_opt/validators/model_validator.h +++ b/ortools/math_opt/validators/model_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ #include "absl/status/status.h" #include "absl/status/statusor.h" @@ -42,4 +42,4 @@ absl::Status ValidateModelUpdate(const ModelUpdateProto& model_update, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_MODEL_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/result_validator.h b/ortools/math_opt/validators/result_validator.h index 943c81bffc..89d904fa5e 100644 --- a/ortools/math_opt/validators/result_validator.h +++ b/ortools/math_opt/validators/result_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ #include "absl/status/status.h" #include "google/protobuf/repeated_ptr_field.h" @@ -47,4 +47,4 @@ absl::Status CheckDualSolutionAndStatusConsistency( } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_RESULT_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/scalar_validator.h b/ortools/math_opt/validators/scalar_validator.h index 3c53cd9ac7..a976f1c49b 100644 --- a/ortools/math_opt/validators/scalar_validator.h +++ b/ortools/math_opt/validators/scalar_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ #include "absl/status/status.h" namespace operations_research { @@ -32,4 +32,4 @@ absl::Status CheckScalar(double value, const DoubleOptions& options); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SCALAR_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/solution_validator.h b/ortools/math_opt/validators/solution_validator.h index eb2783eae4..6f77a9ab8f 100644 --- a/ortools/math_opt/validators/solution_validator.h +++ b/ortools/math_opt/validators/solution_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/core/model_summary.h" @@ -58,4 +58,4 @@ absl::Status ValidateBasis(const BasisProto& basis, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SOLUTION_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/solve_parameters_validator.h b/ortools/math_opt/validators/solve_parameters_validator.h index e81ac93916..e8b33f88e9 100644 --- a/ortools/math_opt/validators/solve_parameters_validator.h +++ b/ortools/math_opt/validators/solve_parameters_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/parameters.pb.h" @@ -26,4 +26,4 @@ absl::Status ValidateSolveParameters(const SolveParametersProto& parameters); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_PARAMETERS_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/solve_stats_validator.h b/ortools/math_opt/validators/solve_stats_validator.h index 3b5b53ce3b..5623eccd67 100644 --- a/ortools/math_opt/validators/solve_stats_validator.h +++ b/ortools/math_opt/validators/solve_stats_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/result.pb.h" @@ -25,4 +25,4 @@ absl::Status ValidateSolveStats(const SolveStatsProto& solve_stats); } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SOLVE_STATS_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/sparse_matrix_validator.h b/ortools/math_opt/validators/sparse_matrix_validator.h index ea9d776f84..8299695bc0 100644 --- a/ortools/math_opt/validators/sparse_matrix_validator.h +++ b/ortools/math_opt/validators/sparse_matrix_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ #include @@ -42,4 +42,4 @@ absl::Status SparseMatrixIdsAreKnown(const SparseDoubleMatrixProto& matrix, } // namespace operations_research::math_opt -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_MATRIX_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/sparse_vector_validator.h b/ortools/math_opt/validators/sparse_vector_validator.h index 3f5271dea2..bf7600a0f0 100644 --- a/ortools/math_opt/validators/sparse_vector_validator.h +++ b/ortools/math_opt/validators/sparse_vector_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ #include #include "absl/status/status.h" @@ -81,4 +81,4 @@ absl::Status CheckIdsAndValues(const SparseVectorView& vector_view, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_SPARSE_VECTOR_VALIDATOR_H_ diff --git a/ortools/math_opt/validators/termination_validator.h b/ortools/math_opt/validators/termination_validator.h index 10f441faf2..99e211e6f2 100644 --- a/ortools/math_opt/validators/termination_validator.h +++ b/ortools/math_opt/validators/termination_validator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ -#define OR_TOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ +#ifndef ORTOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ +#define ORTOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ #include "absl/status/status.h" #include "ortools/math_opt/result.pb.h" @@ -27,4 +27,4 @@ absl::Status ValidateTermination(const TerminationProto& termination, } // namespace math_opt } // namespace operations_research -#endif // OR_TOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ +#endif // ORTOOLS_MATH_OPT_VALIDATORS_TERMINATION_VALIDATOR_H_ diff --git a/ortools/packing/arc_flow_builder.h b/ortools/packing/arc_flow_builder.h index aa8e42d3cb..15cb5bca88 100644 --- a/ortools/packing/arc_flow_builder.h +++ b/ortools/packing/arc_flow_builder.h @@ -37,8 +37,8 @@ // when the cost is not the number of bins, but a function of the capacity // used (useful for fair allocation). -#ifndef OR_TOOLS_PACKING_ARC_FLOW_BUILDER_H_ -#define OR_TOOLS_PACKING_ARC_FLOW_BUILDER_H_ +#ifndef ORTOOLS_PACKING_ARC_FLOW_BUILDER_H_ +#define ORTOOLS_PACKING_ARC_FLOW_BUILDER_H_ #include #include @@ -90,4 +90,4 @@ ArcFlowGraph BuildArcFlowGraph( } // namespace packing } // namespace operations_research -#endif // OR_TOOLS_PACKING_ARC_FLOW_BUILDER_H_ +#endif // ORTOOLS_PACKING_ARC_FLOW_BUILDER_H_ diff --git a/ortools/packing/arc_flow_solver.h b/ortools/packing/arc_flow_solver.h index 674810bea0..b35cc776da 100644 --- a/ortools/packing/arc_flow_solver.h +++ b/ortools/packing/arc_flow_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_ -#define OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_ +#ifndef ORTOOLS_PACKING_ARC_FLOW_SOLVER_H_ +#define ORTOOLS_PACKING_ARC_FLOW_SOLVER_H_ #include @@ -31,4 +31,4 @@ vbp::VectorBinPackingSolution SolveVectorBinPackingWithArcFlow( } // namespace packing } // namespace operations_research -#endif // OR_TOOLS_PACKING_ARC_FLOW_SOLVER_H_ +#endif // ORTOOLS_PACKING_ARC_FLOW_SOLVER_H_ diff --git a/ortools/packing/binpacking_2d_parser.h b/ortools/packing/binpacking_2d_parser.h index 4be65e0680..e0f86ca8ab 100644 --- a/ortools/packing/binpacking_2d_parser.h +++ b/ortools/packing/binpacking_2d_parser.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PACKING_BINPACKING_2D_PARSER_H_ -#define OR_TOOLS_PACKING_BINPACKING_2D_PARSER_H_ +#ifndef ORTOOLS_PACKING_BINPACKING_2D_PARSER_H_ +#define ORTOOLS_PACKING_BINPACKING_2D_PARSER_H_ #include #include @@ -71,4 +71,4 @@ class BinPacking2dParser { } // namespace packing } // namespace operations_research -#endif // OR_TOOLS_PACKING_BINPACKING_2D_PARSER_H_ +#endif // ORTOOLS_PACKING_BINPACKING_2D_PARSER_H_ diff --git a/ortools/packing/vector_bin_packing_parser.h b/ortools/packing/vector_bin_packing_parser.h index 8e1a58254f..d077d0e228 100644 --- a/ortools/packing/vector_bin_packing_parser.h +++ b/ortools/packing/vector_bin_packing_parser.h @@ -17,8 +17,8 @@ // - vector packing solver: (.vbp files) // http://www.dcc.fc.up.pt/~fdabrandao/Vector_Packing_Solver -#ifndef OR_TOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ -#define OR_TOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ +#ifndef ORTOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ +#define ORTOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ #include #include @@ -69,4 +69,4 @@ class VbpParser { } // namespace packing } // namespace operations_research -#endif // OR_TOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ +#endif // ORTOOLS_PACKING_VECTOR_BIN_PACKING_PARSER_H_ diff --git a/ortools/port/file.h b/ortools/port/file.h index ccdcf402a9..23d70d12fe 100644 --- a/ortools/port/file.h +++ b/ortools/port/file.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PORT_FILE_H_ -#define OR_TOOLS_PORT_FILE_H_ +#ifndef ORTOOLS_PORT_FILE_H_ +#define ORTOOLS_PORT_FILE_H_ #include @@ -31,4 +31,4 @@ namespace operations_research { } // namespace operations_research -#endif // OR_TOOLS_PORT_FILE_H_ +#endif // ORTOOLS_PORT_FILE_H_ diff --git a/ortools/port/os.h b/ortools/port/os.h index a4827a4bc2..c7e38599c7 100644 --- a/ortools/port/os.h +++ b/ortools/port/os.h @@ -12,8 +12,8 @@ // limitations under the License. // Defines macros about target OS and whether it supports threads. -#ifndef OR_TOOLS_PORT_OS_H_ -#define OR_TOOLS_PORT_OS_H_ +#ifndef ORTOOLS_PORT_OS_H_ +#define ORTOOLS_PORT_OS_H_ #if defined(__ANDROID__) #define ORTOOLS_TARGET_OS_IS_ANDROID @@ -39,4 +39,4 @@ #define ORTOOLS_TARGET_OS_SUPPORTS_THREADS 1 #endif -#endif // OR_TOOLS_PORT_OS_H_ +#endif // ORTOOLS_PORT_OS_H_ diff --git a/ortools/port/proto_utils.h b/ortools/port/proto_utils.h index 5fd7d2628f..c9e425adb7 100644 --- a/ortools/port/proto_utils.h +++ b/ortools/port/proto_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PORT_PROTO_UTILS_H_ -#define OR_TOOLS_PORT_PROTO_UTILS_H_ +#ifndef ORTOOLS_PORT_PROTO_UTILS_H_ +#define ORTOOLS_PORT_PROTO_UTILS_H_ #include @@ -132,4 +132,4 @@ std::string ProtobufTextFormatPrintToStringForFlag( } // namespace operations_research -#endif // OR_TOOLS_PORT_PROTO_UTILS_H_ +#endif // ORTOOLS_PORT_PROTO_UTILS_H_ diff --git a/ortools/port/scoped_std_stream_capture.h b/ortools/port/scoped_std_stream_capture.h index c77e398ce6..2d14e002b6 100644 --- a/ortools/port/scoped_std_stream_capture.h +++ b/ortools/port/scoped_std_stream_capture.h @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ -#define OR_TOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ +#ifndef ORTOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ +#define ORTOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ -#endif // OR_TOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ +#endif // ORTOOLS_PORT_SCOPED_STD_STREAM_CAPTURE_H_ diff --git a/ortools/port/sysinfo.h b/ortools/port/sysinfo.h index 93e6233b0b..8d5dceb055 100644 --- a/ortools/port/sysinfo.h +++ b/ortools/port/sysinfo.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_PORT_SYSINFO_H_ -#define OR_TOOLS_PORT_SYSINFO_H_ +#ifndef ORTOOLS_PORT_SYSINFO_H_ +#define ORTOOLS_PORT_SYSINFO_H_ #include @@ -34,4 +34,4 @@ int64_t MemoryUsageProcess(); } // namespace sysinfo } // namespace operations_research -#endif // OR_TOOLS_PORT_SYSINFO_H_ +#endif // ORTOOLS_PORT_SYSINFO_H_ diff --git a/ortools/routing/parsers/carp_parser.h b/ortools/routing/parsers/carp_parser.h index 06367f5768..9563265854 100644 --- a/ortools/routing/parsers/carp_parser.h +++ b/ortools/routing/parsers/carp_parser.h @@ -52,8 +52,8 @@ // parser is always 0-based. Users of this parser should never see any 1-based // index; only 0-based index should be used to query values. -#ifndef OR_TOOLS_ROUTING_PARSERS_CARP_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_CARP_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_CARP_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_CARP_PARSER_H_ #include #include @@ -184,4 +184,4 @@ class CarpParser { }; } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_CARP_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_CARP_PARSER_H_ diff --git a/ortools/routing/parsers/cvrptw_lib.h b/ortools/routing/parsers/cvrptw_lib.h index c9888f15c5..c4ad890eb2 100644 --- a/ortools/routing/parsers/cvrptw_lib.h +++ b/ortools/routing/parsers/cvrptw_lib.h @@ -13,8 +13,8 @@ // This header provides functions to help create random instances of the // vehicle routing problem; random capacities and random time windows. -#ifndef OR_TOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ -#define OR_TOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ +#define ORTOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ #include #include @@ -134,4 +134,4 @@ void DisplayPlan(const RoutingIndexManager& manager, } // namespace operations_research -#endif // OR_TOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ +#endif // ORTOOLS_ROUTING_PARSERS_CVRPTW_LIB_H_ diff --git a/ortools/routing/parsers/dow_parser.h b/ortools/routing/parsers/dow_parser.h index a78bf1baaf..6d94f1f5be 100644 --- a/ortools/routing/parsers/dow_parser.h +++ b/ortools/routing/parsers/dow_parser.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ROUTING_PARSERS_DOW_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_DOW_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_DOW_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_DOW_PARSER_H_ #include "absl/status/status.h" #include "absl/strings/string_view.h" @@ -26,4 +26,4 @@ namespace operations_research::routing { CapacityPlanningInstance* request); } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_DOW_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_DOW_PARSER_H_ diff --git a/ortools/routing/parsers/lilim_parser.h b/ortools/routing/parsers/lilim_parser.h index cfa74bf596..3bfed182c7 100644 --- a/ortools/routing/parsers/lilim_parser.h +++ b/ortools/routing/parsers/lilim_parser.h @@ -38,8 +38,8 @@ // corresponding pickup node. The value of travel time is equal to the value of // distance. -#ifndef OR_TOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ #include @@ -124,4 +124,4 @@ class LiLimParser { }; } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_LILIM_PARSER_H_ diff --git a/ortools/routing/parsers/nearp_parser.h b/ortools/routing/parsers/nearp_parser.h index 3564427c16..0f8867499c 100644 --- a/ortools/routing/parsers/nearp_parser.h +++ b/ortools/routing/parsers/nearp_parser.h @@ -72,8 +72,8 @@ // parser is always 0-based. Users of this parser should never see any 1-based // index; only 0-based index should be used to query values. -#ifndef OR_TOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ #include #include @@ -255,4 +255,4 @@ class NearpParser { }; } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_NEARP_PARSER_H_ diff --git a/ortools/routing/parsers/pdtsp_parser.h b/ortools/routing/parsers/pdtsp_parser.h index cacea3292d..b2edd29633 100644 --- a/ortools/routing/parsers/pdtsp_parser.h +++ b/ortools/routing/parsers/pdtsp_parser.h @@ -15,8 +15,8 @@ // pickup and delivery constraints. This format was created by Stefan Ropke. // https://link.springer.com/article/10.1007%2Fs10107-008-0234-9 -#ifndef OR_TOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ #include #include @@ -57,4 +57,4 @@ class PdTspParser { } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_PDTSP_PARSER_H_ diff --git a/ortools/routing/parsers/simple_graph.h b/ortools/routing/parsers/simple_graph.h index 280677d59f..3b832e20ec 100644 --- a/ortools/routing/parsers/simple_graph.h +++ b/ortools/routing/parsers/simple_graph.h @@ -13,8 +13,8 @@ // Common utilities for parsing routing instances. -#ifndef OR_TOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ -#define OR_TOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ +#define ORTOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ #include #include @@ -152,4 +152,4 @@ struct SimpleTimeWindow { } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ +#endif // ORTOOLS_ROUTING_PARSERS_SIMPLE_GRAPH_H_ diff --git a/ortools/routing/parsers/solomon_parser.h b/ortools/routing/parsers/solomon_parser.h index e9cf3025fe..d299d18531 100644 --- a/ortools/routing/parsers/solomon_parser.h +++ b/ortools/routing/parsers/solomon_parser.h @@ -39,8 +39,8 @@ // containing multiple instances. // -#ifndef OR_TOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ #include @@ -174,4 +174,4 @@ class SolomonSolutionParser { } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_SOLOMON_PARSER_H_ diff --git a/ortools/routing/parsers/solution_serializer.h b/ortools/routing/parsers/solution_serializer.h index d67bc2afb5..d1f545cafa 100644 --- a/ortools/routing/parsers/solution_serializer.h +++ b/ortools/routing/parsers/solution_serializer.h @@ -14,8 +14,8 @@ // Utilities to serialize VRP-like solutions in standardised formats: either // TSPLIB or CVRPLIB. -#ifndef OR_TOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ -#define OR_TOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ +#define ORTOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ #include #include @@ -293,4 +293,4 @@ void PrintStatistic(absl::string_view name, T value, } } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_SOLUTION_SERIALIZER_H_ diff --git a/ortools/routing/parsers/tsplib_parser.h b/ortools/routing/parsers/tsplib_parser.h index adaea67c0b..e1b634cd03 100644 --- a/ortools/routing/parsers/tsplib_parser.h +++ b/ortools/routing/parsers/tsplib_parser.h @@ -21,8 +21,8 @@ // follow the TSPLIB95 format (described at // http://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/DOC.PS). -#ifndef OR_TOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ #include #include @@ -252,4 +252,4 @@ class CVRPToursParser final { }; } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_TSPLIB_PARSER_H_ diff --git a/ortools/routing/parsers/tsptw_parser.h b/ortools/routing/parsers/tsptw_parser.h index ffe7caad06..8629e7fcaf 100644 --- a/ortools/routing/parsers/tsptw_parser.h +++ b/ortools/routing/parsers/tsptw_parser.h @@ -18,8 +18,8 @@ // http://lopez-ibanez.eu/tsptw-instances and // https://homepages.dcc.ufmg.br/~rfsilva/tsptw. -#ifndef OR_TOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ -#define OR_TOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ +#ifndef ORTOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ +#define ORTOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ #include #include @@ -86,4 +86,4 @@ class TspTWParser final { } // namespace operations_research::routing -#endif // OR_TOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ +#endif // ORTOOLS_ROUTING_PARSERS_TSPTW_PARSER_H_ diff --git a/ortools/sat/2d_distances_propagator.h b/ortools/sat/2d_distances_propagator.h index d418340914..f170f13144 100644 --- a/ortools/sat/2d_distances_propagator.h +++ b/ortools/sat/2d_distances_propagator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ -#define OR_TOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ +#ifndef ORTOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ +#define ORTOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ #include #include @@ -100,4 +100,4 @@ class Precedences2DPropagator : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ +#endif // ORTOOLS_SAT_2D_DISTANCES_PROPAGATOR_H_ diff --git a/ortools/sat/2d_mandatory_overlap_propagator.h b/ortools/sat/2d_mandatory_overlap_propagator.h index b56ac0d7f8..bfa2a38698 100644 --- a/ortools/sat/2d_mandatory_overlap_propagator.h +++ b/ortools/sat/2d_mandatory_overlap_propagator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ -#define OR_TOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ +#ifndef ORTOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ +#define ORTOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ #include #include @@ -62,4 +62,4 @@ class MandatoryOverlapPropagator : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ +#endif // ORTOOLS_SAT_2D_MANDATORY_OVERLAP_PROPAGATOR_H_ diff --git a/ortools/sat/2d_orthogonal_packing.h b/ortools/sat/2d_orthogonal_packing.h index f1de4a2979..3f22cc0136 100644 --- a/ortools/sat/2d_orthogonal_packing.h +++ b/ortools/sat/2d_orthogonal_packing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ -#define OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ +#ifndef ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ +#define ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ #include #include @@ -369,4 +369,4 @@ class DFFComposedF2F0 { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ +#endif // ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_H_ diff --git a/ortools/sat/2d_orthogonal_packing_testing.h b/ortools/sat/2d_orthogonal_packing_testing.h index b926fe4e0c..14becd1eb1 100644 --- a/ortools/sat/2d_orthogonal_packing_testing.h +++ b/ortools/sat/2d_orthogonal_packing_testing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ -#define OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ +#ifndef ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ +#define ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ #include #include @@ -50,4 +50,4 @@ GenerateItemsRectanglesWithNoPairwisePropagation(int num_rectangles, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ +#endif // ORTOOLS_SAT_2D_ORTHOGONAL_PACKING_TESTING_H_ diff --git a/ortools/sat/2d_packing_brute_force.h b/ortools/sat/2d_packing_brute_force.h index c3b81744f5..007324b4fd 100644 --- a/ortools/sat/2d_packing_brute_force.h +++ b/ortools/sat/2d_packing_brute_force.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ -#define OR_TOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ +#ifndef ORTOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ +#define ORTOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ #include #include @@ -66,4 +66,4 @@ bool Preprocess(absl::Span& items, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ +#endif // ORTOOLS_SAT_2D_PACKING_BRUTE_FORCE_H_ diff --git a/ortools/sat/2d_rectangle_presolve.h b/ortools/sat/2d_rectangle_presolve.h index 59fcebf541..1ed1295fa2 100644 --- a/ortools/sat/2d_rectangle_presolve.h +++ b/ortools/sat/2d_rectangle_presolve.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ -#define OR_TOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ +#ifndef ORTOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ +#define ORTOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ #include #include @@ -253,4 +253,4 @@ std::vector CutShapeIntoRectangles(SingleShape shapes); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ +#endif // ORTOOLS_SAT_2D_RECTANGLE_PRESOLVE_H_ diff --git a/ortools/sat/2d_try_edge_propagator.h b/ortools/sat/2d_try_edge_propagator.h index dec5e31c3d..99b76ac6ac 100644 --- a/ortools/sat/2d_try_edge_propagator.h +++ b/ortools/sat/2d_try_edge_propagator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ -#define OR_TOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ +#ifndef ORTOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ +#define ORTOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ #include #include @@ -117,4 +117,4 @@ class TryEdgeRectanglePropagator : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ +#endif // ORTOOLS_SAT_2D_TRY_EDGE_PROPAGATOR_H_ diff --git a/ortools/sat/all_different.h b/ortools/sat/all_different.h index 1d54a305ce..f961926914 100644 --- a/ortools/sat/all_different.h +++ b/ortools/sat/all_different.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_ALL_DIFFERENT_H_ -#define OR_TOOLS_SAT_ALL_DIFFERENT_H_ +#ifndef ORTOOLS_SAT_ALL_DIFFERENT_H_ +#define ORTOOLS_SAT_ALL_DIFFERENT_H_ #include #include @@ -240,4 +240,4 @@ class AllDifferentBoundsPropagator : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ALL_DIFFERENT_H_ +#endif // ORTOOLS_SAT_ALL_DIFFERENT_H_ diff --git a/ortools/sat/boolean_problem.h b/ortools/sat/boolean_problem.h index 2bb2ca6684..4cde07f7d7 100644 --- a/ortools/sat/boolean_problem.h +++ b/ortools/sat/boolean_problem.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_BOOLEAN_PROBLEM_H_ -#define OR_TOOLS_SAT_BOOLEAN_PROBLEM_H_ +#ifndef ORTOOLS_SAT_BOOLEAN_PROBLEM_H_ +#define ORTOOLS_SAT_BOOLEAN_PROBLEM_H_ #include #include @@ -143,4 +143,4 @@ void ProbeAndSimplifyProblem(SatPostsolver* postsolver, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_BOOLEAN_PROBLEM_H_ +#endif // ORTOOLS_SAT_BOOLEAN_PROBLEM_H_ diff --git a/ortools/sat/c_api/cp_solver_c.h b/ortools/sat/c_api/cp_solver_c.h index 708ad88086..f9f087b435 100644 --- a/ortools/sat/c_api/cp_solver_c.h +++ b/ortools/sat/c_api/cp_solver_c.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_C_API_CP_SOLVER_C_H_ -#define OR_TOOLS_SAT_C_API_CP_SOLVER_C_H_ +#ifndef ORTOOLS_SAT_C_API_CP_SOLVER_C_H_ +#define ORTOOLS_SAT_C_API_CP_SOLVER_C_H_ #include #include @@ -38,4 +38,4 @@ void SolveCpInterruptible(void* cenv, const void* creq, int creq_len, } // extern "C" #endif -#endif // OR_TOOLS_SAT_C_API_CP_SOLVER_C_H_ +#endif // ORTOOLS_SAT_C_API_CP_SOLVER_C_H_ diff --git a/ortools/sat/circuit.h b/ortools/sat/circuit.h index efdee48c3c..23ccfd6f75 100644 --- a/ortools/sat/circuit.h +++ b/ortools/sat/circuit.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CIRCUIT_H_ -#define OR_TOOLS_SAT_CIRCUIT_H_ +#ifndef ORTOOLS_SAT_CIRCUIT_H_ +#define ORTOOLS_SAT_CIRCUIT_H_ #include #include @@ -272,4 +272,4 @@ std::function CircuitCovering( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CIRCUIT_H_ +#endif // ORTOOLS_SAT_CIRCUIT_H_ diff --git a/ortools/sat/clause.h b/ortools/sat/clause.h index 1b57130a68..b802f02d63 100644 --- a/ortools/sat/clause.h +++ b/ortools/sat/clause.h @@ -14,8 +14,8 @@ // This file contains the solver internal representation of the clauses and the // classes used for their propagation. -#ifndef OR_TOOLS_SAT_CLAUSE_H_ -#define OR_TOOLS_SAT_CLAUSE_H_ +#ifndef ORTOOLS_SAT_CLAUSE_H_ +#define ORTOOLS_SAT_CLAUSE_H_ #include #include @@ -1001,4 +1001,4 @@ BinaryImplicationGraph::ExpandAtMostOneWithWeight( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CLAUSE_H_ +#endif // ORTOOLS_SAT_CLAUSE_H_ diff --git a/ortools/sat/combine_solutions.h b/ortools/sat/combine_solutions.h index 486b0ee6b9..fb25262ea9 100644 --- a/ortools/sat/combine_solutions.h +++ b/ortools/sat/combine_solutions.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_COMBINE_SOLUTIONS_H_ -#define OR_TOOLS_SAT_COMBINE_SOLUTIONS_H_ +#ifndef ORTOOLS_SAT_COMBINE_SOLUTIONS_H_ +#define ORTOOLS_SAT_COMBINE_SOLUTIONS_H_ #include #include @@ -56,4 +56,4 @@ PushedSolutionPointers PushAndMaybeCombineSolution( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_COMBINE_SOLUTIONS_H_ +#endif // ORTOOLS_SAT_COMBINE_SOLUTIONS_H_ diff --git a/ortools/sat/constraint_violation.h b/ortools/sat/constraint_violation.h index 8eeaa98cc5..ab3f9b53de 100644 --- a/ortools/sat/constraint_violation.h +++ b/ortools/sat/constraint_violation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CONSTRAINT_VIOLATION_H_ -#define OR_TOOLS_SAT_CONSTRAINT_VIOLATION_H_ +#ifndef ORTOOLS_SAT_CONSTRAINT_VIOLATION_H_ +#define ORTOOLS_SAT_CONSTRAINT_VIOLATION_H_ #include #include @@ -804,4 +804,4 @@ class CompiledReservoirConstraint : public CompiledConstraint { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CONSTRAINT_VIOLATION_H_ +#endif // ORTOOLS_SAT_CONSTRAINT_VIOLATION_H_ diff --git a/ortools/sat/container.h b/ortools/sat/container.h index cbb58974da..11d98f007b 100644 --- a/ortools/sat/container.h +++ b/ortools/sat/container.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CONTAINER_H_ -#define OR_TOOLS_SAT_CONTAINER_H_ +#ifndef ORTOOLS_SAT_CONTAINER_H_ +#define ORTOOLS_SAT_CONTAINER_H_ #include #include @@ -235,4 +235,4 @@ inline void LiteralsOrOffsets::ClearLiterals(bool shrink_to_fit) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CONTAINER_H_ +#endif // ORTOOLS_SAT_CONTAINER_H_ diff --git a/ortools/sat/cp_constraints.h b/ortools/sat/cp_constraints.h index 3d2165392f..94282ece98 100644 --- a/ortools/sat/cp_constraints.h +++ b/ortools/sat/cp_constraints.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_CONSTRAINTS_H_ -#define OR_TOOLS_SAT_CP_CONSTRAINTS_H_ +#ifndef ORTOOLS_SAT_CP_CONSTRAINTS_H_ +#define ORTOOLS_SAT_CP_CONSTRAINTS_H_ #include #include @@ -187,4 +187,4 @@ inline std::function PartialIsOneOfVar( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_CONSTRAINTS_H_ +#endif // ORTOOLS_SAT_CP_CONSTRAINTS_H_ diff --git a/ortools/sat/cp_model.h b/ortools/sat/cp_model.h index 5fcac0f54d..ba3e2fcfb7 100644 --- a/ortools/sat/cp_model.h +++ b/ortools/sat/cp_model.h @@ -35,8 +35,8 @@ \endcode */ -#ifndef OR_TOOLS_SAT_CP_MODEL_H_ -#define OR_TOOLS_SAT_CP_MODEL_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_H_ +#define ORTOOLS_SAT_CP_MODEL_H_ #include #include @@ -1366,4 +1366,4 @@ inline DoubleLinearExpr operator*(double factor, DoubleLinearExpr expr) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_H_ +#endif // ORTOOLS_SAT_CP_MODEL_H_ diff --git a/ortools/sat/cp_model_checker.h b/ortools/sat/cp_model_checker.h index 367c354599..7ce3f02c28 100644 --- a/ortools/sat/cp_model_checker.h +++ b/ortools/sat/cp_model_checker.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_CHECKER_H_ -#define OR_TOOLS_SAT_CP_MODEL_CHECKER_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_CHECKER_H_ +#define ORTOOLS_SAT_CP_MODEL_CHECKER_H_ #include #include @@ -82,4 +82,4 @@ bool ConstraintIsFeasible(const CpModelProto& model, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_CHECKER_H_ +#endif // ORTOOLS_SAT_CP_MODEL_CHECKER_H_ diff --git a/ortools/sat/cp_model_copy.h b/ortools/sat/cp_model_copy.h index fbdb415350..75087fc79e 100644 --- a/ortools/sat/cp_model_copy.h +++ b/ortools/sat/cp_model_copy.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_COPY_H_ -#define OR_TOOLS_SAT_CP_MODEL_COPY_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_COPY_H_ +#define ORTOOLS_SAT_CP_MODEL_COPY_H_ #include #include @@ -184,4 +184,4 @@ void CopyEverythingExceptVariablesAndConstraintsFieldsIntoContext( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_COPY_H_ +#endif // ORTOOLS_SAT_CP_MODEL_COPY_H_ diff --git a/ortools/sat/cp_model_expand.h b/ortools/sat/cp_model_expand.h index 0b934473a2..31c931f5fe 100644 --- a/ortools/sat/cp_model_expand.h +++ b/ortools/sat/cp_model_expand.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_EXPAND_H_ -#define OR_TOOLS_SAT_CP_MODEL_EXPAND_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_EXPAND_H_ +#define ORTOOLS_SAT_CP_MODEL_EXPAND_H_ #include @@ -38,4 +38,4 @@ void FinalExpansionForLinearConstraint(PresolveContext* context); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_EXPAND_H_ +#endif // ORTOOLS_SAT_CP_MODEL_EXPAND_H_ diff --git a/ortools/sat/cp_model_lns.h b/ortools/sat/cp_model_lns.h index de156e9c4f..911c8c1fae 100644 --- a/ortools/sat/cp_model_lns.h +++ b/ortools/sat/cp_model_lns.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_LNS_H_ -#define OR_TOOLS_SAT_CP_MODEL_LNS_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_LNS_H_ +#define ORTOOLS_SAT_CP_MODEL_LNS_H_ #include #include @@ -897,4 +897,4 @@ class RelaxationInducedNeighborhoodGenerator : public NeighborhoodGenerator { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_LNS_H_ +#endif // ORTOOLS_SAT_CP_MODEL_LNS_H_ diff --git a/ortools/sat/cp_model_loader.h b/ortools/sat/cp_model_loader.h index 1e5e939953..c1b3ae7ed7 100644 --- a/ortools/sat/cp_model_loader.h +++ b/ortools/sat/cp_model_loader.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_LOADER_H_ -#define OR_TOOLS_SAT_CP_MODEL_LOADER_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_LOADER_H_ +#define ORTOOLS_SAT_CP_MODEL_LOADER_H_ #include #include @@ -115,4 +115,4 @@ void SplitAndLoadIntermediateConstraints(bool lb_required, bool ub_required, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_LOADER_H_ +#endif // ORTOOLS_SAT_CP_MODEL_LOADER_H_ diff --git a/ortools/sat/cp_model_mapping.h b/ortools/sat/cp_model_mapping.h index 58386d9eb1..76f920e6e2 100644 --- a/ortools/sat/cp_model_mapping.h +++ b/ortools/sat/cp_model_mapping.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_MAPPING_H_ -#define OR_TOOLS_SAT_CP_MODEL_MAPPING_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_MAPPING_H_ +#define ORTOOLS_SAT_CP_MODEL_MAPPING_H_ #include #include @@ -260,4 +260,4 @@ class CpModelMapping { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_MAPPING_H_ +#endif // ORTOOLS_SAT_CP_MODEL_MAPPING_H_ diff --git a/ortools/sat/cp_model_postsolve.h b/ortools/sat/cp_model_postsolve.h index 207bd0f3bb..3639875d65 100644 --- a/ortools/sat/cp_model_postsolve.h +++ b/ortools/sat/cp_model_postsolve.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_POSTSOLVE_H_ -#define OR_TOOLS_SAT_CP_MODEL_POSTSOLVE_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_POSTSOLVE_H_ +#define ORTOOLS_SAT_CP_MODEL_POSTSOLVE_H_ #include #include @@ -61,4 +61,4 @@ void FillTightenedDomainInResponse(const CpModelProto& original_model, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_POSTSOLVE_H_ +#endif // ORTOOLS_SAT_CP_MODEL_POSTSOLVE_H_ diff --git a/ortools/sat/cp_model_presolve.h b/ortools/sat/cp_model_presolve.h index f5d8fe2b86..fc610f1fae 100644 --- a/ortools/sat/cp_model_presolve.h +++ b/ortools/sat/cp_model_presolve.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_PRESOLVE_H_ -#define OR_TOOLS_SAT_CP_MODEL_PRESOLVE_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_PRESOLVE_H_ +#define ORTOOLS_SAT_CP_MODEL_PRESOLVE_H_ #include #include @@ -453,4 +453,4 @@ std::vector> FindDuplicateConstraints( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_PRESOLVE_H_ +#endif // ORTOOLS_SAT_CP_MODEL_PRESOLVE_H_ diff --git a/ortools/sat/cp_model_search.h b/ortools/sat/cp_model_search.h index b714f3f0d7..7cff5ca6ef 100644 --- a/ortools/sat/cp_model_search.h +++ b/ortools/sat/cp_model_search.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_SEARCH_H_ -#define OR_TOOLS_SAT_CP_MODEL_SEARCH_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_SEARCH_H_ +#define ORTOOLS_SAT_CP_MODEL_SEARCH_H_ #include #include @@ -176,4 +176,4 @@ class SubsolverNameFilter { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_SEARCH_H_ +#endif // ORTOOLS_SAT_CP_MODEL_SEARCH_H_ diff --git a/ortools/sat/cp_model_solver.h b/ortools/sat/cp_model_solver.h index f89e3795d0..4633cf7923 100644 --- a/ortools/sat/cp_model_solver.h +++ b/ortools/sat/cp_model_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_SOLVER_H_ -#define OR_TOOLS_SAT_CP_MODEL_SOLVER_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_SOLVER_H_ +#define ORTOOLS_SAT_CP_MODEL_SOLVER_H_ #include #include @@ -135,4 +135,4 @@ void StopSearch(Model* model); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_SOLVER_H_ +#endif // ORTOOLS_SAT_CP_MODEL_SOLVER_H_ diff --git a/ortools/sat/cp_model_solver_helpers.h b/ortools/sat/cp_model_solver_helpers.h index af00cb3213..e62f3ca6d6 100644 --- a/ortools/sat/cp_model_solver_helpers.h +++ b/ortools/sat/cp_model_solver_helpers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ -#define OR_TOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ +#define ORTOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ #include #include @@ -154,4 +154,4 @@ void LoadDebugSolution(const CpModelProto& model_proto, Model* model); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ +#endif // ORTOOLS_SAT_CP_MODEL_SOLVER_HELPERS_H_ diff --git a/ortools/sat/cp_model_symmetries.h b/ortools/sat/cp_model_symmetries.h index e842ad923f..d87743f75f 100644 --- a/ortools/sat/cp_model_symmetries.h +++ b/ortools/sat/cp_model_symmetries.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_SYMMETRIES_H_ -#define OR_TOOLS_SAT_CP_MODEL_SYMMETRIES_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_SYMMETRIES_H_ +#define ORTOOLS_SAT_CP_MODEL_SYMMETRIES_H_ #include #include @@ -81,4 +81,4 @@ bool FilterOrbitOnUnusedOrFixedVariables(SymmetryProto* symmetry, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_SYMMETRIES_H_ +#endif // ORTOOLS_SAT_CP_MODEL_SYMMETRIES_H_ diff --git a/ortools/sat/cp_model_table.h b/ortools/sat/cp_model_table.h index d9d54ddf76..0a62e9aa40 100644 --- a/ortools/sat/cp_model_table.h +++ b/ortools/sat/cp_model_table.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_TABLE_H_ -#define OR_TOOLS_SAT_CP_MODEL_TABLE_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_TABLE_H_ +#define ORTOOLS_SAT_CP_MODEL_TABLE_H_ #include #include @@ -74,4 +74,4 @@ void PropagateAutomaton(const AutomatonConstraintProto& proto, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_TABLE_H_ +#endif // ORTOOLS_SAT_CP_MODEL_TABLE_H_ diff --git a/ortools/sat/cp_model_test_utils.h b/ortools/sat/cp_model_test_utils.h index ebe975ef26..e02682a05e 100644 --- a/ortools/sat/cp_model_test_utils.h +++ b/ortools/sat/cp_model_test_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_TEST_UTILS_H_ -#define OR_TOOLS_SAT_CP_MODEL_TEST_UTILS_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_TEST_UTILS_H_ +#define ORTOOLS_SAT_CP_MODEL_TEST_UTILS_H_ #include "ortools/sat/cp_model.pb.h" @@ -33,4 +33,4 @@ CpModelProto RandomLinearProblem(int num_variables, int num_constraints); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_TEST_UTILS_H_ +#endif // ORTOOLS_SAT_CP_MODEL_TEST_UTILS_H_ diff --git a/ortools/sat/cp_model_utils.h b/ortools/sat/cp_model_utils.h index 6a2fff5e9c..27eb0bdf81 100644 --- a/ortools/sat/cp_model_utils.h +++ b/ortools/sat/cp_model_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CP_MODEL_UTILS_H_ -#define OR_TOOLS_SAT_CP_MODEL_UTILS_H_ +#ifndef ORTOOLS_SAT_CP_MODEL_UTILS_H_ +#define ORTOOLS_SAT_CP_MODEL_UTILS_H_ #include #include @@ -442,4 +442,4 @@ int CombineSeed(int base_seed, int64_t delta); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CP_MODEL_UTILS_H_ +#endif // ORTOOLS_SAT_CP_MODEL_UTILS_H_ diff --git a/ortools/sat/cumulative.h b/ortools/sat/cumulative.h index 5079f64fba..2d117f824e 100644 --- a/ortools/sat/cumulative.h +++ b/ortools/sat/cumulative.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CUMULATIVE_H_ -#define OR_TOOLS_SAT_CUMULATIVE_H_ +#ifndef ORTOOLS_SAT_CUMULATIVE_H_ +#define ORTOOLS_SAT_CUMULATIVE_H_ #include #include @@ -72,4 +72,4 @@ std::function CumulativeUsingReservoir( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CUMULATIVE_H_ +#endif // ORTOOLS_SAT_CUMULATIVE_H_ diff --git a/ortools/sat/cumulative_energy.h b/ortools/sat/cumulative_energy.h index 5f2823740b..14d80ac90b 100644 --- a/ortools/sat/cumulative_energy.h +++ b/ortools/sat/cumulative_energy.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CUMULATIVE_ENERGY_H_ -#define OR_TOOLS_SAT_CUMULATIVE_ENERGY_H_ +#ifndef ORTOOLS_SAT_CUMULATIVE_ENERGY_H_ +#define ORTOOLS_SAT_CUMULATIVE_ENERGY_H_ #include #include @@ -160,4 +160,4 @@ class CumulativeDualFeasibleEnergyConstraint : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CUMULATIVE_ENERGY_H_ +#endif // ORTOOLS_SAT_CUMULATIVE_ENERGY_H_ diff --git a/ortools/sat/cuts.h b/ortools/sat/cuts.h index 2f03d29451..027181e2e5 100644 --- a/ortools/sat/cuts.h +++ b/ortools/sat/cuts.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_CUTS_H_ -#define OR_TOOLS_SAT_CUTS_H_ +#ifndef ORTOOLS_SAT_CUTS_H_ +#define ORTOOLS_SAT_CUTS_H_ #include @@ -804,4 +804,4 @@ class SumOfAllDiffLowerBounder { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_CUTS_H_ +#endif // ORTOOLS_SAT_CUTS_H_ diff --git a/ortools/sat/diffn.h b/ortools/sat/diffn.h index 9c63081cef..bb8d72ca26 100644 --- a/ortools/sat/diffn.h +++ b/ortools/sat/diffn.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DIFFN_H_ -#define OR_TOOLS_SAT_DIFFN_H_ +#ifndef ORTOOLS_SAT_DIFFN_H_ +#define ORTOOLS_SAT_DIFFN_H_ #include #include @@ -194,4 +194,4 @@ class RectanglePairwisePropagator : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DIFFN_H_ +#endif // ORTOOLS_SAT_DIFFN_H_ diff --git a/ortools/sat/diffn_cuts.h b/ortools/sat/diffn_cuts.h index 967a3e8fd7..2c90fcccf3 100644 --- a/ortools/sat/diffn_cuts.h +++ b/ortools/sat/diffn_cuts.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DIFFN_CUTS_H_ -#define OR_TOOLS_SAT_DIFFN_CUTS_H_ +#ifndef ORTOOLS_SAT_DIFFN_CUTS_H_ +#define ORTOOLS_SAT_DIFFN_CUTS_H_ #include #include @@ -105,4 +105,4 @@ struct DiffnCtEvent : DiffnBaseEvent { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DIFFN_CUTS_H_ +#endif // ORTOOLS_SAT_DIFFN_CUTS_H_ diff --git a/ortools/sat/diffn_util.h b/ortools/sat/diffn_util.h index 5cef31ac91..5291a71b2a 100644 --- a/ortools/sat/diffn_util.h +++ b/ortools/sat/diffn_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DIFFN_UTIL_H_ -#define OR_TOOLS_SAT_DIFFN_UTIL_H_ +#ifndef ORTOOLS_SAT_DIFFN_UTIL_H_ +#define ORTOOLS_SAT_DIFFN_UTIL_H_ #include #include @@ -743,4 +743,4 @@ std::optional> FindOneIntersectionIfPresentWithZeroArea( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DIFFN_UTIL_H_ +#endif // ORTOOLS_SAT_DIFFN_UTIL_H_ diff --git a/ortools/sat/diophantine.h b/ortools/sat/diophantine.h index a520a5a674..454ec44d7c 100644 --- a/ortools/sat/diophantine.h +++ b/ortools/sat/diophantine.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DIOPHANTINE_H_ -#define OR_TOOLS_SAT_DIOPHANTINE_H_ +#ifndef ORTOOLS_SAT_DIOPHANTINE_H_ +#define ORTOOLS_SAT_DIOPHANTINE_H_ #include #include @@ -130,4 +130,4 @@ DiophantineSolution SolveDiophantine(absl::Span coeffs, } // namespace operations_research::sat -#endif // OR_TOOLS_SAT_DIOPHANTINE_H_ +#endif // ORTOOLS_SAT_DIOPHANTINE_H_ diff --git a/ortools/sat/disjunctive.h b/ortools/sat/disjunctive.h index b3c8810ecf..6d144ef854 100644 --- a/ortools/sat/disjunctive.h +++ b/ortools/sat/disjunctive.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DISJUNCTIVE_H_ -#define OR_TOOLS_SAT_DISJUNCTIVE_H_ +#ifndef ORTOOLS_SAT_DISJUNCTIVE_H_ +#define ORTOOLS_SAT_DISJUNCTIVE_H_ #include #include @@ -408,4 +408,4 @@ class DisjunctiveWithTwoItems : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DISJUNCTIVE_H_ +#endif // ORTOOLS_SAT_DISJUNCTIVE_H_ diff --git a/ortools/sat/drat_checker.h b/ortools/sat/drat_checker.h index 23fed61002..37706eca5d 100644 --- a/ortools/sat/drat_checker.h +++ b/ortools/sat/drat_checker.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DRAT_CHECKER_H_ -#define OR_TOOLS_SAT_DRAT_CHECKER_H_ +#ifndef ORTOOLS_SAT_DRAT_CHECKER_H_ +#define ORTOOLS_SAT_DRAT_CHECKER_H_ #include @@ -343,4 +343,4 @@ bool PrintClauses(const std::string& file_path, SatFormat format, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DRAT_CHECKER_H_ +#endif // ORTOOLS_SAT_DRAT_CHECKER_H_ diff --git a/ortools/sat/drat_proof_handler.h b/ortools/sat/drat_proof_handler.h index f2b28fdbd5..958483af3a 100644 --- a/ortools/sat/drat_proof_handler.h +++ b/ortools/sat/drat_proof_handler.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DRAT_PROOF_HANDLER_H_ -#define OR_TOOLS_SAT_DRAT_PROOF_HANDLER_H_ +#ifndef ORTOOLS_SAT_DRAT_PROOF_HANDLER_H_ +#define ORTOOLS_SAT_DRAT_PROOF_HANDLER_H_ #include #include @@ -113,4 +113,4 @@ class DratProofHandler { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DRAT_PROOF_HANDLER_H_ +#endif // ORTOOLS_SAT_DRAT_PROOF_HANDLER_H_ diff --git a/ortools/sat/drat_writer.h b/ortools/sat/drat_writer.h index e5e3a7dff6..4f05777b91 100644 --- a/ortools/sat/drat_writer.h +++ b/ortools/sat/drat_writer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_DRAT_WRITER_H_ -#define OR_TOOLS_SAT_DRAT_WRITER_H_ +#ifndef ORTOOLS_SAT_DRAT_WRITER_H_ +#define ORTOOLS_SAT_DRAT_WRITER_H_ #include @@ -57,4 +57,4 @@ class DratWriter { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_DRAT_WRITER_H_ +#endif // ORTOOLS_SAT_DRAT_WRITER_H_ diff --git a/ortools/sat/encoding.h b/ortools/sat/encoding.h index d09cdea8d5..d94b3287da 100644 --- a/ortools/sat/encoding.h +++ b/ortools/sat/encoding.h @@ -17,8 +17,8 @@ // // This is also known as the incremental totalizer encoding in the literature. -#ifndef OR_TOOLS_SAT_ENCODING_H_ -#define OR_TOOLS_SAT_ENCODING_H_ +#ifndef ORTOOLS_SAT_ENCODING_H_ +#define ORTOOLS_SAT_ENCODING_H_ #include #include @@ -279,4 +279,4 @@ class ObjectiveEncoder { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ENCODING_H_ +#endif // ORTOOLS_SAT_ENCODING_H_ diff --git a/ortools/sat/enforcement.h b/ortools/sat/enforcement.h index 8805b925be..ffa9f0aafe 100644 --- a/ortools/sat/enforcement.h +++ b/ortools/sat/enforcement.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_ENFORCEMENT_H_ -#define OR_TOOLS_SAT_ENFORCEMENT_H_ +#ifndef ORTOOLS_SAT_ENFORCEMENT_H_ +#define ORTOOLS_SAT_ENFORCEMENT_H_ #include #include @@ -135,4 +135,4 @@ class EnforcementPropagator : public SatPropagator { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ENFORCEMENT_H_ +#endif // ORTOOLS_SAT_ENFORCEMENT_H_ diff --git a/ortools/sat/enforcement_helper.h b/ortools/sat/enforcement_helper.h index f87d6c018d..9c098690d5 100644 --- a/ortools/sat/enforcement_helper.h +++ b/ortools/sat/enforcement_helper.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_ENFORCEMENT_HELPER_H_ -#define OR_TOOLS_SAT_ENFORCEMENT_HELPER_H_ +#ifndef ORTOOLS_SAT_ENFORCEMENT_HELPER_H_ +#define ORTOOLS_SAT_ENFORCEMENT_HELPER_H_ #include @@ -100,4 +100,4 @@ class EnforcementHelper { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ENFORCEMENT_HELPER_H_ +#endif // ORTOOLS_SAT_ENFORCEMENT_HELPER_H_ diff --git a/ortools/sat/feasibility_jump.h b/ortools/sat/feasibility_jump.h index 5957ea2bcf..482489be7e 100644 --- a/ortools/sat/feasibility_jump.h +++ b/ortools/sat/feasibility_jump.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_FEASIBILITY_JUMP_H_ -#define OR_TOOLS_SAT_FEASIBILITY_JUMP_H_ +#ifndef ORTOOLS_SAT_FEASIBILITY_JUMP_H_ +#define ORTOOLS_SAT_FEASIBILITY_JUMP_H_ #include #include @@ -695,4 +695,4 @@ class CompoundMoveBuilder { } // namespace operations_research::sat -#endif // OR_TOOLS_SAT_FEASIBILITY_JUMP_H_ +#endif // ORTOOLS_SAT_FEASIBILITY_JUMP_H_ diff --git a/ortools/sat/feasibility_pump.h b/ortools/sat/feasibility_pump.h index cb18b32a05..0d742af7fa 100644 --- a/ortools/sat/feasibility_pump.h +++ b/ortools/sat/feasibility_pump.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_FEASIBILITY_PUMP_H_ -#define OR_TOOLS_SAT_FEASIBILITY_PUMP_H_ +#ifndef ORTOOLS_SAT_FEASIBILITY_PUMP_H_ +#define ORTOOLS_SAT_FEASIBILITY_PUMP_H_ #include #include @@ -244,4 +244,4 @@ class FeasibilityPump { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_FEASIBILITY_PUMP_H_ +#endif // ORTOOLS_SAT_FEASIBILITY_PUMP_H_ diff --git a/ortools/sat/implied_bounds.h b/ortools/sat/implied_bounds.h index 743379dd12..885633e41c 100644 --- a/ortools/sat/implied_bounds.h +++ b/ortools/sat/implied_bounds.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_IMPLIED_BOUNDS_H_ -#define OR_TOOLS_SAT_IMPLIED_BOUNDS_H_ +#ifndef ORTOOLS_SAT_IMPLIED_BOUNDS_H_ +#define ORTOOLS_SAT_IMPLIED_BOUNDS_H_ #include #include @@ -400,4 +400,4 @@ class ProductDetector { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_IMPLIED_BOUNDS_H_ +#endif // ORTOOLS_SAT_IMPLIED_BOUNDS_H_ diff --git a/ortools/sat/inclusion.h b/ortools/sat/inclusion.h index 699856f2c6..01e5f18888 100644 --- a/ortools/sat/inclusion.h +++ b/ortools/sat/inclusion.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_INCLUSION_H_ -#define OR_TOOLS_SAT_INCLUSION_H_ +#ifndef ORTOOLS_SAT_INCLUSION_H_ +#define ORTOOLS_SAT_INCLUSION_H_ #include #include @@ -577,4 +577,4 @@ inline void SubsetsDetector::FindSubsets( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INCLUSION_H_ +#endif // ORTOOLS_SAT_INCLUSION_H_ diff --git a/ortools/sat/integer.h b/ortools/sat/integer.h index fe95c9a234..6044a909e6 100644 --- a/ortools/sat/integer.h +++ b/ortools/sat/integer.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_INTEGER_H_ -#define OR_TOOLS_SAT_INTEGER_H_ +#ifndef ORTOOLS_SAT_INTEGER_H_ +#define ORTOOLS_SAT_INTEGER_H_ #include @@ -1749,4 +1749,4 @@ inline std::function(Model*)> FullyEncodeVariable( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INTEGER_H_ +#endif // ORTOOLS_SAT_INTEGER_H_ diff --git a/ortools/sat/integer_base.h b/ortools/sat/integer_base.h index 5884bc7c05..1159dfb18d 100644 --- a/ortools/sat/integer_base.h +++ b/ortools/sat/integer_base.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_INTEGER_BASE_H_ -#define OR_TOOLS_SAT_INTEGER_BASE_H_ +#ifndef ORTOOLS_SAT_INTEGER_BASE_H_ +#define ORTOOLS_SAT_INTEGER_BASE_H_ #include @@ -670,4 +670,4 @@ inline IntegerLiteral AffineExpression::LowerOrEqual(IntegerValue bound) const { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INTEGER_BASE_H_ +#endif // ORTOOLS_SAT_INTEGER_BASE_H_ diff --git a/ortools/sat/integer_expr.h b/ortools/sat/integer_expr.h index d270cc0ea5..9a31866201 100644 --- a/ortools/sat/integer_expr.h +++ b/ortools/sat/integer_expr.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_INTEGER_EXPR_H_ -#define OR_TOOLS_SAT_INTEGER_EXPR_H_ +#ifndef ORTOOLS_SAT_INTEGER_EXPR_H_ +#define ORTOOLS_SAT_INTEGER_EXPR_H_ #include #include @@ -870,4 +870,4 @@ inline std::function FixedModuloConstraint( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INTEGER_EXPR_H_ +#endif // ORTOOLS_SAT_INTEGER_EXPR_H_ diff --git a/ortools/sat/integer_search.h b/ortools/sat/integer_search.h index 8134ad7da1..cceb9ce7c7 100644 --- a/ortools/sat/integer_search.h +++ b/ortools/sat/integer_search.h @@ -20,8 +20,8 @@ // still use the objective if there is one in order to orient the search towards // good feasible solution though. -#ifndef OR_TOOLS_SAT_INTEGER_SEARCH_H_ -#define OR_TOOLS_SAT_INTEGER_SEARCH_H_ +#ifndef ORTOOLS_SAT_INTEGER_SEARCH_H_ +#define ORTOOLS_SAT_INTEGER_SEARCH_H_ #include @@ -405,4 +405,4 @@ class ContinuousProber { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INTEGER_SEARCH_H_ +#endif // ORTOOLS_SAT_INTEGER_SEARCH_H_ diff --git a/ortools/sat/intervals.h b/ortools/sat/intervals.h index 500c62a699..ea980c724d 100644 --- a/ortools/sat/intervals.h +++ b/ortools/sat/intervals.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_INTERVALS_H_ -#define OR_TOOLS_SAT_INTERVALS_H_ +#ifndef ORTOOLS_SAT_INTERVALS_H_ +#define ORTOOLS_SAT_INTERVALS_H_ #include #include @@ -347,4 +347,4 @@ void AppendVariablesFromCapacityAndDemands( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_INTERVALS_H_ +#endif // ORTOOLS_SAT_INTERVALS_H_ diff --git a/ortools/sat/lb_tree_search.h b/ortools/sat/lb_tree_search.h index 272690b92b..02e5536d98 100644 --- a/ortools/sat/lb_tree_search.h +++ b/ortools/sat/lb_tree_search.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LB_TREE_SEARCH_H_ -#define OR_TOOLS_SAT_LB_TREE_SEARCH_H_ +#ifndef ORTOOLS_SAT_LB_TREE_SEARCH_H_ +#define ORTOOLS_SAT_LB_TREE_SEARCH_H_ #include @@ -242,4 +242,4 @@ class LbTreeSearch { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LB_TREE_SEARCH_H_ +#endif // ORTOOLS_SAT_LB_TREE_SEARCH_H_ diff --git a/ortools/sat/linear_constraint.h b/ortools/sat/linear_constraint.h index bfc3c5fa44..b8a8fe369c 100644 --- a/ortools/sat/linear_constraint.h +++ b/ortools/sat/linear_constraint.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_CONSTRAINT_H_ -#define OR_TOOLS_SAT_LINEAR_CONSTRAINT_H_ +#ifndef ORTOOLS_SAT_LINEAR_CONSTRAINT_H_ +#define ORTOOLS_SAT_LINEAR_CONSTRAINT_H_ #include #include @@ -466,4 +466,4 @@ inline bool MergePositiveVariableTermsAndCheckForOverflow( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_CONSTRAINT_H_ +#endif // ORTOOLS_SAT_LINEAR_CONSTRAINT_H_ diff --git a/ortools/sat/linear_constraint_manager.h b/ortools/sat/linear_constraint_manager.h index b064ac4cfe..c951794cd3 100644 --- a/ortools/sat/linear_constraint_manager.h +++ b/ortools/sat/linear_constraint_manager.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ -#define OR_TOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ +#ifndef ORTOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ +#define ORTOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ #include #include @@ -446,4 +446,4 @@ class TopNCuts { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ +#endif // ORTOOLS_SAT_LINEAR_CONSTRAINT_MANAGER_H_ diff --git a/ortools/sat/linear_model.h b/ortools/sat/linear_model.h index 8a46fa0133..e5fecfb9a7 100644 --- a/ortools/sat/linear_model.h +++ b/ortools/sat/linear_model.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_MODEL_H_ -#define OR_TOOLS_SAT_LINEAR_MODEL_H_ +#ifndef ORTOOLS_SAT_LINEAR_MODEL_H_ +#define ORTOOLS_SAT_LINEAR_MODEL_H_ #include @@ -65,4 +65,4 @@ class LinearModel { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_MODEL_H_ +#endif // ORTOOLS_SAT_LINEAR_MODEL_H_ diff --git a/ortools/sat/linear_programming_constraint.h b/ortools/sat/linear_programming_constraint.h index b1fc333965..caf1e1d062 100644 --- a/ortools/sat/linear_programming_constraint.h +++ b/ortools/sat/linear_programming_constraint.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ -#define OR_TOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ +#ifndef ORTOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ +#define ORTOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ #include #include @@ -666,4 +666,4 @@ class LinearProgrammingConstraintCollection } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ +#endif // ORTOOLS_SAT_LINEAR_PROGRAMMING_CONSTRAINT_H_ diff --git a/ortools/sat/linear_propagation.h b/ortools/sat/linear_propagation.h index 4b8b6fcdd3..e4528c12d8 100644 --- a/ortools/sat/linear_propagation.h +++ b/ortools/sat/linear_propagation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_PROPAGATION_H_ -#define OR_TOOLS_SAT_LINEAR_PROPAGATION_H_ +#ifndef ORTOOLS_SAT_LINEAR_PROPAGATION_H_ +#define ORTOOLS_SAT_LINEAR_PROPAGATION_H_ #include @@ -414,4 +414,4 @@ class LinearPropagator : public PropagatorInterface, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_PROPAGATION_H_ +#endif // ORTOOLS_SAT_LINEAR_PROPAGATION_H_ diff --git a/ortools/sat/linear_relaxation.h b/ortools/sat/linear_relaxation.h index 67bba950fa..d57b29a9d5 100644 --- a/ortools/sat/linear_relaxation.h +++ b/ortools/sat/linear_relaxation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LINEAR_RELAXATION_H_ -#define OR_TOOLS_SAT_LINEAR_RELAXATION_H_ +#ifndef ORTOOLS_SAT_LINEAR_RELAXATION_H_ +#define ORTOOLS_SAT_LINEAR_RELAXATION_H_ #include #include @@ -226,4 +226,4 @@ LinearRelaxation ComputeLinearRelaxation(const CpModelProto& model_proto, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LINEAR_RELAXATION_H_ +#endif // ORTOOLS_SAT_LINEAR_RELAXATION_H_ diff --git a/ortools/sat/lp_utils.h b/ortools/sat/lp_utils.h index 1c175a2b5c..29e01c7986 100644 --- a/ortools/sat/lp_utils.h +++ b/ortools/sat/lp_utils.h @@ -13,8 +13,8 @@ // Utility functions to interact with an lp solver from the SAT context. -#ifndef OR_TOOLS_SAT_LP_UTILS_H_ -#define OR_TOOLS_SAT_LP_UTILS_H_ +#ifndef ORTOOLS_SAT_LP_UTILS_H_ +#define ORTOOLS_SAT_LP_UTILS_H_ #include @@ -246,4 +246,4 @@ void ConvertBooleanProblemToLinearProgram(const LinearBooleanProblem& problem, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LP_UTILS_H_ +#endif // ORTOOLS_SAT_LP_UTILS_H_ diff --git a/ortools/sat/lrat_checker.h b/ortools/sat/lrat_checker.h index 3d243616ad..a241ab6b9e 100644 --- a/ortools/sat/lrat_checker.h +++ b/ortools/sat/lrat_checker.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_LRAT_CHECKER_H_ -#define OR_TOOLS_SAT_LRAT_CHECKER_H_ +#ifndef ORTOOLS_SAT_LRAT_CHECKER_H_ +#define ORTOOLS_SAT_LRAT_CHECKER_H_ #include @@ -135,4 +135,4 @@ class LratChecker { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_LRAT_CHECKER_H_ +#endif // ORTOOLS_SAT_LRAT_CHECKER_H_ diff --git a/ortools/sat/max_hs.h b/ortools/sat/max_hs.h index 717d5ac83c..a4043eed68 100644 --- a/ortools/sat/max_hs.h +++ b/ortools/sat/max_hs.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_MAX_HS_H_ -#define OR_TOOLS_SAT_MAX_HS_H_ +#ifndef ORTOOLS_SAT_MAX_HS_H_ +#define ORTOOLS_SAT_MAX_HS_H_ #include @@ -184,4 +184,4 @@ class HittingSetOptimizer { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_MAX_HS_H_ +#endif // ORTOOLS_SAT_MAX_HS_H_ diff --git a/ortools/sat/model.h b/ortools/sat/model.h index f457a2d623..5e67da700d 100644 --- a/ortools/sat/model.h +++ b/ortools/sat/model.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_MODEL_H_ -#define OR_TOOLS_SAT_MODEL_H_ +#ifndef ORTOOLS_SAT_MODEL_H_ +#define ORTOOLS_SAT_MODEL_H_ #include #include @@ -243,4 +243,4 @@ class Model { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_MODEL_H_ +#endif // ORTOOLS_SAT_MODEL_H_ diff --git a/ortools/sat/no_overlap_2d_helper.h b/ortools/sat/no_overlap_2d_helper.h index be34f06f2e..00cba05afe 100644 --- a/ortools/sat/no_overlap_2d_helper.h +++ b/ortools/sat/no_overlap_2d_helper.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ -#define OR_TOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ +#ifndef ORTOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ +#define ORTOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ #include #include @@ -263,4 +263,4 @@ class NoOverlap2DConstraintHelper : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ +#endif // ORTOOLS_SAT_NO_OVERLAP_2D_HELPER_H_ diff --git a/ortools/sat/old_precedences_propagator.h b/ortools/sat/old_precedences_propagator.h index 0ae3524c75..351baed949 100644 --- a/ortools/sat/old_precedences_propagator.h +++ b/ortools/sat/old_precedences_propagator.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ -#define OR_TOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ +#ifndef ORTOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ +#define ORTOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ #include #include @@ -353,4 +353,4 @@ inline std::function ConditionalLowerOrEqualWithOffset( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ +#endif // ORTOOLS_SAT_OLD_PRECEDENCES_PROPAGATOR_H_ diff --git a/ortools/sat/opb_reader.h b/ortools/sat/opb_reader.h index ef452c2e7f..9d06d65372 100644 --- a/ortools/sat/opb_reader.h +++ b/ortools/sat/opb_reader.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_OPB_READER_H_ -#define OR_TOOLS_SAT_OPB_READER_H_ +#ifndef ORTOOLS_SAT_OPB_READER_H_ +#define ORTOOLS_SAT_OPB_READER_H_ #include #include @@ -387,4 +387,4 @@ class OpbReader { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_OPB_READER_H_ +#endif // ORTOOLS_SAT_OPB_READER_H_ diff --git a/ortools/sat/optimization.h b/ortools/sat/optimization.h index 1b98eaef9e..03e9347177 100644 --- a/ortools/sat/optimization.h +++ b/ortools/sat/optimization.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_OPTIMIZATION_H_ -#define OR_TOOLS_SAT_OPTIMIZATION_H_ +#ifndef ORTOOLS_SAT_OPTIMIZATION_H_ +#define ORTOOLS_SAT_OPTIMIZATION_H_ #include #include @@ -195,4 +195,4 @@ class CoreBasedOptimizer { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_OPTIMIZATION_H_ +#endif // ORTOOLS_SAT_OPTIMIZATION_H_ diff --git a/ortools/sat/parameters_validation.h b/ortools/sat/parameters_validation.h index 071613e89f..2fa7a3e7cc 100644 --- a/ortools/sat/parameters_validation.h +++ b/ortools/sat/parameters_validation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PARAMETERS_VALIDATION_H_ -#define OR_TOOLS_SAT_PARAMETERS_VALIDATION_H_ +#ifndef ORTOOLS_SAT_PARAMETERS_VALIDATION_H_ +#define ORTOOLS_SAT_PARAMETERS_VALIDATION_H_ #include @@ -28,4 +28,4 @@ std::string ValidateParameters(const SatParameters& params); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PARAMETERS_VALIDATION_H_ +#endif // ORTOOLS_SAT_PARAMETERS_VALIDATION_H_ diff --git a/ortools/sat/pb_constraint.h b/ortools/sat/pb_constraint.h index 1ceda586c1..390d155d15 100644 --- a/ortools/sat/pb_constraint.h +++ b/ortools/sat/pb_constraint.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PB_CONSTRAINT_H_ -#define OR_TOOLS_SAT_PB_CONSTRAINT_H_ +#ifndef ORTOOLS_SAT_PB_CONSTRAINT_H_ +#define ORTOOLS_SAT_PB_CONSTRAINT_H_ #include #include @@ -788,4 +788,4 @@ class VariableWithSameReasonIdentifier { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PB_CONSTRAINT_H_ +#endif // ORTOOLS_SAT_PB_CONSTRAINT_H_ diff --git a/ortools/sat/precedences.h b/ortools/sat/precedences.h index 94bdc36c16..c62f00301e 100644 --- a/ortools/sat/precedences.h +++ b/ortools/sat/precedences.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PRECEDENCES_H_ -#define OR_TOOLS_SAT_PRECEDENCES_H_ +#ifndef ORTOOLS_SAT_PRECEDENCES_H_ +#define ORTOOLS_SAT_PRECEDENCES_H_ #include #include @@ -854,4 +854,4 @@ Linear2Indices::GetAllLinear2ContainingVariables(IntegerVariable var1, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PRECEDENCES_H_ +#endif // ORTOOLS_SAT_PRECEDENCES_H_ diff --git a/ortools/sat/presolve_context.h b/ortools/sat/presolve_context.h index 97fb937251..9d0994ee50 100644 --- a/ortools/sat/presolve_context.h +++ b/ortools/sat/presolve_context.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PRESOLVE_CONTEXT_H_ -#define OR_TOOLS_SAT_PRESOLVE_CONTEXT_H_ +#ifndef ORTOOLS_SAT_PRESOLVE_CONTEXT_H_ +#define ORTOOLS_SAT_PRESOLVE_CONTEXT_H_ #include #include @@ -816,4 +816,4 @@ void CreateValidModelWithSingleConstraint(const ConstraintProto& ct, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PRESOLVE_CONTEXT_H_ +#endif // ORTOOLS_SAT_PRESOLVE_CONTEXT_H_ diff --git a/ortools/sat/presolve_util.h b/ortools/sat/presolve_util.h index d950574a1d..cff0e262f4 100644 --- a/ortools/sat/presolve_util.h +++ b/ortools/sat/presolve_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PRESOLVE_UTIL_H_ -#define OR_TOOLS_SAT_PRESOLVE_UTIL_H_ +#ifndef ORTOOLS_SAT_PRESOLVE_UTIL_H_ +#define ORTOOLS_SAT_PRESOLVE_UTIL_H_ #include #include @@ -411,4 +411,4 @@ inline bool LinearsDifferAtOneTerm(const LinearConstraintProto& lin1, } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PRESOLVE_UTIL_H_ +#endif // ORTOOLS_SAT_PRESOLVE_UTIL_H_ diff --git a/ortools/sat/primary_variables.h b/ortools/sat/primary_variables.h index 22f36911ea..7608c9cd21 100644 --- a/ortools/sat/primary_variables.h +++ b/ortools/sat/primary_variables.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PRIMARY_VARIABLES_H_ -#define OR_TOOLS_SAT_PRIMARY_VARIABLES_H_ +#ifndef ORTOOLS_SAT_PRIMARY_VARIABLES_H_ +#define ORTOOLS_SAT_PRIMARY_VARIABLES_H_ #include #include @@ -73,4 +73,4 @@ bool ComputeAllVariablesFromPrimaryVariables( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PRIMARY_VARIABLES_H_ +#endif // ORTOOLS_SAT_PRIMARY_VARIABLES_H_ diff --git a/ortools/sat/probing.h b/ortools/sat/probing.h index 6989dffa50..f93ea5b1c3 100644 --- a/ortools/sat/probing.h +++ b/ortools/sat/probing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PROBING_H_ -#define OR_TOOLS_SAT_PROBING_H_ +#ifndef ORTOOLS_SAT_PROBING_H_ +#define ORTOOLS_SAT_PROBING_H_ #include #include @@ -261,4 +261,4 @@ bool FailedLiteralProbingRound(ProbingOptions options, Model* model); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PROBING_H_ +#endif // ORTOOLS_SAT_PROBING_H_ diff --git a/ortools/sat/pseudo_costs.h b/ortools/sat/pseudo_costs.h index a2183a1a1e..e4be99ba2e 100644 --- a/ortools/sat/pseudo_costs.h +++ b/ortools/sat/pseudo_costs.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PSEUDO_COSTS_H_ -#define OR_TOOLS_SAT_PSEUDO_COSTS_H_ +#ifndef ORTOOLS_SAT_PSEUDO_COSTS_H_ +#define ORTOOLS_SAT_PSEUDO_COSTS_H_ #include #include @@ -148,4 +148,4 @@ class PseudoCosts { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_PSEUDO_COSTS_H_ +#endif // ORTOOLS_SAT_PSEUDO_COSTS_H_ diff --git a/ortools/sat/python/linear_expr.h b/ortools/sat/python/linear_expr.h index bd9acb5c04..5cf9d2c3a8 100644 --- a/ortools/sat/python/linear_expr.h +++ b/ortools/sat/python/linear_expr.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_H_ -#define OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_H_ +#ifndef ORTOOLS_SAT_PYTHON_LINEAR_EXPR_H_ +#define ORTOOLS_SAT_PYTHON_LINEAR_EXPR_H_ #include #include @@ -641,4 +641,4 @@ class BoundedLinearExpression { } // namespace operations_research::sat::python -#endif // OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_H_ +#endif // ORTOOLS_SAT_PYTHON_LINEAR_EXPR_H_ diff --git a/ortools/sat/python/linear_expr_doc.h b/ortools/sat/python/linear_expr_doc.h index b62752c217..c413189855 100644 --- a/ortools/sat/python/linear_expr_doc.h +++ b/ortools/sat/python/linear_expr_doc.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ -#define OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ +#ifndef ORTOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ +#define ORTOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ // NOLINTBEGIN @@ -885,4 +885,4 @@ static const char* __doc_operations_research_sat_python_SumArray_int_offset = // NOLINTEND -#endif // OR_TOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ +#endif // ORTOOLS_SAT_PYTHON_LINEAR_EXPR_DOC_H_ diff --git a/ortools/sat/python/wrappers.h b/ortools/sat/python/wrappers.h index 04aaa6e594..9849786d74 100644 --- a/ortools/sat/python/wrappers.h +++ b/ortools/sat/python/wrappers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_PYTHON_WRAPPERS_H_ -#define OR_TOOLS_SAT_PYTHON_WRAPPERS_H_ +#ifndef ORTOOLS_SAT_PYTHON_WRAPPERS_H_ +#define ORTOOLS_SAT_PYTHON_WRAPPERS_H_ #include @@ -28,4 +28,4 @@ std::string GeneratePybindCode( } // namespace operations_research::sat::python -#endif // OR_TOOLS_SAT_PYTHON_WRAPPERS_H_ +#endif // ORTOOLS_SAT_PYTHON_WRAPPERS_H_ diff --git a/ortools/sat/restart.h b/ortools/sat/restart.h index 97119b2677..e919d41155 100644 --- a/ortools/sat/restart.h +++ b/ortools/sat/restart.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_RESTART_H_ -#define OR_TOOLS_SAT_RESTART_H_ +#ifndef ORTOOLS_SAT_RESTART_H_ +#define ORTOOLS_SAT_RESTART_H_ #include #include @@ -105,4 +105,4 @@ inline int SUniv(int i) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_RESTART_H_ +#endif // ORTOOLS_SAT_RESTART_H_ diff --git a/ortools/sat/rins.h b/ortools/sat/rins.h index bed2a68b02..8de080b201 100644 --- a/ortools/sat/rins.h +++ b/ortools/sat/rins.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_RINS_H_ -#define OR_TOOLS_SAT_RINS_H_ +#ifndef ORTOOLS_SAT_RINS_H_ +#define ORTOOLS_SAT_RINS_H_ #include #include @@ -66,4 +66,4 @@ void RecordLPRelaxationValues(Model* model); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_RINS_H_ +#endif // ORTOOLS_SAT_RINS_H_ diff --git a/ortools/sat/routing_cuts.h b/ortools/sat/routing_cuts.h index 38aea7fa52..879909b1ba 100644 --- a/ortools/sat/routing_cuts.h +++ b/ortools/sat/routing_cuts.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_ROUTING_CUTS_H_ -#define OR_TOOLS_SAT_ROUTING_CUTS_H_ +#ifndef ORTOOLS_SAT_ROUTING_CUTS_H_ +#define ORTOOLS_SAT_ROUTING_CUTS_H_ #include @@ -753,4 +753,4 @@ CutGenerator CreateFlowCutGenerator( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ROUTING_CUTS_H_ +#endif // ORTOOLS_SAT_ROUTING_CUTS_H_ diff --git a/ortools/sat/sat_base.h b/ortools/sat/sat_base.h index 756b5cdbb3..babf803e8e 100644 --- a/ortools/sat/sat_base.h +++ b/ortools/sat/sat_base.h @@ -13,8 +13,8 @@ // Basic types and classes used by the sat solver. -#ifndef OR_TOOLS_SAT_SAT_BASE_H_ -#define OR_TOOLS_SAT_SAT_BASE_H_ +#ifndef ORTOOLS_SAT_SAT_BASE_H_ +#define ORTOOLS_SAT_SAT_BASE_H_ #include #include @@ -840,4 +840,4 @@ inline void Trail::ReimplyAll(int old_trail_index) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SAT_BASE_H_ +#endif // ORTOOLS_SAT_SAT_BASE_H_ diff --git a/ortools/sat/sat_cnf_reader.h b/ortools/sat/sat_cnf_reader.h index 688153a6ce..bc0e67a74a 100644 --- a/ortools/sat/sat_cnf_reader.h +++ b/ortools/sat/sat_cnf_reader.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SAT_CNF_READER_H_ -#define OR_TOOLS_SAT_SAT_CNF_READER_H_ +#ifndef ORTOOLS_SAT_SAT_CNF_READER_H_ +#define ORTOOLS_SAT_SAT_CNF_READER_H_ #include #include @@ -392,4 +392,4 @@ class SatCnfReader { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SAT_CNF_READER_H_ +#endif // ORTOOLS_SAT_SAT_CNF_READER_H_ diff --git a/ortools/sat/sat_decision.h b/ortools/sat/sat_decision.h index b00fd48882..6be188035e 100644 --- a/ortools/sat/sat_decision.h +++ b/ortools/sat/sat_decision.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SAT_DECISION_H_ -#define OR_TOOLS_SAT_SAT_DECISION_H_ +#ifndef ORTOOLS_SAT_SAT_DECISION_H_ +#define ORTOOLS_SAT_SAT_DECISION_H_ #include #include @@ -272,4 +272,4 @@ class SatDecisionPolicy { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SAT_DECISION_H_ +#endif // ORTOOLS_SAT_SAT_DECISION_H_ diff --git a/ortools/sat/sat_inprocessing.h b/ortools/sat/sat_inprocessing.h index 4b5b9f4cd2..8e32bfe8b9 100644 --- a/ortools/sat/sat_inprocessing.h +++ b/ortools/sat/sat_inprocessing.h @@ -18,8 +18,8 @@ // is avoid doing work that is not useful because nothing changed or exploring // parts that were not done during the last round. -#ifndef OR_TOOLS_SAT_SAT_INPROCESSING_H_ -#define OR_TOOLS_SAT_SAT_INPROCESSING_H_ +#ifndef ORTOOLS_SAT_SAT_INPROCESSING_H_ +#define ORTOOLS_SAT_SAT_INPROCESSING_H_ #include #include @@ -401,4 +401,4 @@ class BoundedVariableElimination { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SAT_INPROCESSING_H_ +#endif // ORTOOLS_SAT_SAT_INPROCESSING_H_ diff --git a/ortools/sat/sat_solver.h b/ortools/sat/sat_solver.h index b8991d132c..e828c1f773 100644 --- a/ortools/sat/sat_solver.h +++ b/ortools/sat/sat_solver.h @@ -16,8 +16,8 @@ // for more detail. // TODO(user): Expand. -#ifndef OR_TOOLS_SAT_SAT_SOLVER_H_ -#define OR_TOOLS_SAT_SAT_SOLVER_H_ +#ifndef ORTOOLS_SAT_SAT_SOLVER_H_ +#define ORTOOLS_SAT_SAT_SOLVER_H_ #include #include @@ -1090,4 +1090,4 @@ inline std::ostream& operator<<(std::ostream& os, SatSolver::Status status) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SAT_SOLVER_H_ +#endif // ORTOOLS_SAT_SAT_SOLVER_H_ diff --git a/ortools/sat/scheduling_cuts.h b/ortools/sat/scheduling_cuts.h index 8b493eefa3..8cf5c3804c 100644 --- a/ortools/sat/scheduling_cuts.h +++ b/ortools/sat/scheduling_cuts.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SCHEDULING_CUTS_H_ -#define OR_TOOLS_SAT_SCHEDULING_CUTS_H_ +#ifndef ORTOOLS_SAT_SCHEDULING_CUTS_H_ +#define ORTOOLS_SAT_SCHEDULING_CUTS_H_ #include #include @@ -252,4 +252,4 @@ std::vector> SplitEventsInIndendentSets(absl::Span events) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SCHEDULING_CUTS_H_ +#endif // ORTOOLS_SAT_SCHEDULING_CUTS_H_ diff --git a/ortools/sat/scheduling_helpers.h b/ortools/sat/scheduling_helpers.h index ff281d3603..88911ee119 100644 --- a/ortools/sat/scheduling_helpers.h +++ b/ortools/sat/scheduling_helpers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SCHEDULING_HELPERS_H_ -#define OR_TOOLS_SAT_SCHEDULING_HELPERS_H_ +#ifndef ORTOOLS_SAT_SCHEDULING_HELPERS_H_ +#define ORTOOLS_SAT_SCHEDULING_HELPERS_H_ #include #include @@ -854,4 +854,4 @@ void AppendVariablesFromCapacityAndDemands( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SCHEDULING_HELPERS_H_ +#endif // ORTOOLS_SAT_SCHEDULING_HELPERS_H_ diff --git a/ortools/sat/shaving_solver.h b/ortools/sat/shaving_solver.h index 57d953a56a..8d8e073b40 100644 --- a/ortools/sat/shaving_solver.h +++ b/ortools/sat/shaving_solver.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SHAVING_SOLVER_H_ -#define OR_TOOLS_SAT_SHAVING_SOLVER_H_ +#ifndef ORTOOLS_SAT_SHAVING_SOLVER_H_ +#define ORTOOLS_SAT_SHAVING_SOLVER_H_ #include #include @@ -149,4 +149,4 @@ class VariablesShavingSolver : public SubSolver { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SHAVING_SOLVER_H_ +#endif // ORTOOLS_SAT_SHAVING_SOLVER_H_ diff --git a/ortools/sat/simplification.h b/ortools/sat/simplification.h index 1f29de687d..ecdb54a8f2 100644 --- a/ortools/sat/simplification.h +++ b/ortools/sat/simplification.h @@ -16,8 +16,8 @@ // "Effective Preprocessing in SAT through Variable and Clause Elimination", // Niklas Een and Armin Biere, published in the SAT 2005 proceedings. -#ifndef OR_TOOLS_SAT_SIMPLIFICATION_H_ -#define OR_TOOLS_SAT_SIMPLIFICATION_H_ +#ifndef ORTOOLS_SAT_SIMPLIFICATION_H_ +#define ORTOOLS_SAT_SIMPLIFICATION_H_ #include #include @@ -446,4 +446,4 @@ void ProbeAndFindEquivalentLiteral( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SIMPLIFICATION_H_ +#endif // ORTOOLS_SAT_SIMPLIFICATION_H_ diff --git a/ortools/sat/solution_crush.h b/ortools/sat/solution_crush.h index 4412b34323..239497cf82 100644 --- a/ortools/sat/solution_crush.h +++ b/ortools/sat/solution_crush.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SOLUTION_CRUSH_H_ -#define OR_TOOLS_SAT_SOLUTION_CRUSH_H_ +#ifndef ORTOOLS_SAT_SOLUTION_CRUSH_H_ +#define ORTOOLS_SAT_SOLUTION_CRUSH_H_ #include #include @@ -353,4 +353,4 @@ class SolutionCrush { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SOLUTION_CRUSH_H_ +#endif // ORTOOLS_SAT_SOLUTION_CRUSH_H_ diff --git a/ortools/sat/stat_tables.h b/ortools/sat/stat_tables.h index c1cecc8dff..01536491dd 100644 --- a/ortools/sat/stat_tables.h +++ b/ortools/sat/stat_tables.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_STAT_TABLES_H_ -#define OR_TOOLS_SAT_STAT_TABLES_H_ +#ifndef ORTOOLS_SAT_STAT_TABLES_H_ +#define ORTOOLS_SAT_STAT_TABLES_H_ #include #include @@ -79,4 +79,4 @@ class SharedStatTables { } // namespace operations_research::sat -#endif // OR_TOOLS_SAT_STAT_TABLES_H_ +#endif // ORTOOLS_SAT_STAT_TABLES_H_ diff --git a/ortools/sat/subsolver.h b/ortools/sat/subsolver.h index cf586e3e80..f915a9e756 100644 --- a/ortools/sat/subsolver.h +++ b/ortools/sat/subsolver.h @@ -14,8 +14,8 @@ // Simple framework for choosing and distributing a solver "sub-tasks" on a set // of threads. -#ifndef OR_TOOLS_SAT_SUBSOLVER_H_ -#define OR_TOOLS_SAT_SUBSOLVER_H_ +#ifndef ORTOOLS_SAT_SUBSOLVER_H_ +#define ORTOOLS_SAT_SUBSOLVER_H_ #include #include @@ -226,4 +226,4 @@ void SequentialLoop(std::vector>& subsolvers); } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SUBSOLVER_H_ +#endif // ORTOOLS_SAT_SUBSOLVER_H_ diff --git a/ortools/sat/swig_helper.h b/ortools/sat/swig_helper.h index 9bedcb4599..9ed21a2b91 100644 --- a/ortools/sat/swig_helper.h +++ b/ortools/sat/swig_helper.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SWIG_HELPER_H_ -#define OR_TOOLS_SAT_SWIG_HELPER_H_ +#ifndef ORTOOLS_SAT_SWIG_HELPER_H_ +#define ORTOOLS_SAT_SWIG_HELPER_H_ #include #include @@ -166,4 +166,4 @@ struct CpSatHelper { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SWIG_HELPER_H_ +#endif // ORTOOLS_SAT_SWIG_HELPER_H_ diff --git a/ortools/sat/symmetry.h b/ortools/sat/symmetry.h index 33c5bc4621..2a82516f6c 100644 --- a/ortools/sat/symmetry.h +++ b/ortools/sat/symmetry.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SYMMETRY_H_ -#define OR_TOOLS_SAT_SYMMETRY_H_ +#ifndef ORTOOLS_SAT_SYMMETRY_H_ +#define ORTOOLS_SAT_SYMMETRY_H_ #include #include @@ -185,4 +185,4 @@ class SymmetryPropagator : public SatPropagator { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SYMMETRY_H_ +#endif // ORTOOLS_SAT_SYMMETRY_H_ diff --git a/ortools/sat/symmetry_util.h b/ortools/sat/symmetry_util.h index 97238b626f..e7949d6bf9 100644 --- a/ortools/sat/symmetry_util.h +++ b/ortools/sat/symmetry_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SYMMETRY_UTIL_H_ -#define OR_TOOLS_SAT_SYMMETRY_UTIL_H_ +#ifndef ORTOOLS_SAT_SYMMETRY_UTIL_H_ +#define ORTOOLS_SAT_SYMMETRY_UTIL_H_ #include #include @@ -101,4 +101,4 @@ inline void TransformToGeneratorOfStabilizer( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SYMMETRY_UTIL_H_ +#endif // ORTOOLS_SAT_SYMMETRY_UTIL_H_ diff --git a/ortools/sat/synchronization.h b/ortools/sat/synchronization.h index 2094c073c2..ae6f2f1ac6 100644 --- a/ortools/sat/synchronization.h +++ b/ortools/sat/synchronization.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_SYNCHRONIZATION_H_ -#define OR_TOOLS_SAT_SYNCHRONIZATION_H_ +#ifndef ORTOOLS_SAT_SYNCHRONIZATION_H_ +#define ORTOOLS_SAT_SYNCHRONIZATION_H_ #include #include @@ -1275,4 +1275,4 @@ void SharedSolutionRepository::Synchronize( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_SYNCHRONIZATION_H_ +#endif // ORTOOLS_SAT_SYNCHRONIZATION_H_ diff --git a/ortools/sat/table.h b/ortools/sat/table.h index 176e2559a4..edfcdd1a35 100644 --- a/ortools/sat/table.h +++ b/ortools/sat/table.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_TABLE_H_ -#define OR_TOOLS_SAT_TABLE_H_ +#ifndef ORTOOLS_SAT_TABLE_H_ +#define ORTOOLS_SAT_TABLE_H_ #include #include @@ -35,4 +35,4 @@ std::function LiteralTableConstraint( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_TABLE_H_ +#endif // ORTOOLS_SAT_TABLE_H_ diff --git a/ortools/sat/timetable.h b/ortools/sat/timetable.h index cff5a54ac2..4e632be823 100644 --- a/ortools/sat/timetable.h +++ b/ortools/sat/timetable.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_TIMETABLE_H_ -#define OR_TOOLS_SAT_TIMETABLE_H_ +#ifndef ORTOOLS_SAT_TIMETABLE_H_ +#define ORTOOLS_SAT_TIMETABLE_H_ #include #include @@ -222,4 +222,4 @@ class TimeTablingPerTask : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_TIMETABLE_H_ +#endif // ORTOOLS_SAT_TIMETABLE_H_ diff --git a/ortools/sat/timetable_edgefinding.h b/ortools/sat/timetable_edgefinding.h index 2d153f1e55..410ecbfb25 100644 --- a/ortools/sat/timetable_edgefinding.h +++ b/ortools/sat/timetable_edgefinding.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_TIMETABLE_EDGEFINDING_H_ -#define OR_TOOLS_SAT_TIMETABLE_EDGEFINDING_H_ +#ifndef ORTOOLS_SAT_TIMETABLE_EDGEFINDING_H_ +#define ORTOOLS_SAT_TIMETABLE_EDGEFINDING_H_ #include @@ -123,4 +123,4 @@ class TimeTableEdgeFinding : public PropagatorInterface { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_TIMETABLE_EDGEFINDING_H_ +#endif // ORTOOLS_SAT_TIMETABLE_EDGEFINDING_H_ diff --git a/ortools/sat/util.h b/ortools/sat/util.h index 3cecc76172..062056610b 100644 --- a/ortools/sat/util.h +++ b/ortools/sat/util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_UTIL_H_ -#define OR_TOOLS_SAT_UTIL_H_ +#ifndef ORTOOLS_SAT_UTIL_H_ +#define ORTOOLS_SAT_UTIL_H_ #include #include @@ -1308,4 +1308,4 @@ inline void DagTopologicalSortIterator::Iterator::Set(int pos, int k) { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_UTIL_H_ +#endif // ORTOOLS_SAT_UTIL_H_ diff --git a/ortools/sat/var_domination.h b/ortools/sat/var_domination.h index 6d74cb62bb..231fa5f568 100644 --- a/ortools/sat/var_domination.h +++ b/ortools/sat/var_domination.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_VAR_DOMINATION_H_ -#define OR_TOOLS_SAT_VAR_DOMINATION_H_ +#ifndef ORTOOLS_SAT_VAR_DOMINATION_H_ +#define ORTOOLS_SAT_VAR_DOMINATION_H_ #include #include @@ -302,4 +302,4 @@ void ScanModelForDualBoundStrengthening( } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_VAR_DOMINATION_H_ +#endif // ORTOOLS_SAT_VAR_DOMINATION_H_ diff --git a/ortools/sat/work_assignment.h b/ortools/sat/work_assignment.h index d9e4ab9356..0ea91478a0 100644 --- a/ortools/sat/work_assignment.h +++ b/ortools/sat/work_assignment.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_WORK_ASSIGNMENT_H_ -#define OR_TOOLS_SAT_WORK_ASSIGNMENT_H_ +#ifndef ORTOOLS_SAT_WORK_ASSIGNMENT_H_ +#define ORTOOLS_SAT_WORK_ASSIGNMENT_H_ #include #include @@ -389,4 +389,4 @@ class SharedTreeWorker { } // namespace operations_research::sat -#endif // OR_TOOLS_SAT_WORK_ASSIGNMENT_H_ +#endif // ORTOOLS_SAT_WORK_ASSIGNMENT_H_ diff --git a/ortools/sat/zero_half_cuts.h b/ortools/sat/zero_half_cuts.h index 0445aaad96..f4882375a0 100644 --- a/ortools/sat/zero_half_cuts.h +++ b/ortools/sat/zero_half_cuts.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SAT_ZERO_HALF_CUTS_H_ -#define OR_TOOLS_SAT_ZERO_HALF_CUTS_H_ +#ifndef ORTOOLS_SAT_ZERO_HALF_CUTS_H_ +#define ORTOOLS_SAT_ZERO_HALF_CUTS_H_ #include #include @@ -126,4 +126,4 @@ class ZeroHalfCutHelper { } // namespace sat } // namespace operations_research -#endif // OR_TOOLS_SAT_ZERO_HALF_CUTS_H_ +#endif // ORTOOLS_SAT_ZERO_HALF_CUTS_H_ diff --git a/ortools/scheduling/jobshop_scheduling_parser.h b/ortools/scheduling/jobshop_scheduling_parser.h index 3febc4d5d1..7739891f7e 100644 --- a/ortools/scheduling/jobshop_scheduling_parser.h +++ b/ortools/scheduling/jobshop_scheduling_parser.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ -#define OR_TOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ +#ifndef ORTOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ +#define ORTOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ #include #include @@ -92,4 +92,4 @@ class JsspParser { } // namespace scheduling } // namespace operations_research -#endif // OR_TOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ +#endif // ORTOOLS_SCHEDULING_JOBSHOP_SCHEDULING_PARSER_H_ diff --git a/ortools/scheduling/rcpsp_parser.h b/ortools/scheduling/rcpsp_parser.h index 5c0601c556..0a93b6a08a 100644 --- a/ortools/scheduling/rcpsp_parser.h +++ b/ortools/scheduling/rcpsp_parser.h @@ -14,8 +14,8 @@ // A Project Scheduling Library parser. // See: http://www.om-db.wi.tum.de/psplib/ # PSP-Lib homepage. -#ifndef OR_TOOLS_SCHEDULING_RCPSP_PARSER_H_ -#define OR_TOOLS_SCHEDULING_RCPSP_PARSER_H_ +#ifndef ORTOOLS_SCHEDULING_RCPSP_PARSER_H_ +#define ORTOOLS_SCHEDULING_RCPSP_PARSER_H_ #include #include @@ -82,4 +82,4 @@ class RcpspParser { } // namespace scheduling } // namespace operations_research -#endif // OR_TOOLS_SCHEDULING_RCPSP_PARSER_H_ +#endif // ORTOOLS_SCHEDULING_RCPSP_PARSER_H_ diff --git a/ortools/set_cover/assignment.h b/ortools/set_cover/assignment.h index 9c78b97d57..7b75df15a0 100644 --- a/ortools/set_cover/assignment.h +++ b/ortools/set_cover/assignment.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_ASSIGNMENT_H_ -#define OR_TOOLS_SET_COVER_ASSIGNMENT_H_ +#ifndef ORTOOLS_SET_COVER_ASSIGNMENT_H_ +#define ORTOOLS_SET_COVER_ASSIGNMENT_H_ #include @@ -102,4 +102,4 @@ class SetCoverAssignment { } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_ASSIGNMENT_H_ +#endif // ORTOOLS_SET_COVER_ASSIGNMENT_H_ diff --git a/ortools/set_cover/base_types.h b/ortools/set_cover/base_types.h index 3a5c6ae410..804509371f 100644 --- a/ortools/set_cover/base_types.h +++ b/ortools/set_cover/base_types.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_BASE_TYPES_H_ -#define OR_TOOLS_SET_COVER_BASE_TYPES_H_ +#ifndef ORTOOLS_SET_COVER_BASE_TYPES_H_ +#define ORTOOLS_SET_COVER_BASE_TYPES_H_ #include #include @@ -403,4 +403,4 @@ class StopWatch { } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_BASE_TYPES_H_ +#endif // ORTOOLS_SET_COVER_BASE_TYPES_H_ diff --git a/ortools/set_cover/capacity_invariant.h b/ortools/set_cover/capacity_invariant.h index 3b29a2c86f..72fb9f20a2 100644 --- a/ortools/set_cover/capacity_invariant.h +++ b/ortools/set_cover/capacity_invariant.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_CAPACITY_INVARIANT_H_ -#define OR_TOOLS_SET_COVER_CAPACITY_INVARIANT_H_ +#ifndef ORTOOLS_SET_COVER_CAPACITY_INVARIANT_H_ +#define ORTOOLS_SET_COVER_CAPACITY_INVARIANT_H_ #include "absl/log/check.h" #include "ortools/set_cover/base_types.h" @@ -93,4 +93,4 @@ class CapacityInvariant { }; } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_CAPACITY_INVARIANT_H_ +#endif // ORTOOLS_SET_COVER_CAPACITY_INVARIANT_H_ diff --git a/ortools/set_cover/capacity_model.h b/ortools/set_cover/capacity_model.h index e985ae9c3f..3969d7158f 100644 --- a/ortools/set_cover/capacity_model.h +++ b/ortools/set_cover/capacity_model.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_CAPACITY_MODEL_H_ -#define OR_TOOLS_SET_COVER_CAPACITY_MODEL_H_ +#ifndef ORTOOLS_SET_COVER_CAPACITY_MODEL_H_ +#define ORTOOLS_SET_COVER_CAPACITY_MODEL_H_ #include #include @@ -152,4 +152,4 @@ class CapacityModel { }; } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_CAPACITY_MODEL_H_ +#endif // ORTOOLS_SET_COVER_CAPACITY_MODEL_H_ diff --git a/ortools/set_cover/samples/bin_packing.h b/ortools/set_cover/samples/bin_packing.h index 5bdba77135..9432ede9d5 100644 --- a/ortools/set_cover/samples/bin_packing.h +++ b/ortools/set_cover/samples/bin_packing.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H -#define OR_TOOLS_ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H +#ifndef ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H +#define ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H #include #include @@ -177,4 +177,4 @@ void AddRandomizedBins(const BinPackingModel& model, BaseInt num_bins, BinPackingSetCoverModel& scp_model, std::mt19937& rnd); } // namespace operations_research -#endif /* OR_TOOLS_ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H */ +#endif /* ORTOOLS_SET_COVER_SAMPLES_BIN_PACKING_H */ diff --git a/ortools/set_cover/set_cover_cft.h b/ortools/set_cover/set_cover_cft.h index 9481161a57..1e0bef3e9c 100644 --- a/ortools/set_cover/set_cover_cft.h +++ b/ortools/set_cover/set_cover_cft.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ORTOOLS_SET_COVER_SET_COVER_CFT_H -#define OR_TOOLS_ORTOOLS_SET_COVER_SET_COVER_CFT_H +#ifndef ORTOOLS_SET_COVER_SET_COVER_CFT_H +#define ORTOOLS_SET_COVER_SET_COVER_CFT_H #include #include @@ -454,4 +454,4 @@ class FullToCoreModel : public SubModel { } // namespace operations_research::scp -#endif /* OR_TOOLS_ORTOOLS_SET_COVER_SET_COVER_CFT_H */ +#endif /* ORTOOLS_SET_COVER_SET_COVER_CFT_H */ diff --git a/ortools/set_cover/set_cover_heuristics.h b/ortools/set_cover/set_cover_heuristics.h index ed6f5342a2..c21af8f0a7 100644 --- a/ortools/set_cover/set_cover_heuristics.h +++ b/ortools/set_cover/set_cover_heuristics.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ +#define ORTOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ #include #include @@ -655,4 +655,4 @@ std::vector ClearMostCoveredElements( SetCoverInvariant* inv); } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_HEURISTICS_H_ diff --git a/ortools/set_cover/set_cover_invariant.h b/ortools/set_cover/set_cover_invariant.h index 37a5a05147..0063e73d5c 100644 --- a/ortools/set_cover/set_cover_invariant.h +++ b/ortools/set_cover/set_cover_invariant.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_INVARIANT_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_INVARIANT_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_INVARIANT_H_ +#define ORTOOLS_SET_COVER_SET_COVER_INVARIANT_H_ #include #include @@ -340,4 +340,4 @@ class SetCoverInvariant { }; } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_INVARIANT_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_INVARIANT_H_ diff --git a/ortools/set_cover/set_cover_lagrangian.h b/ortools/set_cover/set_cover_lagrangian.h index f07c638b48..0e38fe302a 100644 --- a/ortools/set_cover/set_cover_lagrangian.h +++ b/ortools/set_cover/set_cover_lagrangian.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ +#define ORTOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ #include #include @@ -163,4 +163,4 @@ class SetCoverLagrangian : public SubsetListBasedSolutionGenerator { } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_LAGRANGIAN_H_ diff --git a/ortools/set_cover/set_cover_mip.h b/ortools/set_cover/set_cover_mip.h index 592076a98b..35c89b89dd 100644 --- a/ortools/set_cover/set_cover_mip.h +++ b/ortools/set_cover/set_cover_mip.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_MIP_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_MIP_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_MIP_H_ +#define ORTOOLS_SET_COVER_SET_COVER_MIP_H_ #include "absl/strings/string_view.h" #include "absl/types/span.h" @@ -76,4 +76,4 @@ class SetCoverMip : public SubsetListBasedSolutionGenerator { }; } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_MIP_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_MIP_H_ diff --git a/ortools/set_cover/set_cover_model.h b/ortools/set_cover/set_cover_model.h index f17207b1cf..62f0005c4a 100644 --- a/ortools/set_cover/set_cover_model.h +++ b/ortools/set_cover/set_cover_model.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_MODEL_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_MODEL_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_MODEL_H_ +#define ORTOOLS_SET_COVER_SET_COVER_MODEL_H_ #include #include @@ -552,4 +552,4 @@ class IntersectingSubsetsRange { } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_MODEL_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_MODEL_H_ diff --git a/ortools/set_cover/set_cover_reader.h b/ortools/set_cover/set_cover_reader.h index 13076cd28d..4090eb1265 100644 --- a/ortools/set_cover/set_cover_reader.h +++ b/ortools/set_cover/set_cover_reader.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_READER_H_ -#define OR_TOOLS_SET_COVER_SET_COVER_READER_H_ +#ifndef ORTOOLS_SET_COVER_SET_COVER_READER_H_ +#define ORTOOLS_SET_COVER_SET_COVER_READER_H_ #include "absl/strings/string_view.h" #include "ortools/set_cover/set_cover_model.h" @@ -106,4 +106,4 @@ void WriteSetCoverSolutionProto(const SetCoverModel& model, } // namespace operations_research -#endif // OR_TOOLS_SET_COVER_SET_COVER_READER_H_ +#endif // ORTOOLS_SET_COVER_SET_COVER_READER_H_ diff --git a/ortools/set_cover/set_cover_submodel.h b/ortools/set_cover/set_cover_submodel.h index 13b4ce93f1..13151f4035 100644 --- a/ortools/set_cover/set_cover_submodel.h +++ b/ortools/set_cover/set_cover_submodel.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_SUBMODEL_H -#define OR_TOOLS_SET_COVER_SET_COVER_SUBMODEL_H +#ifndef ORTOOLS_SET_COVER_SET_COVER_SUBMODEL_H +#define ORTOOLS_SET_COVER_SET_COVER_SUBMODEL_H #include "ortools/set_cover/set_cover_views.h" @@ -311,4 +311,4 @@ bool ValidateSubModel(const SubModelT& model) { } } // namespace operations_research::scp -#endif /* OR_TOOLS_SET_COVER_SET_COVER_SUBMODEL_H */ +#endif /* ORTOOLS_SET_COVER_SET_COVER_SUBMODEL_H */ diff --git a/ortools/set_cover/set_cover_views.h b/ortools/set_cover/set_cover_views.h index 12e30390eb..68adace3fb 100644 --- a/ortools/set_cover/set_cover_views.h +++ b/ortools/set_cover/set_cover_views.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_SET_COVER_SET_COVER_VIEWS_H -#define OR_TOOLS_SET_COVER_SET_COVER_VIEWS_H +#ifndef ORTOOLS_SET_COVER_SET_COVER_VIEWS_H +#define ORTOOLS_SET_COVER_SET_COVER_VIEWS_H #include @@ -254,4 +254,4 @@ class FilterModelView { } // namespace operations_research -#endif /* OR_TOOLS_SET_COVER_SET_COVER_VIEWS_H */ +#endif /* ORTOOLS_SET_COVER_SET_COVER_VIEWS_H */ diff --git a/ortools/set_cover/views.h b/ortools/set_cover/views.h index 49a31be0b0..938ca32e97 100644 --- a/ortools/set_cover/views.h +++ b/ortools/set_cover/views.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_ORTOOLS_SET_COVER_VIEWS_H -#define OR_TOOLS_ORTOOLS_SET_COVER_VIEWS_H +#ifndef ORTOOLS_SET_COVER_VIEWS_H +#define ORTOOLS_SET_COVER_VIEWS_H #include #include @@ -474,4 +474,4 @@ class TransformView { } // namespace util_intops -#endif /* OR_TOOLS_ORTOOLS_SET_COVER_VIEWS_H */ +#endif /* ORTOOLS_SET_COVER_VIEWS_H */ diff --git a/ortools/third_party_solvers/dynamic_library.h b/ortools/third_party_solvers/dynamic_library.h index c47a7e7130..5572c1223c 100644 --- a/ortools/third_party_solvers/dynamic_library.h +++ b/ortools/third_party_solvers/dynamic_library.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_BASE_DYNAMIC_LIBRARY_H_ -#define OR_TOOLS_BASE_DYNAMIC_LIBRARY_H_ +#ifndef ORTOOLS_BASE_DYNAMIC_LIBRARY_H_ +#define ORTOOLS_BASE_DYNAMIC_LIBRARY_H_ #include #include @@ -117,4 +117,4 @@ class DynamicLibrary { }; }; -#endif // OR_TOOLS_BASE_DYNAMIC_LIBRARY_H_ +#endif // ORTOOLS_BASE_DYNAMIC_LIBRARY_H_ diff --git a/ortools/util/adaptative_parameter_value.h b/ortools/util/adaptative_parameter_value.h index 91c6eddf6c..d91b0a3fd5 100644 --- a/ortools/util/adaptative_parameter_value.h +++ b/ortools/util/adaptative_parameter_value.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ -#define OR_TOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ +#ifndef ORTOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ +#define ORTOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ #include #include @@ -80,4 +80,4 @@ class AdaptiveParameterValue { } // namespace operations_research -#endif // OR_TOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ +#endif // ORTOOLS_UTIL_ADAPTATIVE_PARAMETER_VALUE_H_ diff --git a/ortools/util/affine_relation.h b/ortools/util/affine_relation.h index 08a6febde9..e202793ffe 100644 --- a/ortools/util/affine_relation.h +++ b/ortools/util/affine_relation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_AFFINE_RELATION_H_ -#define OR_TOOLS_UTIL_AFFINE_RELATION_H_ +#ifndef ORTOOLS_UTIL_AFFINE_RELATION_H_ +#define ORTOOLS_UTIL_AFFINE_RELATION_H_ #include #include @@ -220,4 +220,4 @@ inline AffineRelation::Relation AffineRelation::Get(int x) const { } // namespace operations_research -#endif // OR_TOOLS_UTIL_AFFINE_RELATION_H_ +#endif // ORTOOLS_UTIL_AFFINE_RELATION_H_ diff --git a/ortools/util/aligned_memory.h b/ortools/util/aligned_memory.h index 5831ff0bf8..b98e625b86 100644 --- a/ortools/util/aligned_memory.h +++ b/ortools/util/aligned_memory.h @@ -24,8 +24,8 @@ // - AlignUp and AlignDown are functions that align a pointer to the given // number of bytes. -#ifndef OR_TOOLS_UTIL_ALIGNED_MEMORY_H_ -#define OR_TOOLS_UTIL_ALIGNED_MEMORY_H_ +#ifndef ORTOOLS_UTIL_ALIGNED_MEMORY_H_ +#define ORTOOLS_UTIL_ALIGNED_MEMORY_H_ #include #include @@ -98,4 +98,4 @@ using MisalignedVector = } // namespace operations_research -#endif // OR_TOOLS_UTIL_ALIGNED_MEMORY_H_ +#endif // ORTOOLS_UTIL_ALIGNED_MEMORY_H_ diff --git a/ortools/util/aligned_memory_internal.h b/ortools/util/aligned_memory_internal.h index cc2a0005e1..0ffd612924 100644 --- a/ortools/util/aligned_memory_internal.h +++ b/ortools/util/aligned_memory_internal.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ -#define OR_TOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ +#ifndef ORTOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ +#define ORTOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ #include #include @@ -76,4 +76,4 @@ struct AllocatorWithAlignment : public std::allocator { } // namespace operations_research -#endif // OR_TOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ +#endif // ORTOOLS_UTIL_ALIGNED_MEMORY_INTERNAL_H_ diff --git a/ortools/util/bitset.h b/ortools/util/bitset.h index 909e0a5551..d4947ece45 100644 --- a/ortools/util/bitset.h +++ b/ortools/util/bitset.h @@ -13,8 +13,8 @@ // Various utility functions on bitsets. -#ifndef OR_TOOLS_UTIL_BITSET_H_ -#define OR_TOOLS_UTIL_BITSET_H_ +#ifndef ORTOOLS_UTIL_BITSET_H_ +#define ORTOOLS_UTIL_BITSET_H_ #include @@ -924,4 +924,4 @@ class SparseBitset { } // namespace operations_research -#endif // OR_TOOLS_UTIL_BITSET_H_ +#endif // ORTOOLS_UTIL_BITSET_H_ diff --git a/ortools/util/cached_log.h b/ortools/util/cached_log.h index 90c33bed2d..07f91bb0bb 100644 --- a/ortools/util/cached_log.h +++ b/ortools/util/cached_log.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_CACHED_LOG_H_ -#define OR_TOOLS_UTIL_CACHED_LOG_H_ +#ifndef ORTOOLS_UTIL_CACHED_LOG_H_ +#define ORTOOLS_UTIL_CACHED_LOG_H_ #include #include @@ -45,4 +45,4 @@ class CachedLog { }; } // namespace operations_research -#endif // OR_TOOLS_UTIL_CACHED_LOG_H_ +#endif // ORTOOLS_UTIL_CACHED_LOG_H_ diff --git a/ortools/util/dense_set.h b/ortools/util/dense_set.h index 0cea1d85ee..b395b02f3d 100644 --- a/ortools/util/dense_set.h +++ b/ortools/util/dense_set.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_DENSE_SET_H_ -#define OR_TOOLS_UTIL_DENSE_SET_H_ +#ifndef ORTOOLS_UTIL_DENSE_SET_H_ +#define ORTOOLS_UTIL_DENSE_SET_H_ #include #include @@ -148,4 +148,4 @@ inline int DenseSet::ToInt(int value) { } } // namespace operations_research -#endif // OR_TOOLS_UTIL_DENSE_SET_H_ +#endif // ORTOOLS_UTIL_DENSE_SET_H_ diff --git a/ortools/util/file_util.h b/ortools/util/file_util.h index 98ed726ccf..a59081c410 100644 --- a/ortools/util/file_util.h +++ b/ortools/util/file_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FILE_UTIL_H_ -#define OR_TOOLS_UTIL_FILE_UTIL_H_ +#ifndef ORTOOLS_UTIL_FILE_UTIL_H_ +#define ORTOOLS_UTIL_FILE_UTIL_H_ #include #include @@ -147,4 +147,4 @@ void WriteRecordsOrDie(absl::string_view filename, } // namespace operations_research -#endif // OR_TOOLS_UTIL_FILE_UTIL_H_ +#endif // ORTOOLS_UTIL_FILE_UTIL_H_ diff --git a/ortools/util/filelineiter.h b/ortools/util/filelineiter.h index 483a2aa243..323b52e8b3 100644 --- a/ortools/util/filelineiter.h +++ b/ortools/util/filelineiter.h @@ -22,8 +22,8 @@ // * Options are available to keep the trailing '\n' for each line, to remove // carriage-return characters ('\r'), and to remove blank lines. // -#ifndef OR_TOOLS_UTIL_FILELINEITER_H_ -#define OR_TOOLS_UTIL_FILELINEITER_H_ +#ifndef ORTOOLS_UTIL_FILELINEITER_H_ +#define ORTOOLS_UTIL_FILELINEITER_H_ #include #include @@ -173,4 +173,4 @@ class FileLines { const int options_; }; -#endif // OR_TOOLS_UTIL_FILELINEITER_H_ +#endif // ORTOOLS_UTIL_FILELINEITER_H_ diff --git a/ortools/util/fixed_shape_binary_tree.h b/ortools/util/fixed_shape_binary_tree.h index 17008245c5..93b27e1fba 100644 --- a/ortools/util/fixed_shape_binary_tree.h +++ b/ortools/util/fixed_shape_binary_tree.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ -#define OR_TOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ +#ifndef ORTOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ +#define ORTOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ #include #include @@ -275,4 +275,4 @@ class FixedShapeBinaryTree { } // namespace operations_research -#endif // OR_TOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ +#endif // ORTOOLS_UTIL_FIXED_SHAPE_BINARY_TREE_H_ diff --git a/ortools/util/flat_matrix.h b/ortools/util/flat_matrix.h index 651993e15b..7c95b814bb 100644 --- a/ortools/util/flat_matrix.h +++ b/ortools/util/flat_matrix.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FLAT_MATRIX_H_ -#define OR_TOOLS_UTIL_FLAT_MATRIX_H_ +#ifndef ORTOOLS_UTIL_FLAT_MATRIX_H_ +#define ORTOOLS_UTIL_FLAT_MATRIX_H_ // A very simple flattened 2D array of fixed size. It's movable, copyable. // It can also be assigned. @@ -131,4 +131,4 @@ typename FlatMatrix::ConstRowsIterator FlatMatrix::ConstRows::end() } // namespace operations_research -#endif // OR_TOOLS_UTIL_FLAT_MATRIX_H_ +#endif // ORTOOLS_UTIL_FLAT_MATRIX_H_ diff --git a/ortools/util/fp_roundtrip_conv.h b/ortools/util/fp_roundtrip_conv.h index f16a4c2851..e9d924f804 100644 --- a/ortools/util/fp_roundtrip_conv.h +++ b/ortools/util/fp_roundtrip_conv.h @@ -14,8 +14,8 @@ // Classes and function to convert floating point numbers to string so that no // information is lost (i.e. that we can make a round trip from double to string // and back to double without losing data). -#ifndef OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ -#define OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ +#ifndef ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ +#define ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ #include #include @@ -99,4 +99,4 @@ class RoundTripDoubleFormat { } // namespace operations_research -#endif // OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ +#endif // ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_H_ diff --git a/ortools/util/fp_roundtrip_conv_testing.h b/ortools/util/fp_roundtrip_conv_testing.h index 30618b4978..fd4422459c 100644 --- a/ortools/util/fp_roundtrip_conv_testing.h +++ b/ortools/util/fp_roundtrip_conv_testing.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ -#define OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ +#ifndef ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ +#define ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ #include "absl/strings/string_view.h" @@ -36,4 +36,4 @@ inline constexpr absl::string_view kRoundTripTestNumberStr = } // namespace operations_research -#endif // OR_TOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ +#endif // ORTOOLS_UTIL_FP_ROUNDTRIP_CONV_TESTING_H_ diff --git a/ortools/util/fp_utils.h b/ortools/util/fp_utils.h index cdfc476ed8..5e2676ca6b 100644 --- a/ortools/util/fp_utils.h +++ b/ortools/util/fp_utils.h @@ -19,8 +19,8 @@ // IMPORTANT NOTICE: you need to compile your binary with -frounding-math if // you want to use rounding modes. -#ifndef OR_TOOLS_UTIL_FP_UTILS_H_ -#define OR_TOOLS_UTIL_FP_UTILS_H_ +#ifndef ORTOOLS_UTIL_FP_UTILS_H_ +#define ORTOOLS_UTIL_FP_UTILS_H_ #include #include @@ -260,4 +260,4 @@ inline double fast_scalbn(double value, int exponent) { } // namespace operations_research -#endif // OR_TOOLS_UTIL_FP_UTILS_H_ +#endif // ORTOOLS_UTIL_FP_UTILS_H_ diff --git a/ortools/util/functions_swig_helpers.h b/ortools/util/functions_swig_helpers.h index 41423970ea..b872a0454a 100644 --- a/ortools/util/functions_swig_helpers.h +++ b/ortools/util/functions_swig_helpers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ -#define OR_TOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ +#ifndef ORTOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ +#define ORTOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ // This file contains class definitions for the wrapping of C++ std::functions // in Java. It is #included by java/functions.swig. @@ -89,4 +89,4 @@ class VoidToVoid { }; } // namespace swig_util } // namespace operations_research -#endif // OR_TOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ +#endif // ORTOOLS_UTIL_FUNCTIONS_SWIG_HELPERS_H_ diff --git a/ortools/util/functions_swig_test_helpers.h b/ortools/util/functions_swig_test_helpers.h index 70c2ab3dfd..6a88b9a5b0 100644 --- a/ortools/util/functions_swig_test_helpers.h +++ b/ortools/util/functions_swig_test_helpers.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ -#define OR_TOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ +#ifndef ORTOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ +#define ORTOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ // These are simple static methods to test std::function in the swig wrapper // tests. @@ -95,4 +95,4 @@ class DelayedFunctionSwigTestHelpers { }; } // namespace operations_research -#endif // OR_TOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ +#endif // ORTOOLS_UTIL_FUNCTIONS_SWIG_TEST_HELPERS_H_ diff --git a/ortools/util/integer_pq.h b/ortools/util/integer_pq.h index 6ca7a7ce93..fe2be7b60d 100644 --- a/ortools/util/integer_pq.h +++ b/ortools/util/integer_pq.h @@ -20,8 +20,8 @@ // that uniquely identify this particular element. Ideally this index must // be dense in [0, max_num_elements). // -#ifndef OR_TOOLS_UTIL_INTEGER_PQ_H_ -#define OR_TOOLS_UTIL_INTEGER_PQ_H_ +#ifndef ORTOOLS_UTIL_INTEGER_PQ_H_ +#define ORTOOLS_UTIL_INTEGER_PQ_H_ #include #include @@ -189,4 +189,4 @@ class IntegerPriorityQueue { } // namespace operations_research -#endif // OR_TOOLS_UTIL_INTEGER_PQ_H_ +#endif // ORTOOLS_UTIL_INTEGER_PQ_H_ diff --git a/ortools/util/lazy_mutable_copy.h b/ortools/util/lazy_mutable_copy.h index 71c427d5bb..48161cfbea 100644 --- a/ortools/util/lazy_mutable_copy.h +++ b/ortools/util/lazy_mutable_copy.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_LAZY_MUTABLE_COPY_H_ -#define OR_TOOLS_UTIL_LAZY_MUTABLE_COPY_H_ +#ifndef ORTOOLS_UTIL_LAZY_MUTABLE_COPY_H_ +#define ORTOOLS_UTIL_LAZY_MUTABLE_COPY_H_ #include @@ -114,4 +114,4 @@ class LazyMutableCopy { } // namespace operations_research -#endif // OR_TOOLS_UTIL_LAZY_MUTABLE_COPY_H_ +#endif // ORTOOLS_UTIL_LAZY_MUTABLE_COPY_H_ diff --git a/ortools/util/logging.h b/ortools/util/logging.h index 407c428d8e..6257c3eff6 100644 --- a/ortools/util/logging.h +++ b/ortools/util/logging.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_LOGGING_H_ -#define OR_TOOLS_UTIL_LOGGING_H_ +#ifndef ORTOOLS_UTIL_LOGGING_H_ +#define ORTOOLS_UTIL_LOGGING_H_ #include #include @@ -113,4 +113,4 @@ class SolverLogger { } // namespace operations_research -#endif // OR_TOOLS_UTIL_LOGGING_H_ +#endif // ORTOOLS_UTIL_LOGGING_H_ diff --git a/ortools/util/monoid_operation_tree.h b/ortools/util/monoid_operation_tree.h index aedf440511..0cc007b4d0 100644 --- a/ortools/util/monoid_operation_tree.h +++ b/ortools/util/monoid_operation_tree.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_MONOID_OPERATION_TREE_H_ -#define OR_TOOLS_UTIL_MONOID_OPERATION_TREE_H_ +#ifndef ORTOOLS_UTIL_MONOID_OPERATION_TREE_H_ +#define ORTOOLS_UTIL_MONOID_OPERATION_TREE_H_ #include #include @@ -250,4 +250,4 @@ void MonoidOperationTree::DiveInTree(int position, Diver* diver) const { } // namespace operations_research -#endif // OR_TOOLS_UTIL_MONOID_OPERATION_TREE_H_ +#endif // ORTOOLS_UTIL_MONOID_OPERATION_TREE_H_ diff --git a/ortools/util/parse_proto.h b/ortools/util/parse_proto.h index c1e33ab63c..8f280ab19e 100644 --- a/ortools/util/parse_proto.h +++ b/ortools/util/parse_proto.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_PARSE_PROTO_H_ -#define OR_TOOLS_UTIL_PARSE_PROTO_H_ +#ifndef ORTOOLS_UTIL_PARSE_PROTO_H_ +#define ORTOOLS_UTIL_PARSE_PROTO_H_ #include @@ -33,4 +33,4 @@ bool ParseTextProtoForFlag(absl::string_view text, } // namespace operations_research -#endif // OR_TOOLS_UTIL_PARSE_PROTO_H_ +#endif // ORTOOLS_UTIL_PARSE_PROTO_H_ diff --git a/ortools/util/permutation.h b/ortools/util/permutation.h index f8cab1b074..031b38efb4 100644 --- a/ortools/util/permutation.h +++ b/ortools/util/permutation.h @@ -74,8 +74,8 @@ // operator[](), we provide the class template // ArrayIndexCycleHandler. -#ifndef OR_TOOLS_UTIL_PERMUTATION_H_ -#define OR_TOOLS_UTIL_PERMUTATION_H_ +#ifndef ORTOOLS_UTIL_PERMUTATION_H_ +#define ORTOOLS_UTIL_PERMUTATION_H_ #include "ortools/base/logging.h" @@ -212,4 +212,4 @@ class PermutationApplier { PermutationCycleHandler* cycle_handler_; }; } // namespace operations_research -#endif // OR_TOOLS_UTIL_PERMUTATION_H_ +#endif // ORTOOLS_UTIL_PERMUTATION_H_ diff --git a/ortools/util/piecewise_linear_function.h b/ortools/util/piecewise_linear_function.h index 297e6e9332..ce0174e442 100644 --- a/ortools/util/piecewise_linear_function.h +++ b/ortools/util/piecewise_linear_function.h @@ -17,8 +17,8 @@ // This class maintains a minimal internal representation and checks for // overflow. -#ifndef OR_TOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ -#define OR_TOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ +#ifndef ORTOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ +#define ORTOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ #include #include @@ -356,4 +356,4 @@ class FloatSlopePiecewiseLinearFunction { }; } // namespace operations_research -#endif // OR_TOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ +#endif // ORTOOLS_UTIL_PIECEWISE_LINEAR_FUNCTION_H_ diff --git a/ortools/util/proto_tools.h b/ortools/util/proto_tools.h index 8d18bdf87a..379027e2b5 100644 --- a/ortools/util/proto_tools.h +++ b/ortools/util/proto_tools.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_PROTO_TOOLS_H_ -#define OR_TOOLS_UTIL_PROTO_TOOLS_H_ +#ifndef ORTOOLS_UTIL_PROTO_TOOLS_H_ +#define ORTOOLS_UTIL_PROTO_TOOLS_H_ #include @@ -94,4 +94,4 @@ absl::StatusOr SafeProtoConstDownCast( } } // namespace operations_research -#endif // OR_TOOLS_UTIL_PROTO_TOOLS_H_ +#endif // ORTOOLS_UTIL_PROTO_TOOLS_H_ diff --git a/ortools/util/python/py_solve_interrupter.h b/ortools/util/python/py_solve_interrupter.h index ba1225919b..5586a9d6ab 100644 --- a/ortools/util/python/py_solve_interrupter.h +++ b/ortools/util/python/py_solve_interrupter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ -#define OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ +#ifndef ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ +#define ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ #include #include @@ -113,4 +113,4 @@ class PySolveInterrupter { } // namespace operations_research -#endif // OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ +#endif // ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_H_ diff --git a/ortools/util/python/py_solve_interrupter_testing.h b/ortools/util/python/py_solve_interrupter_testing.h index ae5d2948b1..29ff08c872 100644 --- a/ortools/util/python/py_solve_interrupter_testing.h +++ b/ortools/util/python/py_solve_interrupter_testing.h @@ -12,8 +12,8 @@ // limitations under the License. // Library to unit test PySolveInterrupter wrapper. -#ifndef OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ -#define OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ +#ifndef ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ +#define ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ #include #include @@ -59,4 +59,4 @@ class PySolveInterrupterReference { } // namespace operations_research -#endif // OR_TOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ +#endif // ORTOOLS_UTIL_PYTHON_PY_SOLVE_INTERRUPTER_TESTING_H_ diff --git a/ortools/util/python/sorted_interval_list_doc.h b/ortools/util/python/sorted_interval_list_doc.h index a3c0042321..99c4d83107 100644 --- a/ortools/util/python/sorted_interval_list_doc.h +++ b/ortools/util/python/sorted_interval_list_doc.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ -#define OR_TOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ +#ifndef ORTOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ +#define ORTOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ /* This file contains docstrings for use in the Python bindings. @@ -499,4 +499,4 @@ static const char* __doc_operations_research_operator_lshift_3 = R"doc()doc"; #pragma GCC diagnostic pop #endif -#endif // OR_TOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ +#endif // ORTOOLS_UTIL_PYTHON_SORTED_INTERVAL_LIST_DOC_H_ diff --git a/ortools/util/qap_reader.h b/ortools/util/qap_reader.h index b770761a9b..e5c13517af 100644 --- a/ortools/util/qap_reader.h +++ b/ortools/util/qap_reader.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_QAP_READER_H_ -#define OR_TOOLS_UTIL_QAP_READER_H_ +#ifndef ORTOOLS_UTIL_QAP_READER_H_ +#define ORTOOLS_UTIL_QAP_READER_H_ #include #include @@ -68,4 +68,4 @@ QapProblem ReadQapProblemOrDie(absl::string_view filepath); } // namespace operations_research -#endif // OR_TOOLS_UTIL_QAP_READER_H_ +#endif // ORTOOLS_UTIL_QAP_READER_H_ diff --git a/ortools/util/random_engine.h b/ortools/util/random_engine.h index 9ae31ee661..083588d4f2 100644 --- a/ortools/util/random_engine.h +++ b/ortools/util/random_engine.h @@ -13,8 +13,8 @@ // Defines the random engine type to use within operations_research code. -#ifndef OR_TOOLS_UTIL_RANDOM_ENGINE_H_ -#define OR_TOOLS_UTIL_RANDOM_ENGINE_H_ +#ifndef ORTOOLS_UTIL_RANDOM_ENGINE_H_ +#define ORTOOLS_UTIL_RANDOM_ENGINE_H_ #include @@ -24,4 +24,4 @@ using random_engine_t = std::mt19937_64; } // namespace operations_research -#endif // OR_TOOLS_UTIL_RANDOM_ENGINE_H_ +#endif // ORTOOLS_UTIL_RANDOM_ENGINE_H_ diff --git a/ortools/util/range_minimum_query.h b/ortools/util/range_minimum_query.h index a80ac59c39..8b11a5a6fd 100644 --- a/ortools/util/range_minimum_query.h +++ b/ortools/util/range_minimum_query.h @@ -70,8 +70,8 @@ // (i, j), first find the maximum k such that i + 2^k < j, then use // min(A, i, j) = std::min(min(A, i, i+2^k), min(A, j-2^k, j)). -#ifndef OR_TOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ -#define OR_TOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ +#ifndef ORTOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ +#define ORTOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ #include #include @@ -262,4 +262,4 @@ inline const std::vector& RangeMinimumIndexQuery::array() const { return cmp_.array; } } // namespace operations_research -#endif // OR_TOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ +#endif // ORTOOLS_UTIL_RANGE_MINIMUM_QUERY_H_ diff --git a/ortools/util/range_query_function.h b/ortools/util/range_query_function.h index 0e4adb51f5..fc7be964a8 100644 --- a/ortools/util/range_query_function.h +++ b/ortools/util/range_query_function.h @@ -14,8 +14,8 @@ // The header defines an interface for functions taking and returning an int64_t // and supporting range queries over their domain and codomain. -#ifndef OR_TOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ -#define OR_TOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ +#ifndef ORTOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ +#define ORTOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ #include #include @@ -84,4 +84,4 @@ RangeMinMaxIndexFunction* MakeCachedRangeMinMaxIndexFunction( int64_t domain_end); } // namespace operations_research -#endif // OR_TOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ +#endif // ORTOOLS_UTIL_RANGE_QUERY_FUNCTION_H_ diff --git a/ortools/util/rational_approximation.h b/ortools/util/rational_approximation.h index ad7ffcb31b..dcf45a864a 100644 --- a/ortools/util/rational_approximation.h +++ b/ortools/util/rational_approximation.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_RATIONAL_APPROXIMATION_H_ -#define OR_TOOLS_UTIL_RATIONAL_APPROXIMATION_H_ +#ifndef ORTOOLS_UTIL_RATIONAL_APPROXIMATION_H_ +#define ORTOOLS_UTIL_RATIONAL_APPROXIMATION_H_ #include #include @@ -32,4 +32,4 @@ typedef std::pair Fraction; Fraction RationalApproximation(double x, double precision); } // namespace operations_research -#endif // OR_TOOLS_UTIL_RATIONAL_APPROXIMATION_H_ +#endif // ORTOOLS_UTIL_RATIONAL_APPROXIMATION_H_ diff --git a/ortools/util/return_macros.h b/ortools/util/return_macros.h index 16612f14ea..35e17c47ac 100644 --- a/ortools/util/return_macros.h +++ b/ortools/util/return_macros.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_RETURN_MACROS_H_ -#define OR_TOOLS_UTIL_RETURN_MACROS_H_ +#ifndef ORTOOLS_UTIL_RETURN_MACROS_H_ +#define ORTOOLS_UTIL_RETURN_MACROS_H_ // Macros to replace CHECK_NOTNULL() so we don't crash in production. // Logs a FATAL message in debug mode, and an ERROR message in production. @@ -29,4 +29,4 @@ return v; \ } -#endif // OR_TOOLS_UTIL_RETURN_MACROS_H_ +#endif // ORTOOLS_UTIL_RETURN_MACROS_H_ diff --git a/ortools/util/rev.h b/ortools/util/rev.h index ef11439966..0e2353739a 100644 --- a/ortools/util/rev.h +++ b/ortools/util/rev.h @@ -12,8 +12,8 @@ // limitations under the License. // Reversible (i.e Backtrackable) classes, used to simplify coding propagators. -#ifndef OR_TOOLS_UTIL_REV_H_ -#define OR_TOOLS_UTIL_REV_H_ +#ifndef ORTOOLS_UTIL_REV_H_ +#define ORTOOLS_UTIL_REV_H_ #include #include @@ -313,4 +313,4 @@ void RevGrowingMultiMap::Add(Key key, Value value) { } // namespace operations_research -#endif // OR_TOOLS_UTIL_REV_H_ +#endif // ORTOOLS_UTIL_REV_H_ diff --git a/ortools/util/running_stat.h b/ortools/util/running_stat.h index 7eb7e0e301..cfaca905ed 100644 --- a/ortools/util/running_stat.h +++ b/ortools/util/running_stat.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_RUNNING_STAT_H_ -#define OR_TOOLS_UTIL_RUNNING_STAT_H_ +#ifndef ORTOOLS_UTIL_RUNNING_STAT_H_ +#define ORTOOLS_UTIL_RUNNING_STAT_H_ #include #include @@ -204,4 +204,4 @@ Number RunningMax::GetCurrentMax() { } // namespace operations_research -#endif // OR_TOOLS_UTIL_RUNNING_STAT_H_ +#endif // ORTOOLS_UTIL_RUNNING_STAT_H_ diff --git a/ortools/util/saturated_arithmetic.h b/ortools/util/saturated_arithmetic.h index c08c08587c..f0575a8ba4 100644 --- a/ortools/util/saturated_arithmetic.h +++ b/ortools/util/saturated_arithmetic.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SATURATED_ARITHMETIC_H_ -#define OR_TOOLS_UTIL_SATURATED_ARITHMETIC_H_ +#ifndef ORTOOLS_UTIL_SATURATED_ARITHMETIC_H_ +#define ORTOOLS_UTIL_SATURATED_ARITHMETIC_H_ #include #include @@ -363,4 +363,4 @@ T CapOrFloatAdd(T x, T y) { } // namespace operations_research -#endif // OR_TOOLS_UTIL_SATURATED_ARITHMETIC_H_ +#endif // ORTOOLS_UTIL_SATURATED_ARITHMETIC_H_ diff --git a/ortools/util/scheduling.h b/ortools/util/scheduling.h index e53c0a3348..cdae6a1a14 100644 --- a/ortools/util/scheduling.h +++ b/ortools/util/scheduling.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SCHEDULING_H_ -#define OR_TOOLS_UTIL_SCHEDULING_H_ +#ifndef ORTOOLS_UTIL_SCHEDULING_H_ +#define ORTOOLS_UTIL_SCHEDULING_H_ #include #include @@ -387,4 +387,4 @@ void ThetaLambdaTree::GetLeavesWithOptionalEnvelopeGreaterThan( } // namespace operations_research -#endif // OR_TOOLS_UTIL_SCHEDULING_H_ +#endif // ORTOOLS_UTIL_SCHEDULING_H_ diff --git a/ortools/util/sigint.h b/ortools/util/sigint.h index 11e78181ef..79e2b0b89a 100644 --- a/ortools/util/sigint.h +++ b/ortools/util/sigint.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SIGINT_H_ -#define OR_TOOLS_UTIL_SIGINT_H_ +#ifndef ORTOOLS_UTIL_SIGINT_H_ +#define ORTOOLS_UTIL_SIGINT_H_ #include #include @@ -57,4 +57,4 @@ class SigtermHandler { #endif // ORTOOLS_TARGET_OS_SUPPORTS_THREADS -#endif // OR_TOOLS_UTIL_SIGINT_H_ +#endif // ORTOOLS_UTIL_SIGINT_H_ diff --git a/ortools/util/solve_interrupter.h b/ortools/util/solve_interrupter.h index 8d3d1434f8..956721fe5d 100644 --- a/ortools/util/solve_interrupter.h +++ b/ortools/util/solve_interrupter.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SOLVE_INTERRUPTER_H_ -#define OR_TOOLS_UTIL_SOLVE_INTERRUPTER_H_ +#ifndef ORTOOLS_UTIL_SOLVE_INTERRUPTER_H_ +#define ORTOOLS_UTIL_SOLVE_INTERRUPTER_H_ #include #include @@ -149,4 +149,4 @@ class ScopedSolveInterrupterCallback { } // namespace operations_research -#endif // OR_TOOLS_UTIL_SOLVE_INTERRUPTER_H_ +#endif // ORTOOLS_UTIL_SOLVE_INTERRUPTER_H_ diff --git a/ortools/util/sort.h b/ortools/util/sort.h index da7fe7a52d..279e50f36d 100644 --- a/ortools/util/sort.h +++ b/ortools/util/sort.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SORT_H_ -#define OR_TOOLS_UTIL_SORT_H_ +#ifndef ORTOOLS_UTIL_SORT_H_ +#define ORTOOLS_UTIL_SORT_H_ #include #include @@ -138,4 +138,4 @@ void IncrementalSort(Iterator begin, Iterator end, Compare comp = Compare{}, } // namespace operations_research -#endif // OR_TOOLS_UTIL_SORT_H_ +#endif // ORTOOLS_UTIL_SORT_H_ diff --git a/ortools/util/sorted_interval_list.h b/ortools/util/sorted_interval_list.h index fb62e30d27..f733715713 100644 --- a/ortools/util/sorted_interval_list.h +++ b/ortools/util/sorted_interval_list.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_SORTED_INTERVAL_LIST_H_ -#define OR_TOOLS_UTIL_SORTED_INTERVAL_LIST_H_ +#ifndef ORTOOLS_UTIL_SORTED_INTERVAL_LIST_H_ +#define ORTOOLS_UTIL_SORTED_INTERVAL_LIST_H_ #include #include @@ -739,4 +739,4 @@ inline ClosedInterval::Iterator end(ClosedInterval interval) { } // namespace operations_research -#endif // OR_TOOLS_UTIL_SORTED_INTERVAL_LIST_H_ +#endif // ORTOOLS_UTIL_SORTED_INTERVAL_LIST_H_ diff --git a/ortools/util/stats.h b/ortools/util/stats.h index d8455b7178..3da6bb5666 100644 --- a/ortools/util/stats.h +++ b/ortools/util/stats.h @@ -65,8 +65,8 @@ // macro IF_STATS_ENABLED() that does nothing if OR_STATS is not defined or just // translates to its argument otherwise. -#ifndef OR_TOOLS_UTIL_STATS_H_ -#define OR_TOOLS_UTIL_STATS_H_ +#ifndef ORTOOLS_UTIL_STATS_H_ +#define ORTOOLS_UTIL_STATS_H_ #include #include @@ -423,4 +423,4 @@ using ScopedTimeStats = DisabledScopedTimeStats; } // namespace operations_research -#endif // OR_TOOLS_UTIL_STATS_H_ +#endif // ORTOOLS_UTIL_STATS_H_ diff --git a/ortools/util/status_macros.h b/ortools/util/status_macros.h index 4130f3c758..a5b06f3e22 100644 --- a/ortools/util/status_macros.h +++ b/ortools/util/status_macros.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_STATUS_MACROS_H_ -#define OR_TOOLS_UTIL_STATUS_MACROS_H_ +#ifndef ORTOOLS_UTIL_STATUS_MACROS_H_ +#define ORTOOLS_UTIL_STATUS_MACROS_H_ #include "ortools/base/status_macros.h" @@ -42,4 +42,4 @@ } \ STATUS_MACROS_IMPL_UNPARENTHESIS(lhs) = std::move(statusor).value() -#endif // OR_TOOLS_UTIL_STATUS_MACROS_H_ +#endif // ORTOOLS_UTIL_STATUS_MACROS_H_ diff --git a/ortools/util/string_array.h b/ortools/util/string_array.h index f6289e4e82..fea40ef3b7 100644 --- a/ortools/util/string_array.h +++ b/ortools/util/string_array.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_STRING_ARRAY_H_ -#define OR_TOOLS_UTIL_STRING_ARRAY_H_ +#ifndef ORTOOLS_UTIL_STRING_ARRAY_H_ +#define ORTOOLS_UTIL_STRING_ARRAY_H_ #include #include @@ -65,4 +65,4 @@ std::string JoinNameFieldPtr(const std::vector& v, #undef RETURN_STRINGIFIED_VECTOR } // namespace operations_research -#endif // OR_TOOLS_UTIL_STRING_ARRAY_H_ +#endif // ORTOOLS_UTIL_STRING_ARRAY_H_ diff --git a/ortools/util/string_util.h b/ortools/util/string_util.h index 594e44d37b..c5c85b4a5b 100644 --- a/ortools/util/string_util.h +++ b/ortools/util/string_util.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_STRING_UTIL_H_ -#define OR_TOOLS_UTIL_STRING_UTIL_H_ +#ifndef ORTOOLS_UTIL_STRING_UTIL_H_ +#define ORTOOLS_UTIL_STRING_UTIL_H_ #include @@ -43,4 +43,4 @@ struct DebugStringFormatter { } // namespace operations_research -#endif // OR_TOOLS_UTIL_STRING_UTIL_H_ +#endif // ORTOOLS_UTIL_STRING_UTIL_H_ diff --git a/ortools/util/strong_integers.h b/ortools/util/strong_integers.h index 7b0d45360b..9872263f27 100644 --- a/ortools/util/strong_integers.h +++ b/ortools/util/strong_integers.h @@ -47,8 +47,8 @@ // The classes also define hash functors that allows the strong types to be used // as key to hashable containers. -#ifndef OR_TOOLS_UTIL_STRONG_INTEGERS_H_ -#define OR_TOOLS_UTIL_STRONG_INTEGERS_H_ +#ifndef ORTOOLS_UTIL_STRONG_INTEGERS_H_ +#define ORTOOLS_UTIL_STRONG_INTEGERS_H_ #include @@ -481,4 +481,4 @@ struct numeric_limits> { } // namespace std -#endif // OR_TOOLS_UTIL_STRONG_INTEGERS_H_ +#endif // ORTOOLS_UTIL_STRONG_INTEGERS_H_ diff --git a/ortools/util/testing_utils.h b/ortools/util/testing_utils.h index e98c7fc199..370c10ff1f 100644 --- a/ortools/util/testing_utils.h +++ b/ortools/util/testing_utils.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_TESTING_UTILS_H_ -#define OR_TOOLS_UTIL_TESTING_UTILS_H_ +#ifndef ORTOOLS_UTIL_TESTING_UTILS_H_ +#define ORTOOLS_UTIL_TESTING_UTILS_H_ namespace operations_research { @@ -26,4 +26,4 @@ inline constexpr bool kAnyXsanEnabled = } // namespace operations_research -#endif // OR_TOOLS_UTIL_TESTING_UTILS_H_ +#endif // ORTOOLS_UTIL_TESTING_UTILS_H_ diff --git a/ortools/util/time_limit.h b/ortools/util/time_limit.h index 23e0642d62..a5b6d6216c 100644 --- a/ortools/util/time_limit.h +++ b/ortools/util/time_limit.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_TIME_LIMIT_H_ -#define OR_TOOLS_UTIL_TIME_LIMIT_H_ +#ifndef ORTOOLS_UTIL_TIME_LIMIT_H_ +#define ORTOOLS_UTIL_TIME_LIMIT_H_ #include #include @@ -568,4 +568,4 @@ inline double TimeLimit::GetTimeLeft() const { } // namespace operations_research -#endif // OR_TOOLS_UTIL_TIME_LIMIT_H_ +#endif // ORTOOLS_UTIL_TIME_LIMIT_H_ diff --git a/ortools/util/tuple_set.h b/ortools/util/tuple_set.h index 242ec60a9f..a0356e57ff 100644 --- a/ortools/util/tuple_set.h +++ b/ortools/util/tuple_set.h @@ -30,8 +30,8 @@ // This class is thread hostile as the copy and reference counter are // not protected by a mutex. -#ifndef OR_TOOLS_UTIL_TUPLE_SET_H_ -#define OR_TOOLS_UTIL_TUPLE_SET_H_ +#ifndef ORTOOLS_UTIL_TUPLE_SET_H_ +#define ORTOOLS_UTIL_TUPLE_SET_H_ #include #include @@ -419,4 +419,4 @@ inline IntTupleSet IntTupleSet::SortedLexicographically() const { } } // namespace operations_research -#endif // OR_TOOLS_UTIL_TUPLE_SET_H_ +#endif // ORTOOLS_UTIL_TUPLE_SET_H_ diff --git a/ortools/util/vector_or_function.h b/ortools/util/vector_or_function.h index 103cd0c0ef..9bcbeb3392 100644 --- a/ortools/util/vector_or_function.h +++ b/ortools/util/vector_or_function.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_VECTOR_OR_FUNCTION_H_ -#define OR_TOOLS_UTIL_VECTOR_OR_FUNCTION_H_ +#ifndef ORTOOLS_UTIL_VECTOR_OR_FUNCTION_H_ +#define ORTOOLS_UTIL_VECTOR_OR_FUNCTION_H_ #include #include @@ -107,4 +107,4 @@ class MatrixOrFunction, square> { } // namespace operations_research -#endif // OR_TOOLS_UTIL_VECTOR_OR_FUNCTION_H_ +#endif // ORTOOLS_UTIL_VECTOR_OR_FUNCTION_H_ diff --git a/ortools/util/vector_sum.h b/ortools/util/vector_sum.h index 7ae24fc83a..7dead52511 100644 --- a/ortools/util/vector_sum.h +++ b/ortools/util/vector_sum.h @@ -19,8 +19,8 @@ // value type. That said, the precision is inferior to precise sum // algorithm such as ::AccurateSum. -#ifndef OR_TOOLS_UTIL_VECTOR_SUM_H_ -#define OR_TOOLS_UTIL_VECTOR_SUM_H_ +#ifndef ORTOOLS_UTIL_VECTOR_SUM_H_ +#define ORTOOLS_UTIL_VECTOR_SUM_H_ #include "absl/types/span.h" #include "ortools/util/vector_sum_internal.h" @@ -40,4 +40,4 @@ inline float VectorSum(absl::Span values) { } // namespace operations_research -#endif // OR_TOOLS_UTIL_VECTOR_SUM_H_ +#endif // ORTOOLS_UTIL_VECTOR_SUM_H_ diff --git a/ortools/util/vector_sum_internal.h b/ortools/util/vector_sum_internal.h index f941806845..e97ab4bbb2 100644 --- a/ortools/util/vector_sum_internal.h +++ b/ortools/util/vector_sum_internal.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ -#define OR_TOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ +#ifndef ORTOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ +#define ORTOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ #include #include @@ -174,4 +174,4 @@ Value VectorSum(absl::Span values) { } // namespace internal } // namespace operations_research -#endif // OR_TOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ +#endif // ORTOOLS_UTIL_VECTOR_SUM_INTERNAL_H_ diff --git a/ortools/util/zvector.h b/ortools/util/zvector.h index 295ece7382..ef5050336d 100644 --- a/ortools/util/zvector.h +++ b/ortools/util/zvector.h @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef OR_TOOLS_UTIL_ZVECTOR_H_ -#define OR_TOOLS_UTIL_ZVECTOR_H_ +#ifndef ORTOOLS_UTIL_ZVECTOR_H_ +#define ORTOOLS_UTIL_ZVECTOR_H_ #if (defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || \ defined(__OpenBSD__)) && \ @@ -166,4 +166,4 @@ typedef ZVector UInt64ZVector; } // namespace operations_research -#endif // OR_TOOLS_UTIL_ZVECTOR_H_ +#endif // ORTOOLS_UTIL_ZVECTOR_H_