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 | 12.03.2019 14:50:15 | -3,600 | 4376c8ca4cc9c41ba2f8c32213f467aba73843be | Backport roadef_challenge_2011 from g3 | [
{
"change_type": "MODIFY",
"old_path": "examples/data/roadef_challenge_2011/solution_checker/solution_checker.cc",
"new_path": "examples/data/roadef_challenge_2011/solution_checker/solution_checker.cc",
"diff": "-// Copyright 2011 Google Inc. All Rights Reserved.\n+// Copyright 2010-2018 Google LLC\... | C++ | Apache License 2.0 | google/or-tools | Backport roadef_challenge_2011 from g3 |
261,218 | 12.03.2019 14:51:01 | -3,600 | 63f288f48e889f42a4212993800546b1875bb234 | Backport Java fixup from g3 | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/constraint_solver.i",
"new_path": "ortools/constraint_solver/java/constraint_solver.i",
"diff": "@@ -707,7 +707,7 @@ import java.util.function.LongConsumer;\nimport java.lang.Runnable;\n%}\n// note: SWIG does not support multiple... | C++ | Apache License 2.0 | google/or-tools | Backport Java fixup from g3 |
261,264 | 11.03.2019 14:25:06 | 0 | 828098edc8cb656d8356165f7237661ee9114213 | Add NetworkRoutingSat to make file | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -642,6 +642,7 @@ test_dotnet_dotnet:\n$(MAKE) run SOURCE=examples/dotnet/GateSchedulingSat.cs\n$(MAKE) run SOURCE=examples/dotnet/JobshopFt06Sat.cs\n$(MAKE) run SOURCE=examp... | C++ | Apache License 2.0 | google/or-tools | Add NetworkRoutingSat to make file |
261,264 | 12.03.2019 13:44:25 | 0 | 8b8a11d90c42e1dcc9608dcd0c35fda26cbcf31b | Use ARGS when running NetworkRoutingSat example that are in sync with C++ example | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -642,7 +642,7 @@ test_dotnet_dotnet:\n$(MAKE) run SOURCE=examples/dotnet/GateSchedulingSat.cs\n$(MAKE) run SOURCE=examples/dotnet/JobshopFt06Sat.cs\n$(MAKE) run SOURCE=examp... | C++ | Apache License 2.0 | google/or-tools | Use ARGS when running NetworkRoutingSat example that are in sync with C++ example |
261,264 | 12.03.2019 15:20:49 | 0 | 43a1eb5020911221410a1ad41a7fc41fe6b4e477 | Fix check when computing all paths in example | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/network_routing_sat.cc",
"new_path": "examples/cpp/network_routing_sat.cc",
"diff": "@@ -413,7 +413,7 @@ class NetworkRoutingSolver {\nmax_length <= min_path_length + extra_hops + 1; ++max_length) {\nComputeAllPathsForOneDemandAndOnePathLength(dem... | C++ | Apache License 2.0 | google/or-tools | Fix check when computing all paths in https://github.com/google/or-tools/blob/master/examples/cpp/network_routing_sat.cc example |
261,230 | 12.03.2019 17:45:43 | -3,600 | 6e1127ab2f1862c4fa124ffb462638d94592d99c | fix python indent | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -828,8 +828,8 @@ class CpModel(object):\nmodel_ct.automaton.final_states.append(v)\nfor t in transition_triples:\nif len(t) != 3:\n- raise TypeError('Tuple ' + str(t) +\... | C++ | Apache License 2.0 | google/or-tools | fix python indent |
261,230 | 13.03.2019 11:46:30 | -3,600 | afcc53d300077444b405b541b62df1f7e958533a | fix sat samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/channeling.md",
"new_path": "ortools/sat/doc/channeling.md",
"diff": "-# Channeling constraints.\n+# Channeling constraints\n-## Introduction\n+A *channeling constraint* links variables inside a model. They're used when you\n+want to express a ... | C++ | Apache License 2.0 | google/or-tools | fix sat samples |
261,218 | 13.03.2019 13:50:23 | -3,600 | 2f0680127d68f5403641828951b5ded5cd71b20d | Backport from g3 to github | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/csharp/knapsack_solver.i",
"new_path": "ortools/algorithms/csharp/knapsack_solver.i",
"diff": "@@ -39,4 +39,6 @@ typedef uint64_t uint64;\n%rename (UseReduction) operations_research::KnapsackSolver::use_reduction;\n%rename (SetUseReduction) ... | C++ | Apache License 2.0 | google/or-tools | Backport from g3 to github |
261,230 | 13.03.2019 13:58:33 | -3,600 | 2b9adc6255d01c5ab4688d7f6dd21b5571b39d82 | sync indent, polish on SAT code; add RINS option for CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/knapsack_solver_for_cuts.cc",
"new_path": "ortools/algorithms/knapsack_solver_for_cuts.cc",
"diff": "@@ -326,7 +326,8 @@ double KnapsackSolverForCuts::Solve(TimeLimit* time_limit,\nSearchQueue search_queue;\nconst KnapsackAssignmentForCuts a... | C++ | Apache License 2.0 | google/or-tools | sync indent, polish on SAT code; add RINS option for CP-SAT |
261,230 | 13.03.2019 14:45:05 | -3,600 | 3c436d154269330daffa70d5f57edc8eb18b358b | more minor sync with internal code | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -1045,9 +1045,9 @@ objs/algorithms/knapsack_solver_for_cuts.$O: \\\nortools/algorithms/knapsack_solver_for_cuts.h ortools/base/int_type.h \\\nortools/base/macros.h ortools/base/in... | C++ | Apache License 2.0 | google/or-tools | more minor sync with internal code |
261,230 | 13.03.2019 16:22:04 | -3,600 | b528688735f2ecd8f375ee42da45fa33aeee3d33 | update README.md with local links | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/README.md",
"new_path": "ortools/sat/README.md",
"diff": "@@ -5,30 +5,30 @@ clause learning. It is built on top of an efficient SAT/max-SAT solver whose\ncode is also in this directory.\nTo begin, skim\n-[cp_model.proto](https://github.com/google/o... | C++ | Apache License 2.0 | google/or-tools | update README.md with local links |
261,230 | 13.03.2019 16:40:48 | -3,600 | 438e9d15309b8a62f8b45b8e0017c70488d2fdd6 | shuffle sat doc around | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/README.md",
"new_path": "ortools/sat/README.md",
"diff": "@@ -139,4 +139,4 @@ Scheduling constraints:\n## Recipes\nYou can find a set a code recipes in\n-[the documentation directory](doc/index.md).\n+[the documentation directory](doc/README.md).\n... | C++ | Apache License 2.0 | google/or-tools | shuffle sat doc around |
261,218 | 15.03.2019 08:02:49 | -3,600 | d9464ddf54ce4b008710d26f143137ab26a67f1d | Remove objective log form Pickup&Delivery samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpPickupDelivery.cs",
"new_path": "ortools/constraint_solver/samples/VrpPickupDelivery.cs",
"diff": "@@ -69,8 +69,6 @@ public class VrpPickupDelivery {\nin RoutingModel routing,\nin RoutingIndexManager manager,\nin Assignment... | C++ | Apache License 2.0 | google/or-tools | Remove objective log form Pickup&Delivery samples |
261,230 | 15.03.2019 11:17:40 | -3,600 | 993b76c99f7087852aa446f81b5e7f519ecec1b9 | add comment on doc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/solver.md",
"new_path": "ortools/sat/doc/solver.md",
"diff": "@@ -429,6 +429,9 @@ public class SolveAndPrintIntermediateSolutionsSampleSat\nIn an non-optimization model, you can search for all solutions. You need to\nregister a callback on the ... | C++ | Apache License 2.0 | google/or-tools | add comment on doc |
261,230 | 15.03.2019 11:18:58 | -3,600 | 8437ab27b9238fe5f6ef7712fb96145cc1762fe6 | add log to check | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -2096,7 +2096,8 @@ CpSolverResponse SolveCpModelParallel(\nWallTimer* wall_timer, Model* model) {\nconst SatParameters& params = *model->GetOrCreate<SatParameters>();\nc... | C++ | Apache License 2.0 | google/or-tools | add log to check |
261,218 | 15.03.2019 16:19:09 | -3,600 | c4aaa4321d270d5d1a32ed8948ef565dca2ee3ff | Fix cvrptw_plot.py | [
{
"change_type": "MODIFY",
"old_path": "examples/python/cvrptw_plot.py",
"new_path": "examples/python/cvrptw_plot.py",
"diff": "@@ -160,6 +160,9 @@ class Customers():\n# The number of seconds needed to 'unload' 1 unit of goods.\nself.service_time_per_dem = 300 # seconds\n+ def set_manager(self, mana... | C++ | Apache License 2.0 | google/or-tools | Fix cvrptw_plot.py |
261,230 | 18.03.2019 11:38:53 | -3,600 | 4e0d93be07d36c1034d07da0a50c149e4aab5602 | 2 way sync internal <-> github, only minor changes | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/mathutil.h",
"new_path": "ortools/base/mathutil.h",
"diff": "@@ -134,9 +134,7 @@ class MathUtil {\nreturn static_cast<IntOut>(x < 0 ? (x - 0.5) : (x + 0.5));\n}\n- static int64 FastInt64Round(double x) {\n- return Round<int64>(x);\n- }\n+ static i... | C++ | Apache License 2.0 | google/or-tools | 2 way sync internal <-> github, only minor changes |
261,218 | 14.03.2019 12:58:56 | -3,600 | 57f7ef846450850a577cb8fb18e5d917cac6464b | Add Simple Cp Program | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -368,6 +368,7 @@ test_cc_constraint_solver_samples: \\\nrcc_nurses_cp \\\nrcc_rabbits_and_pheasants_cp \\\nrcc_simple_ls_program \\\n+ rcc_simple_cp_program \\\nrcc_simple_routing... | C++ | Apache License 2.0 | google/or-tools | Add Simple Cp Program |
261,218 | 18.03.2019 14:18:16 | -3,600 | 1d385d0bef09a5e20a06da430fc2915364c6461c | Sat fix typo | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -3424,7 +3424,7 @@ bool ProcessSetPPC(PresolveContext* context, TimeLimit* time_limit) {\nif (ct->constraint_case() == ConstraintProto::ConstraintCase::kBoolOr ||\nc... | C++ | Apache License 2.0 | google/or-tools | Sat fix typo |
261,218 | 18.03.2019 14:35:09 | -3,600 | 1bd2c4ca21c9efaeacc45604c76963d9c224b757 | Fix CP doc for simple Java samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/doc/CP.md",
"new_path": "ortools/constraint_solver/doc/CP.md",
"diff": "@@ -112,6 +112,56 @@ if __name__ == '__main__':\n### Java code samples\n```java\n+import com.google.ortools.constraintsolver.DecisionBuilder;\n+import com.google.... | C++ | Apache License 2.0 | google/or-tools | Fix CP doc for simple Java samples |
261,218 | 18.03.2019 15:30:26 | -3,600 | 74b1d531115a1053c1838271d214c04b1e5d382f | Use usr/local/buildtools/java/jdk | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.port.mk",
"new_path": "makefiles/Makefile.port.mk",
"diff": "@@ -53,7 +53,7 @@ ifeq ($(SYSTEM),unix)\n/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64 \\\n/usr/lib64/jvm/java-6-sun-1.6.0.26 \\\n/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0 \\\n- /us... | C++ | Apache License 2.0 | google/or-tools | Use usr/local/buildtools/java/jdk |
261,218 | 18.03.2019 15:51:07 | -3,600 | b54a086d993b70fac29c2032f57250539c768add | Bump Travis
trusty -> xenial
Python 3.6 -> Python 3.7
xcode 9.4 -> 10.1 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -5,36 +5,36 @@ matrix:\ninclude:\n# Makefile builder\n- os: linux\n- dist: trusty\n+ dist: xenial\ncompiler: gcc\nenv: BUILDER=make LANGUAGE=cc\n- os: linux\n- dist: trusty\n+ dist: xenial\ncompiler: gcc\nen... | C++ | Apache License 2.0 | google/or-tools | Bump Travis
- trusty -> xenial
- Python 3.6 -> Python 3.7
- xcode 9.4 -> 10.1 |
261,218 | 19.03.2019 11:10:23 | -3,600 | 36a87b31ed60c3d0c6348bb72d70e6790727a6d0 | Bump Abseil-cpp: -> (Fix
use list(FILTER ...) which is not available in CMake 3.5.1 | [
{
"change_type": "MODIFY",
"old_path": "cmake/external/abseil.CMakeLists.txt",
"new_path": "cmake/external/abseil.CMakeLists.txt",
"diff": "@@ -9,11 +9,11 @@ project(abseil-cpp-download NONE)\ninclude(ExternalProject)\nExternalProject_Add(abseil-cpp_project\nGIT_REPOSITORY https://github.com/abseil/... | C++ | Apache License 2.0 | google/or-tools | Bump Abseil-cpp: 93d155b -> 7c7754f (Fix #1138)
93d155b use list(FILTER ...) which is not available in CMake 3.5.1 |
261,218 | 19.03.2019 15:41:42 | -3,600 | 3af3ce24dbdbca84ede18c1e037bb2e7f4cfb279 | Downgrade abseil-cpp: ->
see | [
{
"change_type": "MODIFY",
"old_path": "cmake/external/abseil.CMakeLists.txt",
"new_path": "cmake/external/abseil.CMakeLists.txt",
"diff": "@@ -9,11 +9,11 @@ project(abseil-cpp-download NONE)\ninclude(ExternalProject)\nExternalProject_Add(abseil-cpp_project\nGIT_REPOSITORY https://github.com/abseil/... | C++ | Apache License 2.0 | google/or-tools | Downgrade abseil-cpp: 7c7754f -> 88a152a
see https://github.com/abseil/abseil-cpp/issues/283 |
261,218 | 20.03.2019 08:01:58 | -3,600 | 967e3d1178221a40f5f2b0b5bd335fa4579a43d7 | Fixup CoreFoundation | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -233,6 +233,7 @@ ifeq ($(PLATFORM),MACOSX)\nPRE_LIB = -L$(OR_ROOT)lib -l\nPOST_LIB =\nLINK_FLAGS = \\\n+ -framework CoreFoundation \\\n-Wl,-rpath,@loader_path \\\n-Wl,-rpath,@lo... | C++ | Apache License 2.0 | google/or-tools | Fixup CoreFoundation |
261,218 | 20.03.2019 08:51:18 | -3,600 | 11f213dd0afdae40fdb0e9403cbaed4dc2457932 | Remove ubuntu-14.04 docker.
v7.0 will drop support of it BTW
note: Travis-CI is based on xenial image | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "help:\n@echo \"Tools to generate various deliveries for linux distros\"\n@echo \"use NOCACHE=1 to \\\"docker build --no-cache\\\"\"\n- @echo \"<distro>: debian-9, centos-7, ubuntu-14.04, ubu... | C++ | Apache License 2.0 | google/or-tools | Remove ubuntu-14.04 docker.
- v7.0 will drop support of it BTW
note: Travis-CI is based on xenial image |
261,218 | 20.03.2019 11:44:37 | -3,600 | 38d210f7f2445e76c2a26ecf259fa0a90a31fcaa | Bump abseil-cpp: -> | [
{
"change_type": "MODIFY",
"old_path": "cmake/external/abseil.CMakeLists.txt",
"new_path": "cmake/external/abseil.CMakeLists.txt",
"diff": "@@ -9,11 +9,11 @@ project(abseil-cpp-download NONE)\ninclude(ExternalProject)\nExternalProject_Add(abseil-cpp_project\nGIT_REPOSITORY https://github.com/abseil/... | C++ | Apache License 2.0 | google/or-tools | Bump abseil-cpp: 7c7754f -> bf29470 |
261,218 | 21.03.2019 09:42:15 | -3,600 | 72fccd63983b93c655558ca1bdc9ece1d055d7a1 | Remove SlackVars from cp samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpResources.cs",
"new_path": "ortools/constraint_solver/samples/VrpResources.cs",
"diff": "@@ -90,13 +90,10 @@ public class VrpResources {\nvar index = routing.Start(i);\nwhile (routing.IsEnd(index) == false) {\nvar timeVar =... | C++ | Apache License 2.0 | google/or-tools | Remove SlackVars from cp samples |
261,230 | 21.03.2019 15:15:16 | -3,600 | 23cde5f94a177678ef40b8a18027b17a11d6cfb9 | fix performance bug in CP-SAT python solution callback | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -1511,13 +1511,13 @@ class CpSolverSolutionCallback(pywrapsat.SolutionCallback):\nRaises:\nRuntimeError: if 'lit' is not a boolean variable or its negation.\n\"\"\"\n- i... | C++ | Apache License 2.0 | google/or-tools | fix performance bug in CP-SAT python solution callback |
261,230 | 21.03.2019 15:41:31 | -3,600 | b1ce1d3f77313d49f8303814025293cc80725567 | polish diffn code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/diffn.cc",
"new_path": "ortools/sat/diffn.cc",
"diff": "@@ -172,8 +172,6 @@ bool NonOverlappingRectanglesBasePropagator::\nreturn true;\n}\n-// ----- Energy progagator -----\n-\nNonOverlappingRectanglesEnergyPropagator::\nNonOverlappingRectanglesEn... | C++ | Apache License 2.0 | google/or-tools | polish diffn code |
261,218 | 21.03.2019 17:13:49 | -3,600 | 05a76b1f5f6d5bc7dd8e1bc468616fad8267cf27 | Update macro in constraint_solver.i | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/python/constraint_solver.i",
"new_path": "ortools/constraint_solver/python/constraint_solver.i",
"diff": "@@ -1908,21 +1908,23 @@ namespace operations_research {\n%unignore Rev<bool>::SetValue;\n%template(RevBool) Rev<bool>;\n-%define... | C++ | Apache License 2.0 | google/or-tools | Update macro in constraint_solver.i |
261,230 | 21.03.2019 17:20:55 | -3,600 | 1e1ccb5e385a7d9f90de76c8674c9b8880cbf12c | [CP-SAT]fix bug in diffn loader; fix rare bug in restart | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -1532,11 +1532,11 @@ objs/sat/cuts.$O: ortools/sat/cuts.cc ortools/sat/cuts.h \\\nobjs/sat/diffn.$O: ortools/sat/diffn.cc ortools/sat/diffn.h \\\nortools/base/int_type.h ortools/b... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT]fix bug in diffn loader; fix rare bug in restart |
261,218 | 22.03.2019 09:42:20 | -3,600 | cd4a66c4259bc37f082ea62810c43c7094c42574 | Fix python test unit. | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/test_routing_api.py",
"new_path": "examples/tests/test_routing_api.py",
"diff": "@@ -6,86 +6,86 @@ import unittest\nfrom ortools.constraint_solver import pywrapcp\n-class TestIntContainerAPI(unittest.TestCase):\n+class TestIntVarContainerAPI(uni... | C++ | Apache License 2.0 | google/or-tools | Fix python test unit. |
261,218 | 22.03.2019 10:20:16 | -3,600 | 67667d5754e20e12f402853b59e7a861208683c4 | Update Resources and TW routing samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpResources.cs",
"new_path": "ortools/constraint_solver/samples/VrpResources.cs",
"diff": "@@ -152,24 +152,19 @@ public class VrpResources {\nfalse, // start cumul to zero\n\"Time\");\nRoutingDimension timeDimension = routing... | C++ | Apache License 2.0 | google/or-tools | Update Resources and TW routing samples |
261,218 | 22.03.2019 11:08:21 | -3,600 | b055675cd8f315f3380ad9b827a6daa6115bbf88 | Travis-CI: use JDK 8 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -40,7 +40,9 @@ matrix:\ncompiler: clang\nenv: BUILDER=make LANGUAGE=python3\n- os: osx\n- osx_image: xcode10.1\n+ # to get JDK 8\n+ # https://docs.travis-ci.com/user/reference/osx/#jdk-and-macos\n+ osx_image... | C++ | Apache License 2.0 | google/or-tools | Travis-CI: use JDK 8 |
261,218 | 22.03.2019 11:10:14 | -3,600 | a72e33a732fb986c6b9a14b01bcf746ceecbb251 | Sync from g3 to github | [
{
"change_type": "MODIFY",
"old_path": "ortools/bop/bop_parameters.proto",
"new_path": "ortools/bop/bop_parameters.proto",
"diff": "@@ -230,8 +230,7 @@ message BopParameters {\n// The default is defined by default_solver_optimizer_sets (only one set).\nrepeated BopSolverOptimizerSet solver_optimizer... | C++ | Apache License 2.0 | google/or-tools | Sync from g3 to github |
261,230 | 22.03.2019 13:32:41 | -3,600 | 2d2b216269b30b76948e8e619a40e7a0646e5d34 | add test from or-tools issue | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -9,6 +9,20 @@ from ortools.sat.python import cp_model\nfrom ortools.sat.python import cp_model_helper\n+class SolutionCounter(cp_model.CpSolverSolutionCallback):\n+ \"... | C++ | Apache License 2.0 | google/or-tools | add test from or-tools issue |
261,218 | 22.03.2019 16:01:16 | -3,600 | 6bb0104748c97326f0c102d54abc57ff4caba42c | Fix archive Makefile on macOS | [
{
"change_type": "MODIFY",
"old_path": "tools/Makefile.cc.java.dotnet",
"new_path": "tools/Makefile.cc.java.dotnet",
"diff": "@@ -66,7 +66,7 @@ ifeq ($(SYSTEM),unix)\n-I$(INC_DIR) -I. $(ARCH) -Wno-deprecated \\\n-DUSE_CBC -DUSE_CLP -DUSE_BOP -DUSE_GLOP\nLIB_PREFIX = lib\n- PRE_LIB = -Llib -Llib64\n+... | C++ | Apache License 2.0 | google/or-tools | Fix archive Makefile on macOS |
261,218 | 25.03.2019 10:55:26 | -3,600 | 640569a9ca2e29e7e17585d972ed5e57384484f8 | Fix archive Makefile | [
{
"change_type": "MODIFY",
"old_path": "tools/Makefile.cc.java.dotnet",
"new_path": "tools/Makefile.cc.java.dotnet",
"diff": "@@ -53,7 +53,7 @@ ifeq ($(SYSTEM),unix)\nLDFLAGS = \\\n-Wl,-rpath,@loader_path \\\n-Wl,-rpath,@loader_path/../lib \\\n--lz\n+-lz -framework CoreFoundation\nPORT = MacOsX64\nA... | C++ | Apache License 2.0 | google/or-tools | Fix archive Makefile |
261,218 | 25.03.2019 10:25:47 | -3,600 | 1a53d1d749ff3300feaaec8759c6bc8e90877888 | docker: fix cleanup when rebuilding image | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "@@ -118,6 +118,7 @@ docker_ubuntu-18.10: export/ubuntu-18.10/docker.tar\n# before the image is built...\nexport/%/docker.tar: %.Dockerfile ../Makefile.cc.java.dotnet ../../makefiles ../../or... | C++ | Apache License 2.0 | google/or-tools | docker: fix cleanup when rebuilding image |
261,230 | 25.03.2019 11:21:06 | -3,600 | 325ca6d78d943f3d9b3fdbaa3ec5c929fdec46cb | fix checker bug in routing | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/demon_profiler.proto",
"new_path": "ortools/constraint_solver/demon_profiler.proto",
"diff": "syntax = \"proto3\";\n+\npackage operations_research;\nmessage DemonRuns {\n"
},
{
"change_type": "MODIFY",
"old_path": "ortools... | C++ | Apache License 2.0 | google/or-tools | fix checker bug in routing |
261,230 | 25.03.2019 12:01:45 | -3,600 | b9564540c883bfc940003a4522178c86d7ebe643 | allow modification of the CP-SAT model; add public setters and missing getters | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/Constraint.java",
"new_path": "ortools/com/google/ortools/sat/Constraint.java",
"diff": "@@ -40,11 +40,13 @@ public class Constraint {\n}\n}\n- int getIndex() {\n+ /** Returns the index of the constraint in the model. */\n+ publi... | C++ | Apache License 2.0 | google/or-tools | allow modification of the CP-SAT model; add public setters and missing getters |
261,230 | 25.03.2019 12:49:04 | -3,600 | 180346c6f9404a11ad7a13f90580384c5bbf9179 | enable model modifications for CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -1216,5 +1216,9 @@ public class CpModel {\nreturn -index - 1;\n}\n+ public CpModelProto.Builder builder() {\n+ return modelBuilder;\n+ }\n+\npr... | C++ | Apache License 2.0 | google/or-tools | enable model modifications for CP-SAT |
261,230 | 25.03.2019 13:32:12 | -3,600 | c4f08e2bab1afefe9ce689c5496a078f969229e6 | enable public API to modify the CP-SAT model protobuf directly | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.h",
"new_path": "ortools/sat/cp_model.h",
"diff": "@@ -86,8 +86,8 @@ class BoolVar {\nreturn cp_model_->mutable_variables(index_);\n}\n- // Returns the index of the variable in the model. If the variable is the negation of\n- // another va... | C++ | Apache License 2.0 | google/or-tools | enable public API to modify the CP-SAT model protobuf directly |
261,230 | 25.03.2019 13:45:50 | -3,600 | 7be108761784dafbe31b476046bde307e5950f3c | builder -> getBuilder in CP-SAT java API | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/Constraint.java",
"new_path": "ortools/com/google/ortools/sat/Constraint.java",
"diff": "@@ -46,7 +46,7 @@ public class Constraint {\n}\n/** Returns the constraint builder. */\n- public ConstraintProto.Builder builder() {\n+ publ... | C++ | Apache License 2.0 | google/or-tools | builder -> getBuilder in CP-SAT java API |
261,218 | 25.03.2019 10:27:09 | -3,600 | 8ff169ff178421c2c8dec401d439c572f534efaf | docker: Centos7 -> devtoolset-7-toolchain-centos7
default Centos7 comes with gcc 4.8.5 which can't compile or-tools | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/centos-7.Dockerfile",
"new_path": "tools/docker/centos-7.Dockerfile",
"diff": "-FROM centos:7\n+FROM centos/devtoolset-7-toolchain-centos7\n+USER root\n+\n+#FROM centos:7\n+#RUN yum -y update \\\n+#&& yum install -y centos-release-scl \\\n+#&& yum... | C++ | Apache License 2.0 | google/or-tools | docker: Centos7 -> devtoolset-7-toolchain-centos7
default Centos7 comes with gcc 4.8.5 which can't compile or-tools |
261,218 | 25.03.2019 13:30:23 | -3,600 | 9e1bc75fa4e2be5b9e5be773920108ff877dc978 | Add makefile recipes for the new SAT samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -392,6 +392,7 @@ test_cc_sat_samples: \\\nrcc_bool_or_sample_sat \\\nrcc_channeling_sample_sat \\\nrcc_cp_is_fun_sat \\\n+ rcc_earliness_tardiness_cost_sample_sat \\\nrcc_interval... | C++ | Apache License 2.0 | google/or-tools | Add makefile recipes for the new SAT samples |
261,230 | 26.03.2019 15:19:01 | -3,600 | 82b74c786212a1425ee4390127b7ba07c22a0e48 | update cbc to 2.10.1 | [
{
"change_type": "MODIFY",
"old_path": "Dependencies.txt",
"new_path": "Dependencies.txt",
"diff": "-Protobuf = 3.5.1\n-gflags = 2.2.1\n+Protobuf = 3.6.1\n+gflags = 2.2.2\nglog = 0.3.5\n-Cbc = 2.9.9\n-CoinUtils = 2.10.14\n-Osi = 0.107.9\n-Clp = 1.16.11\n-Cgl = 0.59.10\n+Cbc = 2.10.1\n+CoinUtils = 2.... | C++ | Apache License 2.0 | google/or-tools | update cbc to 2.10.1 |
261,218 | 26.03.2019 15:40:16 | -3,600 | e7a9bbfae8bc57de414814553f82a9d01722d295 | Fix indent in tsp_cities.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/tsp_cities.py",
"new_path": "ortools/constraint_solver/samples/tsp_cities.py",
"diff": "from __future__ import print_function\nfrom ortools.constraint_solver import routing_enums_pb2\nfrom ortools.constraint_solver import pywr... | C++ | Apache License 2.0 | google/or-tools | Fix indent in tsp_cities.py |
261,230 | 27.03.2019 22:23:01 | -3,600 | a5d2dc0f1a15e4a995c74bd97de3e7bcf31268cb | speedup CP-SAT diffn | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/diffn.cc",
"new_path": "ortools/sat/diffn.cc",
"diff": "@@ -157,8 +157,6 @@ bool NonOverlappingRectanglesEnergyPropagator::Propagate() {\nif (active_boxes_.empty()) return true;\n- // const std::vector<absl::Span<int>> x_split =\n- // SplitDisjoint... | C++ | Apache License 2.0 | google/or-tools | speedup CP-SAT diffn |
261,230 | 28.03.2019 16:25:54 | -3,600 | 92b60964035943d094bbd971db9d3ed3836e1044 | optimize diffn a little more | [
{
"change_type": "MODIFY",
"old_path": "or-tools.code-workspace",
"new_path": "or-tools.code-workspace",
"diff": "\"[python]\": {\n\"editor.tabSize\": 4,\n},\n+ \"java.configuration.updateBuildConfiguration\": \"interactive\",\n}\n}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIF... | C++ | Apache License 2.0 | google/or-tools | optimize diffn a little more |
261,218 | 28.03.2019 17:38:45 | -3,600 | e08d64c370bb02af07b463ee951be74353e79e51 | Fix CMake cbc repository url (Close | [
{
"change_type": "MODIFY",
"old_path": "cmake/external/cbc.CMakeLists.txt",
"new_path": "cmake/external/cbc.CMakeLists.txt",
"diff": "@@ -8,7 +8,7 @@ project(cbc-download NONE)\ninclude(ExternalProject)\nExternalProject_Add(cbc_project\n- GIT_REPOSITORY https://github.com/Mizux/Cbc\n+ GIT_REPOSITORY... | C++ | Apache License 2.0 | google/or-tools | Fix CMake cbc repository url (Close #1159) |
261,230 | 28.03.2019 21:23:28 | -3,600 | 2d54341470b1bca27862066a2be7d655f4d5b10e | more improvements to diffn | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_lns.cc",
"new_path": "ortools/sat/cp_model_lns.cc",
"diff": "@@ -133,6 +133,26 @@ Neighborhood NeighborhoodGeneratorHelper::RelaxGivenVariables(\nreturn FixGivenVariables(initial_solution, fixed_variables);\n}\n+double NeighborhoodGenerato... | C++ | Apache License 2.0 | google/or-tools | more improvements to diffn |
261,218 | 29.03.2019 08:26:54 | -3,600 | 41a5c4bd0d9b34086405c6920725378c64be1333 | Bump Protobuf 3.6.1 -> 3.7.1 | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "load(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"git_repository\", \"new_git_repository\")\n-#Import the gflags files.\nhttp_archive(... | C++ | Apache License 2.0 | google/or-tools | Bump Protobuf 3.6.1 -> 3.7.1 |
261,218 | 29.03.2019 08:56:11 | -3,600 | 5ea75066bc71fd7af8df378ea7faf0f05de98ddf | Fix bazel typo in WORKSPACE | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -16,13 +16,13 @@ git_repository(\ngit_repository(\nname = \"com_google_protobuf\",\n- commit = \"6973c3a\"\n+ commit = \"6973c3a\",\nremote = \"https://github.com/protocolbuffers/protobuf.git\",\n)\ngit_reposito... | C++ | Apache License 2.0 | google/or-tools | Fix bazel typo in WORKSPACE |
261,230 | 29.03.2019 13:08:32 | -3,600 | 9d225f122009c1b641a367e6187941e80126b7e8 | more optim on CP-SAT diffn | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -2100,11 +2100,12 @@ CpSolverResponse SolveCpModelWithLNS(\ntotal_num_calls++;\ngenerators[selected_generator]->AddSolveData(\nobjective_diff, local_response.determinist... | C++ | Apache License 2.0 | google/or-tools | more optim on CP-SAT diffn |
261,218 | 29.03.2019 14:06:08 | -3,600 | 197e7ed481a161a78be50a63e0dcafac798efa31 | Fix macOS python release (Fix | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_mac.sh",
"new_path": "tools/release/build_delivery_mac.sh",
"diff": "@@ -22,8 +22,13 @@ command -v swig | xargs echo \"swig: \" | tee -a build.log\n# python\ncommand -v python2.7\ncommand -v python2.7 | xargs echo \"python2.7: \" |... | C++ | Apache License 2.0 | google/or-tools | Fix macOS python release (Fix #1164) |
261,218 | 29.03.2019 11:55:59 | -3,600 | fa60d7445d1d379e2b681dcb22e28c8fdff8cebb | Update bazel build
note: protobuf is broken on v3.7.1 see | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "load(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nload(\"@bazel_tools//tools/build_defs/repo:git.bzl\", \"git_repository\", \"new_git_repository\")\n-http_archive(\n+git_repository(\nname = ... | C++ | Apache License 2.0 | google/or-tools | Update bazel build
note: protobuf is broken on v3.7.1 see
https://github.com/protocolbuffers/protobuf/issues/5472 |
261,230 | 29.03.2019 15:36:49 | -3,600 | 745e674548cfdc4a4c6d980663b28437a52f371f | minor optim CP-SAT diffn | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/diffn.cc",
"new_path": "ortools/sat/diffn.cc",
"diff": "namespace operations_research {\nnamespace sat {\n-void AddCumulativeRelaxation(SchedulingConstraintHelper* x,\n+void AddCumulativeRelaxation(const std::vector<IntervalVariable>& x_intervals,\... | C++ | Apache License 2.0 | google/or-tools | minor optim CP-SAT diffn |
261,218 | 29.03.2019 17:35:04 | -3,600 | c75dd6a0d6bd3122eb7636e3c0daa235e77d7784 | Update Test in java | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/TestConstraintSolver.java",
"new_path": "examples/tests/TestConstraintSolver.java",
"diff": "@@ -26,6 +26,7 @@ import com.google.ortools.constraintsolver.SearchMonitor;\nimport com.google.ortools.constraintsolver.SolutionCollector;\nimport com.g... | C++ | Apache License 2.0 | google/or-tools | Update Test in java |
261,230 | 30.03.2019 16:23:00 | -3,600 | 25b009f433701979b8eabc6caa27acd9bc632f91 | in flatzinc, cache intervals created from start + size | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -93,6 +93,7 @@ struct CpModelProtoWithMapping {\n// Mapping from flatzinc variables to CpModelProto variables.\nabsl::flat_hash_map<fz::IntegerVariable*,... | C++ | Apache License 2.0 | google/or-tools | in flatzinc, cache intervals created from start + size |
261,230 | 31.03.2019 23:03:02 | -7,200 | 8a01e072aafab1a95aefd765157d09955b6558f7 | fix CreateIntervals in fz/CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -70,7 +70,8 @@ struct CpModelProtoWithMapping {\n// Creates and returns the indices of the IntervalConstraint corresponding\n// to the flatzinc \"interva... | C++ | Apache License 2.0 | google/or-tools | fix CreateIntervals in fz/CP-SAT |
261,230 | 01.04.2019 00:20:10 | -7,200 | cb2ab248c736d76c3a5869cfa15409f1bac79c8a | [CP-SAT]presolve null demands in cumulative | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -2245,12 +2245,20 @@ bool PresolveCumulative(ConstraintProto* ct, PresolveContext* context) {\n// Filter absent intervals.\nint new_size = 0;\nbool changed = false;\... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT]presolve null demands in cumulative |
261,267 | 29.03.2019 23:12:28 | -7,200 | faf81c192464f07e5e9321482f7ee7bb013e870c | Lock cbc to specific commit and avoid flaky builds | [
{
"change_type": "MODIFY",
"old_path": "cmake/external/cbc.CMakeLists.txt",
"new_path": "cmake/external/cbc.CMakeLists.txt",
"diff": "@@ -9,7 +9,7 @@ project(cbc-download NONE)\ninclude(ExternalProject)\nExternalProject_Add(cbc_project\nGIT_REPOSITORY https://github.com/Mizux/coinor-cbc\n- GIT_TAG \... | C++ | Apache License 2.0 | google/or-tools | Lock cbc to specific commit and avoid flaky builds |
261,230 | 01.04.2019 11:36:53 | -7,200 | b49e6433c693a723160c3214488ec0ecb9df489f | use absl::Duration in routing search | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/constraint_solver.cc",
"new_path": "ortools/constraint_solver/constraint_solver.cc",
"diff": "@@ -1487,7 +1487,13 @@ std::string Solver::DebugString() const {\nint64 Solver::MemoryUsage() { return GetProcessMemoryUsage(); }\n-int64 So... | C++ | Apache License 2.0 | google/or-tools | use absl::Duration in routing search |
261,230 | 01.04.2019 11:37:22 | -7,200 | 66475048b04e5e6a9d5e46daf3761afa3380e509 | cache intervals in fz to CP-SAT translation, better version | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "#include <atomic>\n#include <cmath>\n#include <limits>\n+#include <tuple>\n#include \"absl/container/flat_hash_map.h\"\n#include \"absl/strings/str_cat.h\"\... | C++ | Apache License 2.0 | google/or-tools | cache intervals in fz to CP-SAT translation, better version |
261,230 | 01.04.2019 11:37:41 | -7,200 | 0b1cedf79e4b5b04949efc5e8b98b832dc8342b4 | improve glop precision on hard numerical problems | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/revised_simplex.cc",
"new_path": "ortools/glop/revised_simplex.cc",
"diff": "@@ -643,8 +643,6 @@ void RevisedSimplex::UseSingletonColumnInInitialBasis(RowToColMapping* basis) {\n// Use this variable in the initial basis.\n(*basis)[row] = col;\n- v... | C++ | Apache License 2.0 | google/or-tools | improve glop precision on hard numerical problems |
261,230 | 01.04.2019 11:38:02 | -7,200 | f8eb8bb5dbf77b0a3f96675ba3fb934e064a0e3e | polish cumulative presolve in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -2245,17 +2245,18 @@ bool PresolveCumulative(ConstraintProto* ct, PresolveContext* context) {\n// Filter absent intervals.\nint new_size = 0;\nbool changed = false;\... | C++ | Apache License 2.0 | google/or-tools | polish cumulative presolve in CP-SAT |
261,230 | 01.04.2019 13:27:21 | -7,200 | ee89733a600fd2d424df1392c85f557c2bc2a045 | change CP-SAT internals | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -166,8 +166,7 @@ objs/util/cached_log.$O: ortools/util/cached_log.cc \\\nobjs/util/file_util.$O: ortools/util/file_util.cc ortools/util/file_util.h \\\nortools/base/file.h ortools... | C++ | Apache License 2.0 | google/or-tools | change CP-SAT internals |
261,230 | 03.04.2019 18:10:56 | -7,200 | 11311ec8c7ebd9ba76ed82f5d50614c87a8e0b04 | fix bug with hinting + core in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/clause.cc",
"new_path": "ortools/sat/clause.cc",
"diff": "@@ -194,7 +194,7 @@ SatClause* LiteralWatchers::ReasonClause(int trail_index) const {\nreturn reasons_[trail_index];\n}\n-bool LiteralWatchers::AddClause(const std::vector<Literal>& literals... | C++ | Apache License 2.0 | google/or-tools | fix bug with hinting + core in CP-SAT |
261,230 | 04.04.2019 11:37:05 | -7,200 | 20f7e9354caf1a85f127b7c6c42e7b8ae7c8e579 | improve LP-Routing connection | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing_lp_scheduling.cc",
"new_path": "ortools/constraint_solver/routing_lp_scheduling.cc",
"diff": "// limitations under the License.\n#include \"ortools/constraint_solver/routing_lp_scheduling.h\"\n+#include <numeric>\n#include \"o... | C++ | Apache License 2.0 | google/or-tools | improve LP-Routing connection |
261,230 | 04.04.2019 11:37:27 | -7,200 | bfe2ac83f1ace54ddf4e0fd983c115649f81e762 | rewrite status management after search | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "#include <vector>\n#include \"absl/memory/memory.h\"\n+#include \"glog/vlog_is_on.h\"\n#if !defined(__PORTABLE_PLATFORM__)\n#include \"absl/synchronization/notification.h\"... | C++ | Apache License 2.0 | google/or-tools | rewrite status management after search |
261,230 | 04.04.2019 11:40:50 | -7,200 | ad25c613399c8b23ea80705c75dd6b6e56433ef5 | update strong integer type to enable constexpr support; enable constexpr in CP-SAT code | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/int_type.h",
"new_path": "ortools/base/int_type.h",
"diff": "//\n// where:\n// IntTypeName: is the desired (unique) name for the \"logical\" integer type.\n-// ValueType: is one of the integral types:\n-// (int, int64, short, long, char, unsigned ... | C++ | Apache License 2.0 | google/or-tools | update strong integer type to enable constexpr support; enable constexpr in CP-SAT code |
261,230 | 04.04.2019 23:07:06 | -7,200 | d1d1c01df4825481e825999c0676e99021455fd3 | add multi bin knapsack sat example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/cpp/multi_knapsack_sat.cc",
"diff": "+// Copyright 2010-2018 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... | C++ | Apache License 2.0 | google/or-tools | add multi bin knapsack sat example |
261,230 | 05.04.2019 16:43:23 | -7,200 | e685805fc887773cc0d60ab6b72e0d3cd39c6b70 | improve multi_knapsack_sat.cc | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/multi_knapsack_sat.cc",
"new_path": "examples/cpp/multi_knapsack_sat.cc",
"diff": "// limitations under the License.\n// Solve a scaled constrained two dimensional knapsack problem.\n-// Each bin must be filled with items with min and max weights,... | C++ | Apache License 2.0 | google/or-tools | improve multi_knapsack_sat.cc |
261,230 | 05.04.2019 17:00:40 | -7,200 | 8ce29056b58c136dffb2268152cc7ab924fb17a2 | dynamic tightening of the LP relaxation in the CP-SAT solver | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -1287,6 +1287,11 @@ bool PresolveLinear(ConstraintProto* ct, PresolveContext* context) {\n// list.\n//\n// This operation is similar to coefficient strengthening in ... | C++ | Apache License 2.0 | google/or-tools | dynamic tightening of the LP relaxation in the CP-SAT solver |
261,230 | 05.04.2019 17:01:00 | -7,200 | 752bcbfb933fa8a0fdd574367410be58d27da9b4 | default parameters for multi_knapsack_sat | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/multi_knapsack_sat.cc",
"new_path": "examples/cpp/multi_knapsack_sat.cc",
"diff": "@@ -101,7 +101,7 @@ void MultiKnapsackSat(int scaling, const std::string& params) {\nsat_parameters.set_log_search_progress(true);\nsat_parameters.MergeFromString(p... | C++ | Apache License 2.0 | google/or-tools | default parameters for multi_knapsack_sat |
261,230 | 06.04.2019 12:48:04 | -7,200 | 292d98620b1a0f4acdf34904820851fc6207399a | move swig bridge code on logging to base/logging.h | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -41,6 +41,7 @@ BASE_DEPS = \\\nBASE_LIB_OBJS = \\\n$(OBJ_DIR)/base/bitmap.$O \\\n$(OBJ_DIR)/base/file.$O \\\n+ $(OBJ_DIR)/base/logging.$O \\\n$(OBJ_DIR)/base/random.$O \\\n$(OBJ_D... | C++ | Apache License 2.0 | google/or-tools | move swig bridge code on logging to base/logging.h |
261,230 | 10.04.2019 10:34:21 | 25,200 | e0744e1fd0a7c4a0d55bbe3faef2d4fa28719d2c | minor glop optim | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/entering_variable.cc",
"new_path": "ortools/glop/entering_variable.cc",
"diff": "@@ -196,20 +196,22 @@ Status EnteringVariable::DualChooseEnteringColumn(\n}\n}\n- // Update harris_ratio.\n- harris_ratio = std::min(harris_ratio,\n- top.ratio + harr... | C++ | Apache License 2.0 | google/or-tools | minor glop optim |
261,230 | 10.04.2019 10:34:53 | 25,200 | 94c84679c8cf156a9747ec27b0fc716ace932e70 | optimize internal method used a lot during search | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_search.cc",
"new_path": "ortools/sat/integer_search.cc",
"diff": "namespace operations_research {\nnamespace sat {\n-LiteralIndex AtMinValue(IntegerVariable var, Model* model) {\n- IntegerEncoder* const integer_encoder = model->GetOrCreate<... | C++ | Apache License 2.0 | google/or-tools | optimize internal method used a lot during search |
261,230 | 10.04.2019 10:35:42 | 25,200 | 17f040336fb5201b33015302c4ca84b3a816c333 | add per constraint scaling in CP-SAT -> GLOP bridge | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_programming_constraint.cc",
"new_path": "ortools/sat/linear_programming_constraint.cc",
"diff": "@@ -615,6 +615,7 @@ void LinearProgrammingConstraint::AddMirCuts() {\nfor (RowIndex row(0); row < num_rows; ++row) {\nconst auto status = simple... | C++ | Apache License 2.0 | google/or-tools | add per constraint scaling in CP-SAT -> GLOP bridge |
261,230 | 10.04.2019 19:09:50 | 25,200 | 5bf83bbdbb27569227701326e42e5423fb3ebbdc | cleanup synchro code in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -2339,7 +2339,7 @@ CpSolverResponse SolveCpModelParallel(\nstd::unique_ptr<SharedBoundsManager> shared_bounds_manager;\nif (model->GetOrCreate<SatParameters>()->share_le... | C++ | Apache License 2.0 | google/or-tools | cleanup synchro code in CP-SAT |
261,218 | 29.03.2019 15:48:39 | -3,600 | d9d16afe2853b014c56d48b86fe18bd31445ff0e | Travis-CI: Add folding macro | [
{
"change_type": "MODIFY",
"old_path": ".travis/install.sh",
"new_path": ".travis/install.sh",
"diff": "@@ -30,36 +30,56 @@ function installdotnetsdk(){\n################\nif [ \"${BUILDER}\" == make ]; then\nif [ \"${TRAVIS_OS_NAME}\" == linux ]; then\n+ echo 'travis_fold:start:c++'\nsudo apt-get -... | C++ | Apache License 2.0 | google/or-tools | Travis-CI: Add folding macro |
261,218 | 11.04.2019 17:10:11 | -7,200 | 828999efce3afbe0a7f87db6418b05f00b3ed1b4 | CMake Version before language. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -10,7 +10,7 @@ endif()\ninclude(utils)\nset_version(VERSION)\n-project(ortools LANGUAGES CXX VERSION ${VERSION})\n+project(ortools VERSION ${VERSION} LANGUAGES CXX)\nmessage(STATUS \"version: ${PROJECT... | C++ | Apache License 2.0 | google/or-tools | CMake Version before language. |
261,230 | 12.04.2019 12:45:00 | 25,200 | 8b693e988250f77f32a6fc26fcde8fcadbeab196 | fix java no_overlap2D method | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -990,7 +990,7 @@ public class CpModel {\nnoOverlap2d.addXIntervals(x.getIndex());\n}\nfor (IntervalVar y : yIntervals) {\n- noOverlap2d.addXInt... | C++ | Apache License 2.0 | google/or-tools | fix java no_overlap2D method |
261,230 | 12.04.2019 12:45:20 | 25,200 | 0effa054677523332bf6fd15bed3d1e9efd4a393 | linearize division with fixed divisor | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -911,7 +911,16 @@ bool PresolveIntDiv(ConstraintProto* ct, PresolveContext* context) {\nconst int64 divisor = context->MinOf(ref_div);\nif (divisor == 1) {\n- contex... | C++ | Apache License 2.0 | google/or-tools | linearize division with fixed divisor |
261,218 | 15.04.2019 13:17:23 | -7,200 | d800e35049f5f4e485c0cc4f0af0ed94b5fe4283 | MacOS: Check java version when building release (Fix
prefer to honor JAVA_HOME if exist | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.port.mk",
"new_path": "makefiles/Makefile.port.mk",
"diff": "@@ -85,7 +85,7 @@ ifeq ($(SYSTEM),unix)\nifeq ($(wildcard /usr/libexec/java_home),)\nJAVA_HOME = \\\\\\# /usr/libexec/java_home could not be found on your system. Set this variable... | C++ | Apache License 2.0 | google/or-tools | MacOS: Check java version when building release (Fix #1191)
- prefer to honor JAVA_HOME if exist |
261,218 | 15.04.2019 15:56:37 | -7,200 | a55768739ef48c85cba1ffdba9f30135e75061d1 | Docker: Cleanup Makefile
loss auto-completion e.g. 'make docker_' + TAB
BUT make the resulting Makefile smaller... | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "# General commands\n.PHONY: help\n+BOLD=\\e[1m\n+RESET=\\e[0m\n+\nhelp:\n- @echo \"Tools to generate various deliveries for linux distros\"\n- @echo \"use NOCACHE=1 to \\\"docker build --no-... | C++ | Apache License 2.0 | google/or-tools | Docker: Cleanup Makefile
- loss auto-completion e.g. 'make docker_' + TAB
BUT make the resulting Makefile smaller... |
261,218 | 15.04.2019 16:01:44 | -7,200 | 40148bc1b77fda9bacd5d3bb6a9eb5214a2bc25a | Docker: use the official manylinux2010 container
bonus: work on modern linux
see: | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/manylinux1.Dockerfile",
"new_path": "tools/docker/manylinux1.Dockerfile",
"diff": "-FROM henriquegemignani/manylinux:x86_64\n+FROM quay.io/pypa/manylinux2010_x86_64:latest\nRUN yum -y update \\\n&& yum -y install \\\n@@ -53,7 +53,7 @@ RUN curl --l... | C++ | Apache License 2.0 | google/or-tools | Docker: use the official manylinux2010 container
- bonus: work on modern linux
see: https://www.python.org/dev/peps/pep-0571/#compatibility-with-kernels-that-lack-vsyscall |
261,230 | 15.04.2019 09:19:57 | 25,200 | 2634d284f4d29c3ed49b17723737a7947877125e | CP-SAT: align log | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -1977,8 +1977,12 @@ void SolveCpModelWithLNS(const CpModelProto& model_proto, int num_workers,\nLocalSolve(local_problem, wall_timer, &local_model);\nPostsolveResponse(m... | C++ | Apache License 2.0 | google/or-tools | CP-SAT: align log |
261,218 | 16.04.2019 10:08:32 | -7,200 | 3df83660c94645650776285216652048fc548ef8 | docker: update Makfile script | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "@@ -28,7 +28,7 @@ help:\n@echo -e \"\\t${BOLD}archive_<distro>${RESET}: Build OR-Tools archive for the specified ${BOLD}<distro>${RESET}.\"\n@echo -e \"\\t${BOLD}docker_<distro>_<lang>${RESE... | C++ | Apache License 2.0 | google/or-tools | docker: update Makfile script |
261,218 | 15.04.2019 11:08:14 | -7,200 | 083ca48c401a95a332800e18c5eac1633f5981bc | Appveyor: try to enable CMAKE parallel build | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -34,7 +34,6 @@ before_build:\n- git config --global user.email \"ci@appveyor.com\"\n- git config --global user.name \"CI\"\n- call \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\... | C++ | Apache License 2.0 | google/or-tools | Appveyor: try to enable CMAKE parallel build |
261,218 | 16.04.2019 14:20:25 | -7,200 | 461a2e609bf1491fe1da70c78309cb5df3e958a5 | Bump GLOG: v0.3.5 -> v0.4.0 (Fix | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -20,7 +20,7 @@ PROTOC_BINARY := $(shell $(WHICH) ${UNIX_PROTOC_BINARY})\n# Tags of dependencies to checkout.\nGFLAGS_TAG = 2.2.2\n-GLOG_TAG = 0.3.5\n+GLO... | C++ | Apache License 2.0 | google/or-tools | Bump GLOG: v0.3.5 -> v0.4.0 (Fix #1189) |
261,218 | 16.04.2019 16:05:32 | -7,200 | e8020711a5acb655b318a700d3aef51bbcead983 | remove unused path file | [
{
"change_type": "DELETE",
"old_path": "patches/zlib.patch",
"new_path": null,
"diff": "-diff --git a/CMakeLists.txt b/CMakeLists.txt\n-index 0fe939d..5f25cce 100644\n---- a/CMakeLists.txt\n-+++ b/CMakeLists.txt\n-@@ -1,24 +1,23 @@\n--cmake_minimum_required(VERSION 2.4.4)\n--set(CMAKE_ALLOW_LOOSE_LO... | C++ | Apache License 2.0 | google/or-tools | remove unused path file |
261,218 | 16.04.2019 17:09:48 | -7,200 | 4487cd89c2a37a0ff69f0f8ccd94ffe1a28e577b | CMake: use stable branch for coin-or | [
{
"change_type": "MODIFY",
"old_path": "cmake/dependencies/CMakeLists.txt",
"new_path": "cmake/dependencies/CMakeLists.txt",
"diff": "@@ -118,7 +118,7 @@ if(BUILD_CoinUtils)\nREPOSITORY\n\"https://github.com/Mizux/CoinUtils.git\"\nTAG\n- \"master\"\n+ \"stable/2.11\"\n)\nendif()\n@@ -132,7 +132,7 @@... | C++ | Apache License 2.0 | google/or-tools | CMake: use stable branch for coin-or |
261,230 | 16.04.2019 11:19:21 | 25,200 | 6e3d1a2000f683318dacef1ca0c50f9217c967e2 | polish table extraction in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/table.cc",
"new_path": "ortools/sat/table.cc",
"diff": "@@ -46,19 +46,6 @@ absl::flat_hash_map<IntegerValue, Literal> GetEncoding(IntegerVariable var,\nreturn encoding;\n}\n-void FilterValues(IntegerVariable var, Model* model,\n- absl::flat_hash_se... | C++ | Apache License 2.0 | google/or-tools | polish table extraction in CP-SAT |
261,230 | 16.04.2019 13:10:45 | 25,200 | e6d9c3659e00afb2215f6081a8f0b65cc283c73b | do not created negated table when too big | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/table.cc",
"new_path": "ortools/sat/table.cc",
"diff": "@@ -314,7 +314,8 @@ void AddTableConstraint(const std::vector<IntegerVariable>& vars,\n}\n}\n- if (prefixes_are_all_different && num_prefix_tuples < max_num_prefix_tuples) {\n+ if (prefixes_ar... | C++ | Apache License 2.0 | google/or-tools | do not created negated table when too big |
261,230 | 17.04.2019 22:05:09 | -7,200 | e6cce4540ab753a08d39f05a5be8573fd7a03d96 | fix sat table | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/table.cc",
"new_path": "ortools/sat/table.cc",
"diff": "@@ -139,26 +139,25 @@ void AddTableConstraint(const std::vector<IntegerVariable>& vars,\n// Remove invalid tuples along the way.\nstd::vector<absl::flat_hash_set<int64>> values_per_var(n);\nin... | C++ | Apache License 2.0 | google/or-tools | fix sat table |
261,230 | 17.04.2019 22:05:32 | -7,200 | 85bb98a616c34b53a0bbcc8b013b9146164eb155 | more work on integer search; add RINS heuristis | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -1105,6 +1105,7 @@ SAT_DEPS = \\\n$(SRC_DIR)/ortools/sat/probing.h \\\n$(SRC_DIR)/ortools/sat/pseudo_costs.h \\\n$(SRC_DIR)/ortools/sat/restart.h \\\n+ $(SRC_DIR)/ortools/sat/rins... | C++ | Apache License 2.0 | google/or-tools | more work on integer search; add RINS heuristis |
261,218 | 17.04.2019 17:39:57 | -7,200 | 794048365aea816c8281b9e454239196edaf273a | Make: Remove unused target | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -112,7 +112,6 @@ endif\n.PHONY: build_third_party\nbuild_third_party: \\\nMakefile.local \\\n- archives_directory \\\ninstall_deps_directories \\\nbuild_... | C++ | Apache License 2.0 | google/or-tools | Make: Remove unused target |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.