author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
261,218 | 24.09.2021 17:57:14 | -7,200 | 34bc6094fc24391c27366290ed3f04ad2766b1c3 | dotnet: Format README.md | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/README.md",
"new_path": "ortools/dotnet/README.md",
"diff": "@@ -48,10 +48,10 @@ naming, it is very difficult to get ownership on it, so you should prefer to use\n## Build\n-Either use the CMake base build or the Makefile based build.\n-The work... | C++ | Apache License 2.0 | google/or-tools | dotnet: Format README.md |
261,218 | 24.09.2021 17:57:41 | -7,200 | 974826028c50f5fee5203add72c55cfde4ea0c9b | examples/test: Fix format | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/RoutingSolverTests.cs",
"new_path": "examples/tests/RoutingSolverTests.cs",
"diff": "@@ -59,8 +59,11 @@ namespace Google.OrTools.Tests\nRoutingModel routing = new RoutingModel(manager);\n// Create a distance callback.\nlong[][] matrix = new long... | C++ | Apache License 2.0 | google/or-tools | examples/test: Fix format |
261,218 | 24.09.2021 17:58:26 | -7,200 | dbac279fab93ba3fb849b0c31ffa926da35e0e74 | algorithms: use std::stable_sort | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/knapsack_solver.cc",
"new_path": "ortools/algorithms/knapsack_solver.cc",
"diff": "@@ -262,7 +262,7 @@ void KnapsackCapacityPropagator::InitPropagator() {\n}\n++profit_max_;\nCompareKnapsackItemsInDecreasingEfficiencyOrder compare_object(pro... | C++ | Apache License 2.0 | google/or-tools | algorithms: use std::stable_sort |
261,218 | 24.09.2021 18:46:12 | -7,200 | c48750a9948e548d2fe12ba114d02ea4b9de1435 | util: Sync proto_tools | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/proto_tools.cc",
"new_path": "ortools/util/proto_tools.cc",
"diff": "#include \"google/protobuf/text_format.h\"\nnamespace operations_research {\n-\n+namespace {\nusing ::google::protobuf::Descriptor;\nusing ::google::protobuf::FieldDescriptor;\nu... | C++ | Apache License 2.0 | google/or-tools | util: Sync proto_tools |
261,218 | 27.09.2021 10:11:13 | -7,200 | c64237476c4b7ff49940b5b8eafe069ea2b48ae9 | tools/release: Fix | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_win.cmd",
"new_path": "tools/release/build_delivery_win.cmd",
"diff": "@@ -311,6 +311,7 @@ for %%v in (6 7 8 9) do (\nwhich.exe C:\\python3%%v-64\\python.exe || exit 1\necho C:\\python3%%v-64\\python.exe: FOUND | tee.exe -a build.l... | C++ | Apache License 2.0 | google/or-tools | tools/release: Fix |
261,218 | 27.09.2021 10:11:42 | -7,200 | 5f2b70b13672e398591942413d037e38eccf9ebe | make: Fix lpi_glop.cc copy | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.win.mk",
"new_path": "makefiles/Makefile.third_party.win.mk",
"diff": "@@ -455,7 +455,7 @@ ifeq ($(USE_SCIP),OFF)\nbuild_scip: $(GEN_DIR)/ortools/linear_solver/lpi_glop.cc\n$(GEN_DIR)/ortools/linear_solver/lpi_glop.cc: | $(GEN_DI... | C++ | Apache License 2.0 | google/or-tools | make: Fix lpi_glop.cc copy |
261,218 | 27.09.2021 11:49:50 | -7,200 | 90f1f7dd8d8b62335930a3f63b956f902adfd378 | tools/release: Fix PATH when installing user-wide python package (Fix | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_win.cmd",
"new_path": "tools/release/build_delivery_win.cmd",
"diff": "@@ -311,6 +311,7 @@ for %%v in (6 7 8 9) do (\nwhich.exe C:\\python3%%v-64\\python.exe || exit 1\necho C:\\python3%%v-64\\python.exe: FOUND | tee.exe -a build.l... | C++ | Apache License 2.0 | google/or-tools | tools/release: Fix PATH when installing user-wide python package (Fix #2627) |
261,218 | 27.09.2021 14:47:12 | -7,200 | 05a2d1190149d0df4b1ad67260dcff3a4ec64f88 | tools/docker: Fix .Net archive url | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/amd64/alpine-edge.Dockerfile",
"new_path": "tools/docker/amd64/alpine-edge.Dockerfile",
"diff": "@@ -36,7 +36,7 @@ RUN dotnet --info\n# see: https://dotnet.microsoft.com/download/dotnet-core/5.0\nRUN dotnet_sdk_version=5.0.401 \\\n-&& wget -qO dot... | C++ | Apache License 2.0 | google/or-tools | tools/docker: Fix .Net archive url |
261,218 | 27.09.2021 14:47:30 | -7,200 | a1241c5ad4db33b51227cfdab041ba54fbc97538 | cmake: Fix windows .Net build | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -378,7 +378,7 @@ $(TEMP_DOTNET_DIR)/$(DOTNET_ORTOOLS_RUNTIME_ASSEMBLY_NAME)/$(DOTNET_ORTOOLS_RUNT\n$(TEMP_DOTNET_DIR)$S$(DOTNET_ORTOOLS_RUNTIME_ASSEMBLY_NAME)$S$(DOTNET_ORTO... | C++ | Apache License 2.0 | google/or-tools | cmake: Fix windows .Net build |
261,218 | 27.09.2021 15:30:12 | -7,200 | c754932ce457c14d5d4dcfac4d51020ce52874d1 | dotnet: Fix TFM in template | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/Google.OrTools.csproj.in",
"new_path": "ortools/dotnet/Google.OrTools.csproj.in",
"diff": "<Project Sdk=\"Microsoft.NET.Sdk\">\n<PropertyGroup>\n<OutputType>Library</OutputType>\n- <TargetFrameworks>netstandard2.1;netstandard2.0</TargetFramework... | C++ | Apache License 2.0 | google/or-tools | dotnet: Fix TFM in template |
261,230 | 27.09.2021 19:40:36 | -7,200 | bc2ab43d036f50e00826ae1847fc17c244e0bb66 | [CP-SAT] various fixes for corner cases in presolve, checker; added some presolve for all_diff and bool_xor; internal cleanup | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_checker.cc",
"new_path": "ortools/sat/cp_model_checker.cc",
"diff": "@@ -1445,7 +1445,9 @@ bool SolutionIsFeasible(const CpModelProto& model,\nconst CpModelProto* mapping_proto,\nconst std::vector<int>* postsolve_mapping) {\nif (variable_v... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] various fixes for corner cases in presolve, checker; added some presolve for all_diff and bool_xor; internal cleanup |
261,230 | 28.09.2021 16:13:05 | -7,200 | 26a070339ea81011374e0fc7c16820debdd3b815 | new vector bin packing example in C++; update makefiles | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/cpp/vector_bin_packing_solver.cc",
"diff": "+// Copyright 2010-2021 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obt... | C++ | Apache License 2.0 | google/or-tools | new vector bin packing example in C++; update makefiles |
261,230 | 28.09.2021 16:27:58 | -7,200 | 74b33fe9c76b299a35de56402637a070914c5ef0 | fix compilation of vector_bin_packing example | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/BUILD",
"new_path": "examples/cpp/BUILD",
"diff": "@@ -512,6 +512,24 @@ cc_binary(\n],\n)\n+cc_binary(\n+ name = \"vector_bin_packing_solver\",\n+ srcs = [\n+ \"vector_bin_packing_solver.cc\",\n+ ],\n+ deps = [\n+ \"@com_google_absl//absl/flags:fl... | C++ | Apache License 2.0 | google/or-tools | fix compilation of vector_bin_packing example |
261,230 | 29.09.2021 08:53:12 | 0 | 8ac2445b88ec000dd7a0480f566104af7e4e6022 | [CP-SAT] fix bug with out of domain hints | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -7221,8 +7221,8 @@ void ApplyVariableMapping(const std::vector<int>& mapping,\nint64_t old_value = mutable_hint->values(i);\n// We always move a hint within bounds.\... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix bug with out of domain hints |
261,230 | 30.09.2021 13:12:07 | -7,200 | fc98cba5050f2d26720c1cc52ac268e579d0f001 | working vector bin packing solver with solution display | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/vector_bin_packing_solver.cc",
"new_path": "examples/cpp/vector_bin_packing_solver.cc",
"diff": "ABSL_FLAG(std::string, input, \"\", \"Vector Bin Packing (.vpb) data file name.\");\nABSL_FLAG(std::string, params, \"\",\n\"Parameters in solver spec... | C++ | Apache License 2.0 | google/or-tools | working vector bin packing solver with solution display |
261,218 | 30.09.2021 16:10:01 | -7,200 | e8684d9b67549fbebd37bdcc5e626612cd1a4fae | tools/release: Fix macOS script | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_mac.sh",
"new_path": "tools/release/build_delivery_mac.sh",
"diff": "@@ -188,7 +188,6 @@ function build_fz() {\nmake fz -l 4 UNIX_PYTHON_VER=3.9\necho \"DONE\" | tee -a build.log\n- mv or-tools_*.tar.gz export/\necho \"${ORTOOLS_BR... | C++ | Apache License 2.0 | google/or-tools | tools/release: Fix macOS script |
261,218 | 30.09.2021 18:24:19 | 0 | fddabae9c3fb567aad1d3344b5fc8a06ec7adc2f | Fix windows script | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_win.cmd",
"new_path": "tools/release/build_delivery_win.cmd",
"diff": "@@ -311,8 +311,8 @@ for %%v in (6 7 8 9) do (\nwhich.exe C:\\python3%%v-64\\python.exe || exit 1\necho C:\\python3%%v-64\\python.exe: FOUND | tee.exe -a build.l... | C++ | Apache License 2.0 | google/or-tools | Fix windows script |
261,230 | 03.10.2021 07:42:22 | -7,200 | 4d51cefe57c10c83c50701802dc90efa82c25fb7 | improve arc_flow_solver code | [
{
"change_type": "MODIFY",
"old_path": "ortools/packing/arc_flow_solver.cc",
"new_path": "ortools/packing/arc_flow_solver.cc",
"diff": "@@ -194,12 +194,10 @@ vbp::VectorBinPackingSolution SolveVectorBinPackingWithArcFlow(\n};\nconst auto pop_next_item = [&node_to_next_count_item](int node) {\nCHECK(... | C++ | Apache License 2.0 | google/or-tools | improve arc_flow_solver code |
261,230 | 03.10.2021 11:52:13 | -7,200 | 6c6e9d39793daddcc07ad4511189e780d3f2b052 | remove .NET warning | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/csharp/sorted_interval_list.i",
"new_path": "ortools/util/csharp/sorted_interval_list.i",
"diff": "@@ -53,6 +53,7 @@ using System.Collections;\n%unignore operations_research::Domain::Min;\n%unignore operations_research::Domain::Negation;\n%unignor... | C++ | Apache License 2.0 | google/or-tools | remove .NET warning |
261,230 | 04.10.2021 10:48:09 | -7,200 | 5812854a05e20e10947d30bf654c0c7ded007901 | [CP-SAT] more model checks | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_checker.cc",
"new_path": "ortools/sat/cp_model_checker.cc",
"diff": "@@ -154,6 +154,7 @@ template <class LinearExpressionProto>\nbool PossibleIntegerOverflow(const CpModelProto& model,\nconst LinearExpressionProto& proto,\nint64_t offset =... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] more model checks |
261,230 | 04.10.2021 13:55:48 | -7,200 | a81072ab82d014eb3639a873b89d3eb8f64df737 | remove lin_level =2 from CP-SAT linear solver backend | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/sat_proto_solver.cc",
"new_path": "ortools/linear_solver/sat_proto_solver.cc",
"diff": "@@ -71,7 +71,6 @@ absl::StatusOr<MPSolutionResponse> SatSolveProto(\nstd::function<void(const MPSolution&)> solution_callback) {\nsat::SatParameters p... | C++ | Apache License 2.0 | google/or-tools | remove lin_level =2 from CP-SAT linear solver backend |
261,230 | 04.10.2021 17:48:33 | -7,200 | e0019d5d164385757f45aa6208f401b8aec22714 | [FZ] only use CP-SAT lin_max when creating the model. | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -76,6 +76,9 @@ struct CpModelProtoWithMapping {\n// Convert a flatzinc argument to a variable or a list of variable.\n// Note that we always encode a con... | C++ | Apache License 2.0 | google/or-tools | [FZ] only use CP-SAT lin_max when creating the model. |
261,230 | 05.10.2021 17:11:30 | -7,200 | 7cd3ff1700a08cc21aa172f1842929920f2c6c0a | [CP-SAT] better detection of encodings; use LinMax for AddAbsEquality | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_postsolve.cc",
"new_path": "ortools/sat/cp_model_postsolve.cc",
"diff": "@@ -219,6 +219,38 @@ void PostsolveIntMax(const ConstraintProto& ct, std::vector<Domain>* domains) {\nCHECK(!(*domains)[target_var].IsEmpty());\n}\n+namespace {\n+\n+... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] better detection of encodings; use LinMax for AddAbsEquality |
261,230 | 05.10.2021 17:21:12 | -7,200 | 5b470069fe219401f58eb37a480d47364662c0c4 | Enable collecting all solutions found in the linear solver wrapper using the CP-SAT backend | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/sat_proto_solver.cc",
"new_path": "ortools/linear_solver/sat_proto_solver.cc",
"diff": "@@ -254,6 +254,17 @@ absl::StatusOr<MPSolutionResponse> SatSolveProto(\nstd::move(*post_solved_solution.mutable_variable_value());\n}\n+ // Copy and p... | C++ | Apache License 2.0 | google/or-tools | Enable collecting all solutions found in the linear solver wrapper using the CP-SAT backend |
261,218 | 04.10.2021 17:39:55 | -7,200 | fcce436956ed06b673895d1786f8fe5b3f1ef166 | Rework manylinux.sh | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "@@ -5,7 +5,7 @@ RESET=\\e[0m\nhelp:\n@echo -e \"${BOLD}SYNOPSIS${RESET}\"\n- @echo -e \"\\tmake <target> [NOCACHE=1]\"\n+ @echo -e \"\\tmake <TARGET> [NOCACHE=1]\"\n@echo\n@echo -e \"${BOLD}... | C++ | Apache License 2.0 | google/or-tools | Rework manylinux.sh (#2719) |
261,230 | 07.10.2021 18:19:24 | -7,200 | 39261c1b0d384b4e236abb3dd3bc0653eb1b42d8 | polish solver binary | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/solve.cc",
"new_path": "examples/cpp/solve.cc",
"diff": "@@ -47,8 +47,8 @@ ABSL_FLAG(std::string, params_file, \"\",\n\"Solver specific parameters file. \"\n\"If this flag is set, the --params flag is ignored.\");\nABSL_FLAG(std::string, params, \... | C++ | Apache License 2.0 | google/or-tools | polish solver binary |
261,230 | 08.10.2021 14:06:31 | -7,200 | 1042b4e7a7a13dc6341c4d83d73e66b132ac9de1 | [GLOP] improve status reporting | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lp_solver.cc",
"new_path": "ortools/glop/lp_solver.cc",
"diff": "@@ -129,6 +129,8 @@ const GlopParameters& LPSolver::GetParameters() const { return parameters_; }\nGlopParameters* LPSolver::GetMutableParameters() { return ¶meters_; }\n+SolverL... | C++ | Apache License 2.0 | google/or-tools | [GLOP] improve status reporting |
261,230 | 08.10.2021 14:06:58 | -7,200 | 55964b273496f6dbca66f9e67c2fb45b325f735f | add two getters on the solver logging class | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/logging.cc",
"new_path": "ortools/util/logging.cc",
"diff": "@@ -25,6 +25,8 @@ void SolverLogger::AddInfoLoggingCallback(\ninfo_callbacks_.push_back(callback);\n}\n+void SolverLogger::ClearInfoLoggingCallbacks() { info_callbacks_.clear(); }\n+\nvo... | C++ | Apache License 2.0 | google/or-tools | add two getters on the solver logging class |
261,230 | 08.10.2021 14:07:49 | -7,200 | 23238dd6bf9698787ddc15a984ce7b8008946bf4 | [CP-SAT] improve presolve of [lit =>] ax + by ==/!= cte | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_expand.cc",
"new_path": "ortools/sat/cp_model_expand.cc",
"diff": "@@ -1460,10 +1460,17 @@ void ExpandPositiveTable(ConstraintProto* ct, PresolveContext* context) {\nvoid ExpandAllDiff(bool expand_non_permutations, ConstraintProto* ct,\nPr... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] improve presolve of [lit =>] ax + by ==/!= cte |
261,230 | 11.10.2021 11:32:00 | -7,200 | 73413e2ac9e4cf1fcff8f0decab97954ac6e7351 | [CP-SAT] fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpSolver.java",
"new_path": "ortools/java/com/google/ortools/sat/CpSolver.java",
"diff": "@@ -126,9 +126,13 @@ public final class CpSolver {\nreturn solveResponse.getBestObjectiveBound();\n}\n- /** Returns the value of a var... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix #2832 |
261,218 | 11.10.2021 14:33:04 | -7,200 | 54bca529d5f8e7f1261325a9322749796e0de03a | sat: Add minimal_jobshop_sat.cc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/minimal_jobshop_sat.cc",
"diff": "+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY K... | C++ | Apache License 2.0 | google/or-tools | sat: Add minimal_jobshop_sat.cc |
261,218 | 11.10.2021 16:33:35 | -7,200 | 4cdff76ecbec93fffb4564f70a22edf0e5f9365c | sat: Fixup nurses_sat.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/nurses_sat.cc",
"new_path": "ortools/sat/samples/nurses_sat.cc",
"diff": "@@ -158,8 +158,6 @@ void NurseSat() {\n// [START solve]\nconst CpSolverResponse response = SolveCpModel(cp_model.Build(), &model);\n- LOG(INFO) << \"Number of solutio... | C++ | Apache License 2.0 | google/or-tools | sat: Fixup nurses_sat.cc |
261,218 | 11.10.2021 16:33:54 | -7,200 | a73c391f449aa112a36d2f8a50e4d55a257aa983 | sat: Add NursesSat.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/pom-sample.xml.in",
"new_path": "ortools/java/pom-sample.xml.in",
"diff": "<type>jar</type>\n<scope>compile</scope>\n</dependency>\n+ <dependency>\n+ <groupId>com.google.guava</groupId>\n+ <artifactId>guava</artifactId>\n+ <version>30.1.1-jre</ver... | C++ | Apache License 2.0 | google/or-tools | sat: Add NursesSat.java |
261,230 | 11.10.2021 17:06:55 | -7,200 | e6290ec99a50ec49faebb3af7bc9a459ee845220 | [CP-SAT] better presolve of inverse constraints in case of duplicated variables; move logic to expand all_different constraint from load time to expand time; better presolve/expand of [literal =>] ax + by ==/!= c | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/BUILD",
"new_path": "ortools/sat/BUILD",
"diff": "@@ -1161,6 +1161,7 @@ cc_library(\n\"@com_google_absl//absl/random\",\n\"@com_google_absl//absl/random:bit_gen_ref\",\n\"@com_google_protobuf//:protobuf\",\n+ \"@com_google_absl//absl/numeric:int128... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] better presolve of inverse constraints in case of duplicated variables; move logic to expand all_different constraint from load time to expand time; better presolve/expand of [literal =>] ax + by ==/!= c |
261,218 | 11.10.2021 17:35:07 | -7,200 | b7a0d6be3fc4e0fd85ae948c83a0757494987189 | sat: Add ScheduleRequestsSat.java | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/ScheduleRequestsSat.java",
"diff": "+// Copyright 2010-2021 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may ... | C++ | Apache License 2.0 | google/or-tools | sat: Add ScheduleRequestsSat.java |
261,218 | 11.10.2021 17:35:26 | -7,200 | 294a294d6c1c80cda5373b9332d1027cfcd3e63e | sat: fixup schedule_requests_sat.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/schedule_requests_sat.cc",
"new_path": "ortools/sat/samples/schedule_requests_sat.cc",
"diff": "@@ -201,7 +201,7 @@ void ScheduleRequestsSat() {\nLOG(INFO) << \"\";\n}\nLOG(INFO) << \"Number of shift requests met = \" << response.objective_... | C++ | Apache License 2.0 | google/or-tools | sat: fixup schedule_requests_sat.cc |
261,230 | 12.10.2021 10:09:18 | -7,200 | bada314aaecb093c41a3c0592987f591efb0e5f7 | change solve.cc: change solver type parsing; use absl::Duration for the time limit | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/BUILD",
"new_path": "examples/cpp/BUILD",
"diff": "@@ -465,9 +465,10 @@ cc_binary(\nname = \"solve\",\nsrcs = [\"solve.cc\"],\ndeps = [\n+ \"@com_google_absl//absl/time\",\n\"//ortools/base\",\n- \"//ortools/linear_solver\",\n\"//ortools/linear_so... | C++ | Apache License 2.0 | google/or-tools | change solve.cc: change solver type parsing; use absl::Duration for the time limit |
261,230 | 12.10.2021 10:17:21 | -7,200 | b4feb576b12b7d0fe3a5efe23bc8f9f3df7160a1 | polish previous code | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/solve.cc",
"new_path": "examples/cpp/solve.cc",
"diff": "//\n// Examples.\n//\n-// 1. To run SCIP for 10 minutes, dumping available information use:\n+// 1. To run SCIP for 90 seconds, dumping available information use:\n//\n// solve --solver=scip... | C++ | Apache License 2.0 | google/or-tools | polish previous code |
261,230 | 12.10.2021 10:51:42 | -7,200 | 475880c6c75ce74f8cb64732576ee6505a39463b | show load model errors in python linear solver | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/python/linear_solver.i",
"new_path": "ortools/linear_solver/python/linear_solver.i",
"diff": "@@ -99,7 +99,10 @@ from ortools.linear_solver.linear_solver_natural_api import VariableExpr\nbool LoadSolutionFromProto(\nconst operations_resea... | C++ | Apache License 2.0 | google/or-tools | show load model errors in python linear solver |
261,230 | 12.10.2021 10:51:57 | -7,200 | 385eb02d852559420222eeaf6fa2d203ea86b38d | improve CP-SAT linear solver backend | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/sat_proto_solver.cc",
"new_path": "ortools/linear_solver/sat_proto_solver.cc",
"diff": "@@ -53,7 +53,7 @@ MPSolverResponseStatus ToMPSolverResponseStatus(sat::CpSolverStatus status,\ncase sat::CpSolverStatus::MODEL_INVALID:\nreturn MPSOLV... | C++ | Apache License 2.0 | google/or-tools | improve CP-SAT linear solver backend |
261,230 | 13.10.2021 16:39:39 | -7,200 | e41e25b3d869af152c6f4317713cdc682edc16fb | tweak the default time limit in solve.cc | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/solve.cc",
"new_path": "examples/cpp/solve.cc",
"diff": "@@ -82,9 +82,10 @@ ABSL_FLAG(std::string, params_file, \"\",\n\"Solver specific parameters file. \"\n\"If this flag is set, the --params flag is ignored.\");\nABSL_FLAG(std::string, params, ... | C++ | Apache License 2.0 | google/or-tools | tweak the default time limit in solve.cc |
261,230 | 13.10.2021 17:12:10 | -7,200 | 0d67f77de700238c33e378b5a9197a581aa01556 | [CP-SAT] reorder struct; fix presolve bug in cumulative | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_checker.cc",
"new_path": "ortools/sat/cp_model_checker.cc",
"diff": "@@ -1226,7 +1226,11 @@ class ConstraintChecker {\nconst int64_t demand = Value(ct.cumulative().demands(i));\nfor (int64_t t = start; t < start + duration; ++t) {\nusage[t... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] reorder struct; fix presolve bug in cumulative |
261,218 | 13.10.2021 18:23:53 | -7,200 | 66637a3226553f52e642329bdf194f1402125e30 | sat(samples): polish | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/minimal_jobshop_sat.py",
"new_path": "ortools/sat/samples/minimal_jobshop_sat.py",
"diff": "@@ -102,8 +102,8 @@ def main():\nfor task_id, task in enumerate(job):\nmachine = task[0]\nassigned_jobs[machine].append(\n- assigned_task_type(start... | C++ | Apache License 2.0 | google/or-tools | sat(samples): polish |
261,218 | 15.10.2021 16:16:25 | -7,200 | 265486f6d5e36cd43b45b4d26f1b092ff2dc4f92 | sat(sample): Fix tag in minimal_jobshop_sat.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/minimal_jobshop_sat.py",
"new_path": "ortools/sat/samples/minimal_jobshop_sat.py",
"diff": "@@ -89,12 +89,12 @@ def main():\n# [END objective]\n# Creates the solver and solve.\n- # [START solver]\n+ # [START solve]\nsolver = cp_model.CpSolv... | C++ | Apache License 2.0 | google/or-tools | sat(sample): Fix tag in minimal_jobshop_sat.py |
261,230 | 16.10.2021 14:44:48 | -7,200 | c25036996f686bf7091ad8c4fed48e3d6d643dfa | implements IntervalVar::get{Start|Size|End}Expr in java, fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/IntVar.java",
"new_path": "ortools/java/com/google/ortools/sat/IntVar.java",
"diff": "@@ -30,6 +30,13 @@ public final class IntVar implements Literal, LinearExpr {\nthis.negation_ = null;\n}\n+ IntVar(CpModelProto.Builder bu... | C++ | Apache License 2.0 | google/or-tools | implements IntervalVar::get{Start|Size|End}Expr in java, fix #2847 |
261,230 | 16.10.2021 14:45:24 | -7,200 | 67cc8ed591acba1f9dc563832939b703b5b2324f | implements IntervalVar.{Start|Size|End}Expr in python | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -180,6 +180,8 @@ class LinearExpr(object):\n@classmethod\ndef Sum(cls, expressions):\n\"\"\"Creates the expression sum(expressions).\"\"\"\n+ if len(expressions) == 1:\n... | C++ | Apache License 2.0 | google/or-tools | implements IntervalVar.{Start|Size|End}Expr in python |
261,230 | 16.10.2021 21:06:46 | -7,200 | 44e22e50c760da1b3b1d544c5d2f6e9f61f06899 | implements IntervalVar.{Start|Size|End}Expr in .NET | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/SatSolverTests.cs",
"new_path": "examples/tests/SatSolverTests.cs",
"diff": "@@ -434,5 +434,18 @@ namespace Google.OrTools.Tests\nAssert.NotEmpty(log);\nAssert.Contains(\"OPTIMAL\", log);\n}\n+\n+ [Fact]\n+ public void TestInterval()\n+ {\n+ Con... | C++ | Apache License 2.0 | google/or-tools | implements IntervalVar.{Start|Size|End}Expr in .NET |
261,230 | 17.10.2021 11:24:44 | -7,200 | f15537de74088b60dfa325c3b2b5eab365333d03 | minor improvement to C# CP-SAT code and test | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/SatSolverTests.cs",
"new_path": "examples/tests/SatSolverTests.cs",
"diff": "@@ -442,10 +442,9 @@ namespace Google.OrTools.Tests\nCpModel model = new CpModel();\nIntVar v = model.NewIntVar(-10, 10, \"v\");\nIntervalVar i = model.NewFixedSizeInte... | C++ | Apache License 2.0 | google/or-tools | minor improvement to C# CP-SAT code and test |
261,218 | 18.10.2021 12:57:53 | -7,200 | 322a404ec4b7523104301e15286dd795dca03e1e | cmake: Fix target naming convention | [
{
"change_type": "MODIFY",
"old_path": "cmake/dotnet.cmake",
"new_path": "cmake/dotnet.cmake",
"diff": "@@ -261,7 +261,7 @@ function(add_dotnet_test FILE_NAME)\n${DOTNET_TEST_PATH}/${TEST_NAME}.csproj\n@ONLY)\n- add_custom_target(dotnet_test_${TEST_NAME} ALL\n+ add_custom_target(dotnet_${COMPONENT_N... | C++ | Apache License 2.0 | google/or-tools | cmake: Fix target naming convention |
261,218 | 18.10.2021 13:04:00 | -7,200 | aa387f20fb2798ff3f46223b2e9663636c000b2a | cmake: Disable CTest targets | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -222,6 +222,8 @@ endif()\nadd_subdirectory(cmake/dependencies dependencies)\nlist(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR}/dependencies/install)\n+# Disable CTest targets\n+set_property(GLO... | C++ | Apache License 2.0 | google/or-tools | cmake: Disable CTest targets |
261,218 | 18.10.2021 14:23:50 | -7,200 | ab24ec1a6243bf6f3d29543aaefd744c41ab38e7 | sat: Update minimal jobshop sample | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/MinimalJobshopSat.java",
"new_path": "ortools/sat/samples/MinimalJobshopSat.java",
"diff": "@@ -205,7 +205,7 @@ public class MinimalJobshopSat {\nSystem.out.printf(\"Optimal Schedule Length: %f%n\", solver.objectiveValue());\nSystem.out.pri... | C++ | Apache License 2.0 | google/or-tools | sat: Update minimal jobshop sample |
261,218 | 18.10.2021 14:24:28 | -7,200 | cdcea7c275b01d5acf8b30435ad45ae6f2279825 | sat: Update SimpleSatProgram | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/SimpleSatProgram.cs",
"new_path": "ortools/sat/samples/SimpleSatProgram.cs",
"diff": "// limitations under the License.\n// [START program]\n+// [START import]\nusing System;\nusing Google.OrTools.Sat;\n+// [END import]\npublic class Simple... | C++ | Apache License 2.0 | google/or-tools | sat: Update SimpleSatProgram |
261,218 | 18.10.2021 15:47:31 | -7,200 | fdf96071d62cbef84e212b283a6e5a39f7139cbc | sat: Fixup simple_sat_program.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/simple_sat_program.py",
"new_path": "ortools/sat/samples/simple_sat_program.py",
"diff": "@@ -46,7 +46,7 @@ def SimpleSatProgram():\n# [END solve]\n# [START print_solution]\n- if status == cp_model.OPTIMAL || status == cp_model.FEASIBLE:\n+... | C++ | Apache License 2.0 | google/or-tools | sat: Fixup simple_sat_program.py |
261,218 | 18.10.2021 16:04:53 | -7,200 | 53187fbed4e9a6bbe5da20ad74a1a010783a147e | sat: Fixup SimpleSatProgram.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/SimpleSatProgram.java",
"new_path": "ortools/sat/samples/SimpleSatProgram.java",
"diff": "// limitations under the License.\n// [START program]\n-// [START import]\npackage com.google.ortools.sat.samples;\n-\n+// [START import]\nimport com.... | C++ | Apache License 2.0 | google/or-tools | sat: Fixup SimpleSatProgram.java |
261,218 | 18.10.2021 17:44:15 | -7,200 | a19e55f091400b86726f02e56844ef34c5284371 | sat: Add CpSatExample samples | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/CpSatExample.cs",
"diff": "+// Copyright 2010-2021 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a ... | C++ | Apache License 2.0 | google/or-tools | sat: Add CpSatExample samples |
261,218 | 20.10.2021 11:39:23 | -7,200 | d4e68ff40033e1ebeb6c372a044d513d4c3999cc | Sync Google with github | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/BUILD",
"new_path": "ortools/sat/samples/BUILD",
"diff": "@@ -14,6 +14,8 @@ code_sample_cc(name = \"copy_model_sample_sat\")\ncode_sample_cc(name = \"cp_is_fun_sat\")\n+code_sample_cc(name = \"cp_sat_example\")\n+\ncode_sample_cc(name = \"e... | C++ | Apache License 2.0 | google/or-tools | Sync Google with github |
261,218 | 20.10.2021 13:27:12 | -7,200 | ce08aac353eceb1a4398293103c6023c98edaaf5 | sat/samples: Fix indent | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/minimal_jobshop_sat.cc",
"new_path": "ortools/sat/samples/minimal_jobshop_sat.cc",
"diff": "@@ -129,7 +129,8 @@ void MinimalJobshopSat() {\n// [END solve]\n// [START print_solution]\n- if (response.status() == CpSolverStatus::OPTIMAL || res... | C++ | Apache License 2.0 | google/or-tools | sat/samples: Fix indent |
261,230 | 21.10.2021 13:37:15 | -7,200 | 4482483be32edd8c9bdcdbd637d31ad19b0e50ba | [CP-SAT] remove dead code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_expand.cc",
"new_path": "ortools/sat/cp_model_expand.cc",
"diff": "@@ -1692,9 +1692,7 @@ void ExpandCpModel(PresolveContext* context) {\nbool skip = false;\nswitch (ct->constraint_case()) {\ncase ConstraintProto::ConstraintCase::kReservoir... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] remove dead code |
261,218 | 21.10.2021 15:12:49 | -7,200 | 0d6e2a916973b0a5b3e11e78fdf04627a78c6b4f | sat: NQueensSat in all languages | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -662,6 +662,7 @@ test_python_sat_samples: \\\nrpy_literal_sample_sat \\\nrpy_minimal_jobshop_sat \\\nrpy_no_overlap_sample_sat \\\n+ rpy_nqueens_sat \\\nrpy_nurses_sat \\\nr... | C++ | Apache License 2.0 | google/or-tools | sat: NQueensSat in all languages |
261,218 | 21.10.2021 15:13:20 | -7,200 | ac0b672e345a2117693403032b40455be40d5b42 | constraint_solver: Add NQueensCp in all supported languages | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -602,6 +602,7 @@ test_python_algorithms_samples: \\\n.PHONY: test_python_constraint_solver_samples # Run all Python CP Samples (located in ortools/constraint_solver/samples)... | C++ | Apache License 2.0 | google/or-tools | constraint_solver: Add NQueensCp in all supported languages |
261,218 | 21.10.2021 17:34:56 | -7,200 | 960595d1d6a93c6889a22a048d8540670b000fae | sat: Add missing tags | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/SolveWithTimeLimitSampleSat.cs",
"new_path": "ortools/sat/samples/SolveWithTimeLimitSampleSat.cs",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+// [START program]\nusin... | C++ | Apache License 2.0 | google/or-tools | sat: Add missing tags |
261,218 | 22.10.2021 00:50:21 | -7,200 | eb0f319cd6a2110a8e460ff881d3e5fca7b9c28a | Sync github with google | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/CpIsFunCp.java",
"new_path": "ortools/constraint_solver/samples/CpIsFunCp.java",
"diff": "@@ -23,9 +23,7 @@ package com.google.ortools.constraintsolver.samples;\nimport com.google.ortools.Loader;\nimport com.google.ortools.con... | C++ | Apache License 2.0 | google/or-tools | Sync github with google |
261,218 | 22.10.2021 09:19:25 | -7,200 | bb73699ff5f4f2253b10f9e46f3b45a9eab33414 | sat: Polish samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/NQueensSat.cs",
"new_path": "ortools/sat/samples/NQueensSat.cs",
"diff": "@@ -89,11 +89,11 @@ public class NQueensSat\nfor (int i = 0; i < BoardSize; ++i)\n{\nIntVar tmp1 = model.NewIntVar(0, BoardSize * 2, $\"x{i}\");\n- model.Add(LinearEx... | C++ | Apache License 2.0 | google/or-tools | sat: Polish samples |
261,230 | 22.10.2021 10:08:28 | -7,200 | 758ead91e939456c26b6457d5cd4780f5cf9e5d9 | Add version info on python, java, .NET; add patch info on C++, | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -221,7 +221,7 @@ DEPENDENCIES_INC = -I$(INC_DIR) -I$(GEN_DIR) \\\n-Wno-deprecated -DUSE_GLOP -DUSE_BOP \\\n$(GLPK_INC) $(CPLEX_INC) $(XPRESS_INC)\n-CFLAGS = $(DEBUG) $(DEPENDENC... | C++ | Apache License 2.0 | google/or-tools | Add version info on python, java, .NET; add patch info on C++, #2861 |
261,230 | 24.10.2021 09:25:38 | -7,200 | 27a3a991785699d0af71950aa2df6043a3c1e274 | disable energy computation in cumulative completion time cuts | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/scheduling_cuts.cc",
"new_path": "ortools/sat/scheduling_cuts.cc",
"diff": "@@ -965,14 +965,14 @@ CutGenerator CreateCumulativeCompletionTimeCutGenerator(\nevent.y_start_min = IntegerValue(0);\nevent.y_end_max = IntegerValue(capacity_max);\nevent.e... | C++ | Apache License 2.0 | google/or-tools | disable energy computation in cumulative completion time cuts |
261,230 | 25.10.2021 11:45:53 | -7,200 | 88eb0abfe901f5eca07ac710476b3adf178451cd | [GLOP] fix crash | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lp_solver.cc",
"new_path": "ortools/glop/lp_solver.cc",
"diff": "@@ -230,10 +230,8 @@ ProblemStatus LPSolver::SolveWithTimeLimit(const LinearProgram& lp,\nif (!time_limit->LimitReached()) {\nRunRevisedSimplexIfNeeded(&solution, time_limit);\n}\n-\... | C++ | Apache License 2.0 | google/or-tools | [GLOP] fix crash |
261,230 | 25.10.2021 11:46:14 | -7,200 | 3578666ad501f78461df79bc2a60a3978eae8886 | [GRAPH] fix max flow export to proto | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/flow_problem.proto",
"new_path": "ortools/graph/flow_problem.proto",
"diff": "@@ -37,14 +37,14 @@ syntax = \"proto2\";\npackage operations_research;\n-message Arc {\n+message FlowArcProto {\n// A directed arc goes from a tail node to a head node.... | C++ | Apache License 2.0 | google/or-tools | [GRAPH] fix max flow export to proto |
261,230 | 25.10.2021 11:46:51 | -7,200 | bac1ea8d272915460cdcc7f52dc1a44c257d88ec | [CP-SAT] polish linearization/cut code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/implied_bounds.cc",
"new_path": "ortools/sat/implied_bounds.cc",
"diff": "@@ -253,57 +253,66 @@ std::string EncodingStr(const std::vector<ValueLiteralPair>& enc) {\n// expression pointing to a variable with domain [0,1] or [-1,0].\n// If the origin... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] polish linearization/cut code |
261,230 | 25.10.2021 16:30:57 | -7,200 | 93c7e252eb90db4a34294b33ff5a1f657286da98 | [CP-SAT] Cleanup propagator API | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -1147,6 +1147,8 @@ void LoadIntDivConstraint(const ConstraintProto& ct, Model* m) {\nconst IntegerValue denom(m->Get(Value(vars[1])));\nif (denom == 1) {\nm->Add(Equalit... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] Cleanup propagator API |
261,230 | 26.10.2021 16:39:35 | -7,200 | bb142a615d4efc55d3f4ef9e0e76613976779e8f | improve precision of the domain modulo computation | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/sorted_interval_list.cc",
"new_path": "ortools/util/sorted_interval_list.cc",
"diff": "@@ -478,13 +478,38 @@ Domain Domain::InverseMultiplicationBy(const int64_t coeff) const {\nreturn result;\n}\n+namespace {\n+Domain ModuloHelper(int64_t min, in... | C++ | Apache License 2.0 | google/or-tools | improve precision of the domain modulo computation |
261,218 | 27.10.2021 08:32:57 | -7,200 | 1b74cfc8f704b1a08fdc6a81588ecebe4e3ddd51 | ci: Use macos-10.15 virtual environnment for FreeBSD
macos-latest will soon point to macos-11 which drop support of VirtualBox/Vagrant
see: | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/cmake_freebsd.yml",
"new_path": ".github/workflows/cmake_freebsd.yml",
"diff": "@@ -5,7 +5,7 @@ on: [push, pull_request]\njobs:\n# Only macos runner provide virtualisation with vagrant/virtualbox installed.\nFreeBSD:\n- runs-on: macos-latest\... | C++ | Apache License 2.0 | google/or-tools | ci: Use macos-10.15 virtual environnment for FreeBSD
macos-latest will soon point to macos-11 which drop support of VirtualBox/Vagrant
see: https://github.com/actions/virtual-environments/issues/4060 |
261,218 | 27.10.2021 08:46:15 | -7,200 | 88e43ae9a8c2791db5ff72222bfd21a1a2d7f1ef | tools: Sync cross_compile.sh with google/cpu_features | [
{
"change_type": "MODIFY",
"old_path": "tools/cross_compile.sh",
"new_path": "tools/cross_compile.sh",
"diff": "set -eo pipefail\nfunction extract() {\n+ echo \"Extracting ${1}...\"\ncase $1 in\n*.tar.bz2) tar xjf \"$1\" ;;\n*.tar.xz) tar xJf \"$1\" ;;\n@@ -19,8 +20,9 @@ function unpack() {\nlocal -... | C++ | Apache License 2.0 | google/or-tools | tools: Sync cross_compile.sh with google/cpu_features |
261,218 | 27.10.2021 16:25:38 | -7,200 | 29c3ccfc78738a319ce172844c71a3d9c2bf2965 | java: Make loadeNativeLibraries() a static synchronized function. | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/Loader.java",
"new_path": "ortools/java/com/google/ortools/Loader.java",
"diff": "@@ -100,7 +100,7 @@ public class Loader {\n/** Unpack and Load the native libraries needed for using ortools-java.*/\nprivate static boolean loade... | C++ | Apache License 2.0 | google/or-tools | java: Make loadeNativeLibraries() a static synchronized function. |
261,218 | 27.10.2021 17:17:07 | -7,200 | 6a1b135e582c1b0e97f0041674ec33d22c2cda4e | Sync examples/cpp | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/BUILD",
"new_path": "examples/cpp/BUILD",
"diff": "@@ -240,6 +240,8 @@ cc_binary(\n\"//ortools/base:file\",\n\"@com_google_absl//absl/strings\",\n\"//ortools/base:timer\",\n+ \"//ortools/data:jobshop_scheduling_cc_proto\",\n+ \"//ortools/data:jobs... | C++ | Apache License 2.0 | google/or-tools | Sync examples/cpp |
261,218 | 27.10.2021 17:42:45 | -7,200 | 936abd2477a12cfc6ed6a3541c18caa8ea1fb538 | cmake: Fix badges | [
{
"change_type": "MODIFY",
"old_path": "cmake/doc/cpp.md",
"new_path": "cmake/doc/cpp.md",
"diff": "| Linux | macOS | Windows |\n|-------|-------|---------|\n-| [![Status][cpp_linux_svg]][cpp_linux_link] | [![Status][cpp_osx_svg]][cpp_osx_link] | [![Status][cpp_win_svg]][cpp_win_link] |\n+| [![Statu... | C++ | Apache License 2.0 | google/or-tools | cmake: Fix badges |
261,230 | 28.10.2021 15:44:12 | -7,200 | 9a5986631ebfcbe80619d03ff8ea102417ceed95 | [CP-SAT] improve modulo propagator | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer.cc",
"new_path": "ortools/sat/integer.cc",
"diff": "@@ -1006,9 +1006,8 @@ std::string IntegerTrail::DebugString() {\nreturn result;\n}\n-bool IntegerTrail::UnsafeEnqueue(\n- IntegerLiteral i_lit, absl::Span<const Literal> literal_reason,\n-... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] improve modulo propagator |
261,230 | 28.10.2021 18:21:47 | -7,200 | 139d2c16616c37e4274e0cd00ea288044551f663 | re-enable cumulative relaxation | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_relaxation.cc",
"new_path": "ortools/sat/linear_relaxation.cc",
"diff": "@@ -738,7 +738,7 @@ void AppendCumulativeRelaxation(const CpModelProto& model_proto,\nstd::vector<LinearExpression> energies;\nstd::vector<AffineExpression> demands;\ns... | C++ | Apache License 2.0 | google/or-tools | re-enable cumulative relaxation |
261,218 | 29.10.2021 08:16:11 | -7,200 | 6406c347d466cbd9a903ea46b9b0470e6b17c198 | python: Test __version__ is available | [
{
"change_type": "MODIFY",
"old_path": "test.py.in",
"new_path": "test.py.in",
"diff": "+import ortools\nfrom ortools.linear_solver import pywraplp\nfrom ortools.linear_solver import linear_solver_pb2\nfrom ortools.constraint_solver import pywrapcp\n@@ -28,6 +29,7 @@ def cpsolver():\nprint('Test cps... | C++ | Apache License 2.0 | google/or-tools | python: Test __version__ is available |
261,218 | 29.10.2021 11:50:44 | -7,200 | 431a6de075677951a17d898f921cc8a237e7c8ca | cmake: Clean Doc | [
{
"change_type": "MODIFY",
"old_path": "cmake/README.md",
"new_path": "cmake/README.md",
"diff": "@@ -102,10 +102,8 @@ There are several options that can be passed to CMake to modify how the code is\nFor all of these options and parameters you have to use `-D<Parameter_name>=<value>`.\nAll CMake opt... | C++ | Apache License 2.0 | google/or-tools | cmake: Clean Doc |
261,242 | 22.10.2021 16:00:44 | -7,200 | 70db1c1ff6aa7de8cea9ee96dd3769e25a3fe89a | Fixed support and documentation for Cmake CPLEX build on Linux | [
{
"change_type": "MODIFY",
"old_path": "cmake/FindCPLEX.cmake",
"new_path": "cmake/FindCPLEX.cmake",
"diff": "@@ -37,15 +37,13 @@ else()\nmessage(FATAL_ERROR \"FindCPLEX only works if either C or CXX language is enabled\")\nendif()\n-if(APPLE)\n- message(FATAL_ERROR \"CPLEX not yet supported on macO... | C++ | Apache License 2.0 | google/or-tools | Fixed support and documentation for Cmake CPLEX build on Linux |
261,230 | 29.10.2021 14:02:25 | -7,200 | 34b26eb5b09d5b4f34db02e2dca56009c90918f8 | [CP-SAT] reorganize linear code; tweak lb_tree_search code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -1099,28 +1099,8 @@ void LoadAllDiffConstraint(const ConstraintProto& ct, Model* m) {\nauto* mapping = m->GetOrCreate<CpModelMapping>();\nconst std::vector<IntegerVariab... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] reorganize linear code; tweak lb_tree_search code |
261,218 | 29.10.2021 15:31:33 | -7,200 | 24b90b21a3266424328697799f19beca2d529808 | cmake: remove policy up to 3.15
Since we target CMake 3.15 all these policies are already set to NEW. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "cmake_minimum_required(VERSION 3.15)\nlist(APPEND CMAKE_MODULE_PATH \"${CMAKE_CURRENT_SOURCE_DIR}/cmake\")\n-# Apple: Don't modify install_name when touching RPATH.\n-if(POLICY CMP0068)\n- cmake_policy(SE... | C++ | Apache License 2.0 | google/or-tools | cmake: remove policy up to 3.15
Since we target CMake 3.15 all these policies are already set to NEW. |
261,218 | 29.10.2021 17:22:37 | -7,200 | 04393e43d101c5d020d674613885ea7e4d6f66db | python: Fix venv not being updated | [
{
"change_type": "MODIFY",
"old_path": "cmake/python.cmake",
"new_path": "cmake/python.cmake",
"diff": "@@ -215,6 +215,7 @@ if(BUILD_TESTING)\nendif()\n# make a virtualenv to install our python package in it\nadd_custom_command(TARGET python_package POST_BUILD\n+ COMMAND ${CMAKE_COMMAND} -E remove_d... | C++ | Apache License 2.0 | google/or-tools | python: Fix venv not being updated |
261,218 | 29.10.2021 17:37:46 | -7,200 | 61aa579f5cdb779064fa0a6e82b3fe561946cf13 | cmake(python): add missing __version__ to ortools package | [
{
"change_type": "MODIFY",
"old_path": "cmake/python.cmake",
"new_path": "cmake/python.cmake",
"diff": "@@ -124,17 +124,17 @@ set(PYTHON_PATH ${PROJECT_BINARY_DIR}/python/${PYTHON_PROJECT})\nmessage(STATUS \"Python project build path: ${PYTHON_PATH}\")\n#file(MAKE_DIRECTORY python/${PROJECT_NAME})\n... | C++ | Apache License 2.0 | google/or-tools | cmake(python): add missing __version__ to ortools package |
261,218 | 29.10.2021 17:39:19 | -7,200 | 09051d756be7e9bdcf8871324de1c1f55fa475bc | cmake(python): improve non rebuild | [
{
"change_type": "MODIFY",
"old_path": "cmake/python.cmake",
"new_path": "cmake/python.cmake",
"diff": "@@ -155,6 +155,13 @@ file(GENERATE\nOUTPUT ${PROJECT_BINARY_DIR}/python/$<CONFIG>/setup.py\nINPUT ${PROJECT_BINARY_DIR}/python/setup.py.in)\n+add_custom_command(\n+ OUTPUT python/setup.py\n+ DEPEN... | C++ | Apache License 2.0 | google/or-tools | cmake(python): improve non rebuild |
261,230 | 31.10.2021 18:54:30 | -3,600 | ce867ae974a9737000855d166ea67d04d2b50cb8 | fix glop only build for cmake | [
{
"change_type": "MODIFY",
"old_path": "cmake/glop.cmake",
"new_path": "cmake/glop.cmake",
"diff": "@@ -130,6 +130,8 @@ add_library(glop\nortools/util/file_util.h\nortools/util/fp_utils.cc\nortools/util/fp_utils.h\n+ ortools/util/logging.cc\n+ ortools/util/logging.h\nortools/util/rational_approximat... | C++ | Apache License 2.0 | google/or-tools | fix glop only build for cmake |
261,230 | 02.11.2021 14:40:48 | -3,600 | 80af13789a89d31187d0a525d999efdfffc5441e | [CP-SAT] do not add lb_tree_search when the model does not have an objective | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_search.cc",
"new_path": "ortools/sat/cp_model_search.cc",
"diff": "@@ -549,6 +549,10 @@ std::vector<SatParameters> GetDiverseSetOfParameters(\nif (num_workers > 10) {\nnames.push_back(\"quick_restart_no_lp\");\n}\n+ // Only add lb_tree_sea... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] do not add lb_tree_search when the model does not have an objective |
261,218 | 03.11.2021 12:57:26 | -3,600 | 52c9b0b77fceb70926f5ee043e2b4cf6c7015a0b | constraint_solver: Sync | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/constraint_solver.i",
"new_path": "ortools/constraint_solver/java/constraint_solver.i",
"diff": "@@ -722,6 +722,7 @@ import java.lang.Runnable;\n// Used to keep alive java references to objects passed to the C++ layer.\nimport ja... | C++ | Apache License 2.0 | google/or-tools | constraint_solver: Sync |
261,218 | 03.11.2021 12:57:55 | -3,600 | 9806a20832337afbd16acfda9c8ac4a61fea551d | graph: Sync samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/samples/AssignmentMinFlow.cs",
"new_path": "ortools/graph/samples/AssignmentMinFlow.cs",
"diff": "@@ -37,8 +37,9 @@ public class AssignmentMinFlow\nint source = 0;\nint sink = 9;\n+ int tasks = 4;\n// Define an array of supplies at each node.\n- ... | C++ | Apache License 2.0 | google/or-tools | graph: Sync samples |
261,218 | 03.11.2021 12:58:25 | -3,600 | 2eac019ffbe33e18908ea822c2d49d1997cf7cb6 | graph: Add assignment_linear_assignment.py sample | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/graph/samples/assignment_linear_assignment.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance ... | C++ | Apache License 2.0 | google/or-tools | graph: Add assignment_linear_assignment.py sample |
261,218 | 03.11.2021 12:58:52 | -3,600 | 518c708cec8e9cb8e3c16affca9b36c0646a6686 | sat: Sync sample | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/SimpleSatProgram.java",
"new_path": "ortools/sat/samples/SimpleSatProgram.java",
"diff": "@@ -22,7 +22,7 @@ import com.google.ortools.sat.IntVar;\n// [END import]\n/** Minimal CP-SAT example to showcase calling the solver. */\n-public class... | C++ | Apache License 2.0 | google/or-tools | sat: Sync sample |
261,218 | 03.11.2021 12:59:22 | -3,600 | 6e15254e879367fc40d8c7f6e06a6d85ae991ad1 | sat: Add assignment_groups_sat.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/assignment_groups_sat.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the ... | C++ | Apache License 2.0 | google/or-tools | sat: Add assignment_groups_sat.py |
261,218 | 03.11.2021 13:00:28 | -3,600 | 0d3a928112a7c2fdcbf11e3a498771919d2d72f3 | sat: Add assignment_task_sizes_sat.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/assignment_task_sizes_sat.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with ... | C++ | Apache License 2.0 | google/or-tools | sat: Add assignment_task_sizes_sat.py |
261,218 | 03.11.2021 13:00:40 | -3,600 | 7d24710fccfcfa59fb84c3c3ec2f091f4de158d2 | sat: Add assignment_teams_sat.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/assignment_teams_sat.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the L... | C++ | Apache License 2.0 | google/or-tools | sat: Add assignment_teams_sat.py |
261,218 | 03.11.2021 13:01:09 | -3,600 | 50b20c38737d1ff59f061b2db2be4f0bcb1f0170 | linear_solver: Add assignment_teams_mip.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/linear_solver/samples/assignment_teams_mip.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance ... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Add assignment_teams_mip.py |
261,218 | 03.11.2021 13:01:23 | -3,600 | 649ae07d9a21e34a62f5322c36493d5b7311e680 | linear_solver: Add assignment_task_sizes_mip.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/linear_solver/samples/assignment_task_sizes_mip.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compli... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Add assignment_task_sizes_mip.py |
261,218 | 03.11.2021 13:01:33 | -3,600 | 75228ebc3611c76cb5747132c8196269df75534e | linear_solver: Add assignment_groups_mip.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/linear_solver/samples/assignment_groups_mip.py",
"diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Add assignment_groups_mip.py |
261,218 | 03.11.2021 17:29:14 | -3,600 | 6f4788888b4fdb9c0a2f1d02d8349537eed84af2 | linear_solver: Fix assignment_groups_mip.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/assignment_groups_mip.py",
"new_path": "ortools/linear_solver/samples/assignment_groups_mip.py",
"diff": "@@ -75,8 +75,10 @@ def main():\ntotal_time = 0\nfor group in allowed_groups:\nres = assignment(costs, group)\n- solver_tmp =... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Fix assignment_groups_mip.py |
261,218 | 03.11.2021 17:29:24 | -3,600 | b34db0dffc7951c35d8d9b3bdd6bed77a4abaa9d | sat: Sync samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/SolveWithTimeLimitSampleSat.java",
"new_path": "ortools/sat/samples/SolveWithTimeLimitSampleSat.java",
"diff": "@@ -46,6 +46,7 @@ public final class SolveWithTimeLimitSampleSat {\nSystem.out.println(\"z = \" + solver.value(z));\n}\n}\n+\npr... | C++ | Apache License 2.0 | google/or-tools | sat: Sync samples |
261,230 | 03.11.2021 19:27:24 | -3,600 | c3587095ab0f975e9a364024f2a0784424da4385 | [GLOP] add presolve parameter | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/parameters.proto",
"new_path": "ortools/glop/parameters.proto",
"diff": "@@ -22,7 +22,7 @@ syntax = \"proto2\";\npackage operations_research.glop;\n-// next id = 67\n+// next id = 68\nmessage GlopParameters {\n// Supported algorithms for scaling:\... | C++ | Apache License 2.0 | google/or-tools | [GLOP] add presolve parameter |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.