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,230 | 21.12.2018 17:53:00 | -3,600 | 9fbc6ca6a6da7126cc120643f67712a679e733df | polish bound sharing code, disable spurious restarts in sequential mode | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -1448,7 +1448,7 @@ CpSolverResponse SolveCpModelInternal(\n// TODO(user): Support bounds import in LNS and Core based search.\nif (model->GetOrCreate<SatParameters>()->s... | C++ | Apache License 2.0 | google/or-tools | polish bound sharing code, disable spurious restarts in sequential mode |
261,230 | 23.12.2018 18:16:16 | -3,600 | 8fad11c95655e8203c99bc477abfa1c0202c45b2 | new python CP-SAT example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/python/cover_rectangle_sat.py",
"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 | new python CP-SAT example |
261,230 | 23.12.2018 18:43:35 | -3,600 | b4e7c38dbf4f45152e7c881322b522f082e492dd | add symmetry breaking | [
{
"change_type": "MODIFY",
"old_path": "examples/python/cover_rectangle_sat.py",
"new_path": "examples/python/cover_rectangle_sat.py",
"diff": "@@ -58,9 +58,14 @@ def CoverRectangle(num_squares):\nmodel.Add(sum(areas) == size_x * size_y)\n+ # Symmetry breaking 1: size are ordered.\nfor i in range(nu... | C++ | Apache License 2.0 | google/or-tools | add symmetry breaking |
261,230 | 24.12.2018 14:25:12 | -3,600 | 9d7fa97812af3bc9498c75b9c2efa3b2e84d6094 | add more tie breaking | [
{
"change_type": "MODIFY",
"old_path": "examples/python/cover_rectangle_sat.py",
"new_path": "examples/python/cover_rectangle_sat.py",
"diff": "@@ -35,13 +35,13 @@ def cover_rectangle(num_squares):\n# Creates intervals for the NoOverlap2D and size variables.\nfor i in range(num_squares):\nsize = mod... | C++ | Apache License 2.0 | google/or-tools | add more tie breaking |
261,218 | 24.12.2018 16:28:13 | -3,600 | 148787c841607f188f6e4a9e805f0f3cbc9ebd09 | Move routing examples to ortools/constraint_solver/samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -480,6 +480,9 @@ rpy_%: $(CONTRIB_EX_DIR)/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\nrpy_%: ortools/algorithms/samples/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\n$(SET_PYTHONPATH) \"$(PYT... | C++ | Apache License 2.0 | google/or-tools | Move routing examples to ortools/constraint_solver/samples |
261,218 | 27.12.2018 10:47:37 | -3,600 | 58b8386e96c4a7c1fd20e5a5cfee07b6f826bea0 | Move tsp.cc & vrp.cc to cp/samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -364,10 +364,12 @@ test_cc_linear_solver_samples: \\\n.PHONY: test_cc_constraint_solver_samples # Build and Run all C++ CP Samples (located in ortools/constraint_solver/samples)\n... | C++ | Apache License 2.0 | google/or-tools | Move tsp.cc & vrp.cc to cp/samples |
261,218 | 27.12.2018 10:48:02 | -3,600 | 5a4ab80646420e6ac01325bcaf6f6c4a2221d693 | Move Tsp.java & Vrp.java to cp/samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -331,6 +331,13 @@ $(CLASS_DIR)/%: $(SRC_DIR)/ortools/algorithms/samples/%.java $(JAVA_OR_TOOLS_LIB\n-cp $(LIB_DIR)$Scom.google.ortools.jar$(CPSEP)$(LIB_DIR)$Sprotobuf.jar \\\nor... | C++ | Apache License 2.0 | google/or-tools | Move Tsp.java & Vrp.java to cp/samples |
261,218 | 27.12.2018 10:56:05 | -3,600 | 9ad342903c728749bf47c08566c77bffff9b1564 | mv tsp.cs & vrp.cs to cp/samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -482,6 +482,13 @@ rdotnet_%.cs: \\\n\"$(DOTNET_BIN)\" build ortools$Salgorithms$Ssamples$S$*.csproj\n\"$(DOTNET_BIN)\" run --no-build --project ortools$Salgorithms$Ssamples$... | C++ | Apache License 2.0 | google/or-tools | mv tsp.cs & vrp.cs to cp/samples |
261,230 | 28.12.2018 09:14:13 | -3,600 | 0eae67a2eecadc480eb068f45e8499ddd1a0cf5e | fix display of objective | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/ShiftSchedulingSat.cs",
"new_path": "examples/dotnet/ShiftSchedulingSat.cs",
"diff": "@@ -563,7 +563,7 @@ public class ObjectiveSolutionPrinter : CpSolverSolutionCallback\nvar objectiveBound = BestObjectiveBound();\nvar time = currentTime - _st... | C++ | Apache License 2.0 | google/or-tools | fix display of objective |
261,218 | 28.12.2018 15:57:11 | -3,600 | a83cf890953d001a558ebbf21e8c38597f506156 | Add simple_routing_program.py | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -499,6 +499,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 | Add simple_routing_program.py |
261,218 | 27.12.2018 14:18:19 | -3,600 | cb93b2c436b5c982213d512451f8c4f10747f310 | Add simple_routing_program.cc | [
{
"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_routing_program \\\nrcc_tsp \\\nr... | C++ | Apache License 2.0 | google/or-tools | Add simple_routing_program.cc |
261,218 | 27.12.2018 14:58:47 | -3,600 | 96051d559cb54654f825ead57274d07780022fe2 | Add SimpleRoutingProgram.java | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -373,6 +373,7 @@ test_java_algorithms_samples: \\\n.PHONY: test_java_constraint_solver_samples # Build and Run all Java CP Samples (located in ortools/constraint_solver/samples)... | C++ | Apache License 2.0 | google/or-tools | Add SimpleRoutingProgram.java |
261,218 | 04.04.2018 17:03:12 | -7,200 | a78b518ebac35cfcbaf2464a7f4b118fc9c2b5a7 | Add ortools/constraint_solver/doc
add vrp to svg program
usage: ./routing_svg.py -h
You can test using:
$ inkview <(python routing_svg.py) | [
{
"change_type": "DELETE",
"old_path": "ortools/constraint_solver/README",
"new_path": null,
"diff": "-<summary>Constraint Programming (CP) and Routing extensions.</summary>\n-\n-Constraint Programming\n-(http://en.wikipedia.org/wiki/Constraint_programming) is a technology\n-issued from IA and used ... | C++ | Apache License 2.0 | google/or-tools | Add ortools/constraint_solver/doc
- add vrp to svg program
usage: ./routing_svg.py -h
You can test using:
$ inkview <(python routing_svg.py) |
261,218 | 27.12.2018 16:47:59 | -3,600 | 54e38c692a94b52b8c7ee37bb50089f759905eae | .Net: Add support for delegate function as TransitCallback (Fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/SolverHelper.cs",
"new_path": "ortools/constraint_solver/csharp/SolverHelper.cs",
"diff": "@@ -15,6 +15,9 @@ namespace Google.OrTools.ConstraintSolver {\nusing System;\nusing System.Collections.Generic;\n+public delegate long T... | C++ | Apache License 2.0 | google/or-tools | .Net: Add support for delegate function as TransitCallback (Fix #997) |
261,218 | 28.12.2018 16:43:21 | -3,600 | 43ddf85eccb4a4be82281f47a583addb95762af7 | Add SimpleRoutingProgram.cs | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -519,6 +519,7 @@ test_dotnet_algorithms_samples: ;\n.PHONY: test_dotnet_constraint_solver_samples # Build and Run all .Net CP Samples (located in ortools/constraint_solver/s... | C++ | Apache License 2.0 | google/or-tools | Add SimpleRoutingProgram.cs |
261,218 | 28.12.2018 17:06:10 | -3,600 | c54f01f32752c72174f06e173dd906f5d0eacaab | Cleanup simple_routing_program.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/simple_routing_program.cc",
"new_path": "ortools/constraint_solver/samples/simple_routing_program.cc",
"diff": "@@ -65,7 +65,7 @@ namespace operations_research {\nint64 index = routing.Start(0);\nLOG(INFO) << \"Route for Vehic... | C++ | Apache License 2.0 | google/or-tools | Cleanup simple_routing_program.cc |
261,218 | 28.12.2018 17:09:08 | -3,600 | affbc1e0c0a5e4b0105a68aaeed2af4526e185d9 | Fix CMake test list | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/CMakeLists.txt",
"new_path": "examples/cpp/CMakeLists.txt",
"diff": "@@ -53,7 +53,6 @@ foreach(EXECUTABLE\nRUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})\nendforeach()\n-\nforeach(TEST\ncostas_array_sat\ncvrp_disjoint_tw\n@@ -83,8 +82,6 @@ foreach(T... | C++ | Apache License 2.0 | google/or-tools | Fix CMake test list |
261,230 | 28.12.2018 18:17:41 | -3,600 | cf73e298a26c37e43f3282b1391ef2ff54674701 | move ObjectiveSolutionPrinter to new SearchHelpers.cs CP-SAT C# code | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/ShiftSchedulingSat.cs",
"new_path": "examples/dotnet/ShiftSchedulingSat.cs",
"diff": "@@ -546,25 +546,3 @@ public class ShiftSchedulingSat\n}\n}\n-public class ObjectiveSolutionPrinter : CpSolverSolutionCallback\n-{\n- private DateTime _startTi... | C++ | Apache License 2.0 | google/or-tools | move ObjectiveSolutionPrinter to new SearchHelpers.cs CP-SAT C# code |
261,230 | 29.12.2018 10:41:10 | -3,600 | ad9f9ab5ac370f0fb0c3cf91f3b88c7217eef326 | working reallocate production model | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/python/reallocate_sat.py",
"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 copy o... | C++ | Apache License 2.0 | google/or-tools | working reallocate production model |
261,230 | 29.12.2018 23:56:54 | -3,600 | cca2619276b0364049738c836dc819c723707edd | jobshop code with maintenance on one machine. | [
{
"change_type": "MODIFY",
"old_path": "examples/python/jobshop_with_maintenance_sat.py",
"new_path": "examples/python/jobshop_with_maintenance_sat.py",
"diff": "@@ -62,6 +62,7 @@ def main():\nfor m in all_machines:\nmodel.AddNoOverlap(machine_to_intervals[m])\n+ # Add deadlines on tasks.\nfor j, jo... | C++ | Apache License 2.0 | google/or-tools | jobshop code with maintenance on one machine. |
261,230 | 30.12.2018 10:26:39 | -3,600 | 65eb9e09c328dde721a55e053644b949c3c836b4 | polish CP-SAT Python jobshop examples | [
{
"change_type": "MODIFY",
"old_path": "examples/python/jobshop_with_maintenance_sat.py",
"new_path": "examples/python/jobshop_with_maintenance_sat.py",
"diff": "@@ -24,15 +24,17 @@ def main():\n\"\"\"Solves a jobshop with maintenance on one machine.\"\"\"\nmodel = cp_model.CpModel()\n- jobs = [[(5,... | C++ | Apache License 2.0 | google/or-tools | polish CP-SAT Python jobshop examples |
261,230 | 30.12.2018 13:26:54 | -3,600 | 68b35112b763390370010125f2e1642422c58df3 | remove trailing spaces; add jobshop_with_maintenance_sat to python tests | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -716,6 +716,7 @@ test_python_python: \\\nrpy_integer_programming \\\nrpy_jobshop_ft06_distance_sat \\\nrpy_jobshop_ft06_sat \\\n+ rpy_jobshop_with_maintenance_sat \\\nrpy_kn... | C++ | Apache License 2.0 | google/or-tools | remove trailing spaces; add jobshop_with_maintenance_sat to python tests |
261,230 | 30.12.2018 20:04:35 | -3,600 | 20fbf5614c89739a409fddbce17a80c3b3834ff1 | for time in objective printer | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -1559,7 +1559,7 @@ class ObjectiveSolutionPrinter(CpSolverSolutionCallback):\nbest_bound = self.BestObjectiveBound()\nobj_lb = min(objective, best_bound)\nobj_ub = max(o... | C++ | Apache License 2.0 | google/or-tools | for time in objective printer |
261,230 | 30.12.2018 21:17:38 | -3,600 | e68c3be1afdbc259d1227aa9125a8b166f4ef0db | use DP to generate valid slabs | [
{
"change_type": "MODIFY",
"old_path": "examples/python/steel_mill_slab_sat.py",
"new_path": "examples/python/steel_mill_slab_sat.py",
"diff": "\"\"\"Solves the Stell Mill Slab problem with 4 different techniques.\"\"\"\nfrom __future__ import print_function\n+\nimport argparse\n+import collections\... | C++ | Apache License 2.0 | google/or-tools | use DP to generate valid slabs |
261,218 | 02.01.2019 13:38:56 | -3,600 | a1f330e074301a8fb0de74b3c13c2e012e60e298 | Fix compile with Python2.7
list.copy() does not exist in 2.7+ | [
{
"change_type": "MODIFY",
"old_path": "examples/python/steel_mill_slab_sat.py",
"new_path": "examples/python/steel_mill_slab_sat.py",
"diff": "@@ -458,7 +458,7 @@ def collect_valid_slabs_dp(capacities, colors, widths, loss_array):\nfor assignment in all_valid_assignments:\nif assignment.load + new_... | C++ | Apache License 2.0 | google/or-tools | Fix compile with Python2.7
- list.copy() does not exist in 2.7+ |
261,218 | 02.01.2019 13:53:27 | -3,600 | e032b129e3020ed7438148b75172bd918a8a762e | Protect space in path on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.win.mk",
"new_path": "makefiles/Makefile.win.mk",
"diff": "@@ -104,15 +104,15 @@ CCC=cl /EHsc /MD /nologo\nendif\nPYTHON_VERSION = $(WINDOWS_PYTHON_VERSION)\n-PYTHON_INC=/I$(WINDOWS_PATH_TO_PYTHON)\\\\include\n+PYTHON_INC=/I\"$(WINDOWS_PATH_... | C++ | Apache License 2.0 | google/or-tools | Protect space in path on windows |
261,230 | 02.01.2019 17:01:23 | -3,600 | 2a2d2d21bbdf3acf237da98c2abb469e4c3f8a43 | fix 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": "@@ -1709,8 +1709,8 @@ bool PresolveCumulative(ConstraintProto* ct, PresolveContext* context) {\nct->mutable_cumulative()->mutable_demands()->Truncate(new_size);\n}\n- i... | C++ | Apache License 2.0 | google/or-tools | fix cumulative presolve in CP-SAT |
261,218 | 03.01.2019 17:18:10 | -3,600 | 39b14ecf6be86ab4b7e148cceea94b8757f009ae | dotnet: avoid race cond on project.json when building examples
need to serialize example build located in the same directory... | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -573,155 +573,154 @@ test_dotnet_tests:\n$(MAKE) run SOURCE=examples/tests/testsat.cs\n$(MAKE) run SOURCE=examples/tests/test_sat_model.cs\n-.PHONY: test_dotnet_examples_csh... | C++ | Apache License 2.0 | google/or-tools | dotnet: avoid race cond on project.json when building examples
- need to serialize example build located in the same directory... |
261,218 | 04.01.2019 16:21:31 | -3,600 | 1b47822ff0d80cb2ea9481c28d021edaac960437 | Simplify tsp.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/tsp.cc",
"new_path": "ortools/constraint_solver/samples/tsp.cc",
"diff": "@@ -52,36 +52,25 @@ struct DataProblem {\nconst RoutingIndexManager::NodeIndex depot;\n};\n-/*! @brief Manhattan distance implemented as a callback.\n- ... | C++ | Apache License 2.0 | google/or-tools | Simplify tsp.cc |
261,230 | 05.01.2019 08:48:47 | -3,600 | 475b7932af97fcbb6b78fe17ef0df0958e970343 | remove obsolete spartsetable.h | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -30,7 +30,6 @@ BASE_DEPS = \\\n$(SRC_DIR)/ortools/base/recordio.h \\\n$(SRC_DIR)/ortools/base/small_map.h \\\n$(SRC_DIR)/ortools/base/small_ordered_set.h \\\n- $(SRC_DIR)/ortools/... | C++ | Apache License 2.0 | google/or-tools | remove obsolete spartsetable.h |
261,230 | 05.01.2019 11:55:18 | -3,600 | 1dd453aa8092050872ba47b39d938cbee2412436 | change namespace for MakeCleanup | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/cleanup.h",
"new_path": "ortools/base/cleanup.h",
"diff": "#include <utility>\n-namespace operations_research {\n-namespace util {\n+namespace gtl {\ntemplate <typename F>\nclass Cleanup {\n@@ -35,7 +34,6 @@ Cleanup<F> MakeCleanup(F&& f) {\nreturn... | C++ | Apache License 2.0 | google/or-tools | change namespace for MakeCleanup |
261,230 | 05.01.2019 14:30:53 | -3,600 | 02b625698825b52839cc8e2b2650f3ec86dda3c2 | add python paths | [
{
"change_type": "MODIFY",
"old_path": "or-tools.code-workspace",
"new_path": "or-tools.code-workspace",
"diff": "],\n\"C_Cpp.clang_format_style\": \"Google\",\n\"python.formatting.provider\": \"yapf\",\n- \"python.pythonPath\": \"python3\"\n+ \"python.pythonPath\": \"python3\",\n+ \"python.autoComp... | C++ | Apache License 2.0 | google/or-tools | add python paths |
261,218 | 07.01.2019 13:36:06 | -3,600 | 82deee74d0a1b1bda6e2fd26de8eb8ac23142bde | dotnet: update Tsp.cs | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/Tsp.cs",
"new_path": "ortools/constraint_solver/samples/Tsp.cs",
"diff": "@@ -38,21 +38,15 @@ public class TSP {\n{3, 7}, {6, 7},\n{0, 8}, {7, 8}\n};\n-\n- // Compute locations in meters using the block dimension defined as fo... | C++ | Apache License 2.0 | google/or-tools | dotnet: update Tsp.cs |
261,230 | 07.01.2019 14:27:21 | -3,600 | a765889b2427248ed4f269dddd150895a22d84de | reorganize objective sharing and best bound reporting in CP-SAT (sequential and parallel; fix gtl cleanup | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/cleanup.h",
"new_path": "ortools/base/cleanup.h",
"diff": "@@ -34,6 +34,6 @@ Cleanup<F> MakeCleanup(F&& f) {\nreturn Cleanup<F>(std::forward<F>(f));\n}\n-} // gtl\n+} // namespace gtl\n#endif // OR_TOOLS_BASE_CLEANUP_H_\n"
},
{
"change_typ... | C++ | Apache License 2.0 | google/or-tools | reorganize objective sharing and best bound reporting in CP-SAT (sequential and parallel; fix gtl cleanup |
261,230 | 07.01.2019 15:41:24 | -3,600 | 295ffdbfcfa89a18f06c716350932c9ae876c620 | small speedup in CP-SAT integer expressions | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_expr.cc",
"new_path": "ortools/sat/integer_expr.cc",
"diff": "@@ -137,9 +137,11 @@ bool IntegerSumLE::Propagate() {\nfor (int i = rev_num_fixed_vars_; i < num_vars; ++i) {\nconst IntegerVariable var = vars_[i];\nconst IntegerValue coeff = c... | C++ | Apache License 2.0 | google/or-tools | small speedup in CP-SAT integer expressions |
261,218 | 07.01.2019 17:22:59 | -3,600 | 64efcc13e3c1f406eebda7e979da7124a445654e | Add VrpCapacity.java | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -376,6 +376,7 @@ test_java_constraint_solver_samples: \\\nrjava_SimpleRoutingProgram \\\nrjava_Tsp \\\nrjava_Vrp \\\n+ rjava_VrpCapacity \\\n.PHONY: test_java_graph_samples # Bu... | C++ | Apache License 2.0 | google/or-tools | Add VrpCapacity.java |
261,230 | 07.01.2019 18:04:21 | -3,600 | c0b4ac617c634f6a9dc36477cca2fb8e8686a74c | speed IntegerSumLe in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_expr.cc",
"new_path": "ortools/sat/integer_expr.cc",
"diff": "@@ -37,6 +37,7 @@ IntegerSumLE::IntegerSumLE(const std::vector<Literal>& enforcement_literals,\ncoeffs_(coeffs) {\n// TODO(user): deal with this corner case.\nCHECK(!vars_.empty(... | C++ | Apache License 2.0 | google/or-tools | speed IntegerSumLe in CP-SAT |
261,230 | 08.01.2019 15:58:58 | -3,600 | 0a35eadede4d986394fd785a3f1eaa59083505dd | fix display of solution in satisfiability models; fix rounding bugs in lp_utils | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -2321,14 +2321,20 @@ CpSolverResponse SolveCpModel(const CpModelProto& model_proto, Model* model) {\nstd::function<void(const CpSolverResponse&)> observer_function =\n[&... | C++ | Apache License 2.0 | google/or-tools | fix display of solution in satisfiability models; fix rounding bugs in lp_utils |
261,230 | 09.01.2019 11:25:37 | -3,600 | 5827eadbcc4484a8e49e36d46c196d5b40835b6c | speedup sat internals; fix bug with model with one trivially false XOr constraint | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -1797,7 +1797,9 @@ objs/sat/lp_utils.$O: ortools/sat/lp_utils.cc ortools/sat/lp_utils.h \\\nortools/lp_data/lp_print_utils.h ortools/lp_data/sparse_row.h \\\nortools/lp_data/matri... | C++ | Apache License 2.0 | google/or-tools | speedup sat internals; fix bug with model with one trivially false XOr constraint |
261,230 | 09.01.2019 13:38:00 | -3,600 | 0815da7de52be530aec9a22301518d2398457dd5 | fix log in parallel when sharing objective between workers | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_search.h",
"new_path": "ortools/sat/integer_search.h",
"diff": "@@ -126,6 +126,9 @@ struct ObjectiveSynchronizationHelper {\nint64 UnscaledObjective(double value) const {\nreturn static_cast<int64>(std::round(value / scaling_factor - offset... | C++ | Apache License 2.0 | google/or-tools | fix log in parallel when sharing objective between workers |
261,230 | 09.01.2019 14:55:16 | -3,600 | 0024336ce9ca9d5472c10f88ecd9bf74f801b815 | [CP-SAT] fix hinting and repeated solutions in optimization models | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -1503,9 +1503,22 @@ CpSolverResponse SolveCpModelInternal(\n} else {\nreturn response;\n}\n+ } else {\n+ IntegerTrail* integer_trail = model->GetOrCreate<IntegerTrail>()... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix hinting and repeated solutions in optimization models |
261,218 | 09.01.2019 17:26:31 | -3,600 | 5e441c3f2baa413029997e28b81b200a5b8fd3ad | Update tsp.cc & vrp.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/tsp.cc",
"new_path": "ortools/constraint_solver/samples/tsp.cc",
"diff": "#include \"ortools/constraint_solver/routing_parameters.h\"\nnamespace operations_research {\n-struct DataProblem {\n- DataProblem()\n+struct DataModel ... | C++ | Apache License 2.0 | google/or-tools | Update tsp.cc & vrp.cc |
261,218 | 09.01.2019 17:27:43 | -3,600 | f018cb9e2a0cc4f214e4a5ef3ebcd8a6edbff0eb | Fixup VrpDropNodes.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpDropNodes.java",
"new_path": "ortools/constraint_solver/samples/VrpDropNodes.java",
"diff": "@@ -122,7 +122,6 @@ public class VrpDropNodes {\n}\nlogger.info(droppedNodes);\n// Display routes\n- // Inspect solution.\nlong to... | C++ | Apache License 2.0 | google/or-tools | Fixup VrpDropNodes.java |
261,218 | 10.01.2019 09:58:12 | -3,600 | 41376aadff255cd4ecea8a5b6d450c5d7df2a75b | Fix clean_dotnet for cp samples
missing recipe for ortools/constraint_solver/samples/[bin,obj] | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -775,6 +775,8 @@ clean_dotnet:\n-$(DELREC) $(TEST_PATH)$Sobj\n-$(DELREC) ortools$Salgorithms$Ssamples$Sbin\n-$(DELREC) ortools$Salgorithms$Ssamples$Sobj\n+ -$(DELREC) ortool... | C++ | Apache License 2.0 | google/or-tools | Fix clean_dotnet for cp samples
- missing recipe for ortools/constraint_solver/samples/[bin,obj] |
261,218 | 10.01.2019 10:04:53 | -3,600 | 804b6da32d59be9c4f70fda0609196b05abb81bb | Fix compilation in samples/tsp.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/tsp.cc",
"new_path": "ortools/constraint_solver/samples/tsp.cc",
"diff": "@@ -122,7 +122,7 @@ void Solve() {\nFirstSolutionStrategy::PATH_CHEAPEST_ARC);\nconst Assignment* solution = routing.SolveWithParameters(searchParameter... | C++ | Apache License 2.0 | google/or-tools | Fix compilation in samples/tsp.cc |
261,218 | 10.01.2019 10:53:01 | -3,600 | 46ebed52a2dd848feff56eaac487622151c8bc0e | Update java routing samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.java",
"new_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.java",
"diff": "-// Copyright 2018 Google LLC\n+// Copyright 2010-2018 Google LLC\n// Licensed under the Apache License, Version 2... | C++ | Apache License 2.0 | google/or-tools | Update java routing samples |
261,218 | 10.01.2019 10:53:46 | -3,600 | dbaad9c0de4766324572f16b075bcb10e4f36353 | Update .Net routing samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.cs",
"new_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.cs",
"diff": "-// Copyright 2018 Google\n+// Copyright 2010-2018 Google LLC\n// Licensed under the Apache License, Version 2.0 (the ... | C++ | Apache License 2.0 | google/or-tools | Update .Net routing samples |
261,230 | 10.01.2019 15:56:33 | -3,600 | 25c4cd0630cd66e88d5bfe272c873deace814247 | tweak CP-SAT // Search; improve floating point scaling in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "#include \"ortools/base/map_util.h\"\n#include \"ortools/base/stl_util.h\"\n#include \"ortools/port/proto_utils.h\"\n+#include \"ortools/sat/cp_model.pb.h\"\n#include \... | C++ | Apache License 2.0 | google/or-tools | tweak CP-SAT // Search; improve floating point scaling in CP-SAT |
261,218 | 10.01.2019 16:00:57 | -3,600 | 325639c15f60206a8c9b46bebb57a6b34048e766 | Cleanup VrpGlobalSpan.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpGlobalSpan.java",
"new_path": "ortools/constraint_solver/samples/VrpGlobalSpan.java",
"diff": "@@ -54,15 +54,11 @@ public class VrpGlobalSpan {\n{776, 868, 1552, 560, 674, 1050, 1278, 742, 1084, 810, 1152, 274, 388, 422, 76... | C++ | Apache License 2.0 | google/or-tools | Cleanup VrpGlobalSpan.java |
261,218 | 10.01.2019 16:01:24 | -3,600 | 4e45ef0c33cca990fd0a1415dff41931a6b5bd2d | Add vrp_pickup_delivery.cc | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -375,6 +375,7 @@ test_cc_constraint_solver_samples: \\\nrcc_vrp_capacity \\\nrcc_vrp_drop_nodes \\\nrcc_vrp_global_span \\\n+ rcc_vrp_pickup_delivery \\\nrcc_vrp_starts_ends \\\nr... | C++ | Apache License 2.0 | google/or-tools | Add vrp_pickup_delivery.cc |
261,218 | 10.01.2019 16:01:48 | -3,600 | 5debcfd96fdd93c910e20b1527c5632522392abd | Add VrpPickupDelivery.cs | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -527,6 +527,7 @@ test_dotnet_constraint_solver_samples:\n$(MAKE) run SOURCE=ortools/constraint_solver/samples/VrpCapacity.cs\n$(MAKE) run SOURCE=ortools/constraint_solver/sa... | C++ | Apache License 2.0 | google/or-tools | Add VrpPickupDelivery.cs |
261,218 | 10.01.2019 16:02:00 | -3,600 | c3e0a7b3de64adc1142314040e5d8d0c97f50653 | Add vrp_pickup_delivery.py | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -506,6 +506,7 @@ test_python_constraint_solver_samples: \\\nrpy_vrp_capacity \\\nrpy_vrp_drop_nodes \\\nrpy_vrp_global_span \\\n+ rpy_vrp_pickup_delivery \\\nrpy_vrp_starts_... | C++ | Apache License 2.0 | google/or-tools | Add vrp_pickup_delivery.py |
261,218 | 10.01.2019 16:03:15 | -3,600 | c3a2c123b5afb594fa3f3a5be48d159f1ea959b8 | Add VrpPickupDelivery.java | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -380,6 +380,7 @@ test_java_constraint_solver_samples: \\\nrjava_VrpCapacity \\\nrjava_VrpDropNodes \\\nrjava_VrpGlobalSpan \\\n+ rjava_VrpPickupDelivery \\\nrjava_VrpStartsEnds ... | C++ | Apache License 2.0 | google/or-tools | Add VrpPickupDelivery.java |
261,230 | 10.01.2019 16:13:46 | -3,600 | 3e4c23c39e0e1ce28cafd9378555a4c7e561a617 | enable knapsack cuts code | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/stl_util.h",
"new_path": "ortools/base/stl_util.h",
"diff": "#include \"absl/strings/internal/resize_uninitialized.h\"\n#include \"ortools/base/integral_types.h\"\n#include \"ortools/base/macros.h\"\n-//#include \"ortools/base/port.h\"\n-//#includ... | C++ | Apache License 2.0 | google/or-tools | enable knapsack cuts code |
261,218 | 10.01.2019 17:33:22 | -3,600 | 02b7b65c67a2d059034f54ebe8d609e2281cb906 | Update cp doc tools | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/doc/generate_svg.sh",
"new_path": "ortools/constraint_solver/doc/generate_svg.sh",
"diff": "#!/usr/bin/env bash\nset -e\n-./vrp_svg.py -h\n+./routing_svg.py -h\nset -x\n-# Simplest Problem\n-./vrp_svg.py > vrp.svg\n+# TSP\n+./routing_... | C++ | Apache License 2.0 | google/or-tools | Update cp doc tools |
261,230 | 11.01.2019 15:31:01 | -3,600 | c4cf58701f0035ae32f4a02ac07752ac42cffad6 | continue working on cuts; fix bug in CP-SAT Presolve (IntProd) | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -688,20 +688,32 @@ bool PresolveIntProd(ConstraintProto* ct, PresolveContext* context) {\nif (ct->int_prod().vars_size() == 2) {\nint a = ct->int_prod().vars(0);\nin... | C++ | Apache License 2.0 | google/or-tools | continue working on cuts; fix bug in CP-SAT Presolve (IntProd) |
261,218 | 14.01.2019 09:56:30 | -3,600 | 0465276e142d6703d69b2fa2aa463de986dd44d2 | Fix wall time dimension in sat examples
WallTime is in second not millisecond... | [
{
"change_type": "MODIFY",
"old_path": "examples/python/assignment_sat.py",
"new_path": "examples/python/assignment_sat.py",
"diff": "@@ -75,7 +75,7 @@ def main():\nprint('Statistics')\nprint(' - conflicts : %i' % solver.NumConflicts())\nprint(' - branches : %i' % solver.NumBranches())\n- print(' - ... | C++ | Apache License 2.0 | google/or-tools | Fix wall time dimension in sat examples
WallTime is in second not millisecond... |
261,230 | 14.01.2019 14:38:00 | -3,600 | 84a5bc7c3b1a88c6f7896959a5b80e1c0148fe64 | add crashing example from issue | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/tests/TestSat.java",
"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 copy of ... | C++ | Apache License 2.0 | google/or-tools | add crashing example from issue #1014 |
261,218 | 14.01.2019 15:51:43 | -3,600 | 61c675ed63179b736098483ac28796f8bda1dbf7 | Update constraint_solver/doc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/constraint_solver/doc/pdp.md",
"diff": "+# Pickup & Delivery routing Problem recipes for the Vehicle Routing solver.\n+\n+## Introduction\n+\n+The Vehicle Routing solver can be used to solve various PDP.\n+\n+## Pickup & Delivery Problem... | C++ | Apache License 2.0 | google/or-tools | Update constraint_solver/doc |
261,218 | 14.01.2019 15:59:28 | -3,600 | 91c1173519c7d13b2667b917218e0325e69305eb | update cp/README.md | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/README.md",
"new_path": "ortools/constraint_solver/README.md",
"diff": "@@ -38,6 +38,10 @@ The point of entry for routing problems.\n* [routing_parameters.proto](routing_parameters.proto):\nThe Vehicle Routing solver parameters.\n+###... | C++ | Apache License 2.0 | google/or-tools | update cp/README.md |
261,218 | 16.01.2019 13:36:50 | -3,600 | 404e9aed3daed953949678bbd4572debd35cb9d3 | Fix naming for Java Swig PathOperator protected methods | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/constraint_solver.i",
"new_path": "ortools/constraint_solver/java/constraint_solver.i",
"diff": "@@ -1031,6 +1031,12 @@ class SolverToVoid {\n%ignore operations_research::PathOperator::Path;\n%ignore operations_research::PathOper... | C++ | Apache License 2.0 | google/or-tools | Fix naming for Java Swig PathOperator protected methods |
261,218 | 16.01.2019 13:46:32 | -3,600 | fbc6f4c4dad252b627219016b3900c4bd5639721 | Java/.NET: prefix AssignmentContainer template typedef by Assignment | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/constraint_solver.i",
"new_path": "ortools/constraint_solver/csharp/constraint_solver.i",
"diff": "@@ -886,7 +886,7 @@ namespace operations_research {\n%template(RevInteger) Rev<int64>;\n%template(RevBool) Rev<bool>;\ntypedef A... | C++ | Apache License 2.0 | google/or-tools | Java/.NET: prefix AssignmentContainer template typedef by Assignment |
261,218 | 16.01.2019 14:16:35 | -3,600 | cce5710487dbcbb6d98d6bcc45aeeb97508b592c | Fixup PickupDelivery | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/VrpPickupDelivery.cs",
"new_path": "ortools/constraint_solver/samples/VrpPickupDelivery.cs",
"diff": "@@ -118,18 +118,19 @@ public class VrpPickupDelivery {\n// Define cost of each arc.\n// [START arc_cost]\n- int transitCostI... | C++ | Apache License 2.0 | google/or-tools | Fixup PickupDelivery |
261,218 | 16.01.2019 14:16:52 | -3,600 | b55e7281cf1f7e6455ac4ebf73fa7b64b110e7b8 | Fixup vrp_global_span.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/vrp_global_span.py",
"new_path": "ortools/constraint_solver/samples/vrp_global_span.py",
"diff": "from __future__ import print_function\nfrom ortools.constraint_solver import routing_enums_pb2\nfrom ortools.constraint_solver i... | C++ | Apache License 2.0 | google/or-tools | Fixup vrp_global_span.py |
261,218 | 16.01.2019 14:27:15 | -3,600 | 2b2762db4ad5c911879bac860c29b099e5c1171f | Add Makefile `check` target | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -5,6 +5,9 @@ help: help_all\n.PHONY: all\nall: build_all\n+.PHONY: check\n+check: check_all\n+\n.PHONY: test\ntest: test_all\n@@ -91,6 +94,7 @@ help_usage:\n@echo Use one of the following targets:\n@echo help, hel... | C++ | Apache License 2.0 | google/or-tools | Add Makefile `check` target |
261,218 | 16.01.2019 15:36:36 | -3,600 | 8abb0548f47c33e20772029be43d988c20e126dd | Fix test_java | [
{
"change_type": "MODIFY",
"old_path": "examples/java/LsApi.java",
"new_path": "examples/java/LsApi.java",
"diff": "// limitations under the License.\nimport com.google.ortools.constraintsolver.Assignment;\n-import com.google.ortools.constraintsolver.IntContainer;\n+import com.google.ortools.constra... | C++ | Apache License 2.0 | google/or-tools | Fix test_java |
261,218 | 17.01.2019 13:13:32 | -3,600 | 263ab653b462285df1cf02ea951bf7e7be6e0213 | csharp: rename RoutingModel::status() to GetStatus().
to avoid conflict with enum RoutingModel::Status since methods
need to be in UpperCamelCase in .Net | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/routing.i",
"new_path": "ortools/constraint_solver/csharp/routing.i",
"diff": "@@ -36,8 +36,6 @@ class RoutingSearchParameters;\n%module(directors=\"1\") operations_research;\n-%rename (RoutingModelStatus) operations_research::... | C++ | Apache License 2.0 | google/or-tools | csharp: rename RoutingModel::status() to GetStatus().
- to avoid conflict with enum RoutingModel::Status since methods
need to be in UpperCamelCase in .Net |
261,218 | 17.01.2019 13:14:55 | -3,600 | 532645d774479e10629bf51ecf574159bab1a54e | csharp: fix RoutingNodeIndex typenames | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/csharp/vector.i",
"new_path": "ortools/util/csharp/vector.i",
"diff": "typedef int64_t int64;\ntypedef uint64_t uint64;\n+// Typemaps to represent const std::vector<TYPE>& arguments as arrays of\n+// CSHARPTYPE.\n%define VECTOR_AS_CSHARP_ARRAY(TYP... | C++ | Apache License 2.0 | google/or-tools | csharp: fix RoutingNodeIndex typenames |
261,218 | 17.01.2019 15:31:45 | -3,600 | 76a3d6949821d3ad45559151cc897edb58d2f089 | Remove duplicate in Makefile.cpp.mk | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -378,7 +378,6 @@ test_cc_constraint_solver_samples: \\\nrcc_vrp_pickup_delivery \\\nrcc_vrp_pickup_delivery_fifo \\\nrcc_vrp_pickup_delivery_lifo \\\n- rcc_vrp_pickup_delivery \\\... | C++ | Apache License 2.0 | google/or-tools | Remove duplicate in Makefile.cpp.mk |
261,218 | 17.01.2019 17:46:56 | -3,600 | bac6b7efb67e1f23effd1a39a68f34cecc6435ae | Fix potention GC issue in SimpleRouting.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.java",
"new_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.java",
"diff": "@@ -53,7 +53,7 @@ public class SimpleRoutingProgram {\n// Define cost of each arc.\n// [START arc_cost]\n- int tra... | C++ | Apache License 2.0 | google/or-tools | Fix potention GC issue in SimpleRouting.java |
261,230 | 21.01.2019 14:02:09 | -3,600 | dd1ca06ed76856d4813ad8ec9be152465449e6f9 | continue working on linear cut selections; simplify canonical variables code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -306,9 +306,6 @@ struct PresolveContext {\nvar_to_constraints.resize(domains.size());\n}\n- // Returns the number of mapped domains.\n- int NumDomainsStored() const ... | C++ | Apache License 2.0 | google/or-tools | continue working on linear cut selections; simplify canonical variables code |
261,230 | 23.01.2019 01:14:18 | -3,600 | 394b2ee6fa35263a53d81a114b94c94a60288713 | fix bug in CP-SAT presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -924,20 +924,15 @@ bool PresolveLinear(ConstraintProto* ct, PresolveContext* context) {\nint64 gcd = 1;\nbool first_coeff = true;\nfor (const auto entry : var_to_coe... | C++ | Apache License 2.0 | google/or-tools | fix bug in CP-SAT presolve |
261,230 | 23.01.2019 01:14:36 | -3,600 | cfbb84c60cfe35abde14b791ee73ffc97ad0de1e | compress tables in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/table.cc",
"new_path": "ortools/sat/table.cc",
"diff": "@@ -32,22 +32,6 @@ namespace sat {\nnamespace {\n-// Transposes the given \"matrix\".\n-std::vector<std::vector<int64>> Transpose(\n- const std::vector<std::vector<int64>>& tuples) {\n- CHECK(... | C++ | Apache License 2.0 | google/or-tools | compress tables in CP-SAT |
261,230 | 23.01.2019 01:14:51 | -3,600 | 2a4b21f1836e14faffca7b618fc43c7eafd919a7 | more work on cut manager | [
{
"change_type": "MODIFY",
"old_path": "or-tools.code-workspace",
"new_path": "or-tools.code-workspace",
"diff": "\"settings\": {\n\"files.associations\": {\n\"scoped_allocator\": \"cpp\",\n- \"*.inc\": \"cpp\"\n+ \"*.inc\": \"cpp\",\n+ \"vector\": \"cpp\",\n+ \"utility\": \"cpp\"\n},\n\"C_Cpp.clang... | C++ | Apache License 2.0 | google/or-tools | more work on cut manager |
261,230 | 23.01.2019 13:21:48 | 28,800 | f0e7b3543341bbf647ae01009abe9d73845ffd9c | rework table compression; merge two negated table code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -1006,9 +1006,9 @@ void LoadTableConstraint(const ConstraintProto& ct, Model* m) {\n}\n}\nif (ct.table().negated()) {\n- m->Add(NegatedTableConstraintWithoutFullEncoding... | C++ | Apache License 2.0 | google/or-tools | rework table compression; merge two negated table code |
261,230 | 23.01.2019 13:22:41 | 28,800 | a61a6b9d567d94b2ed6514656cac26298762b002 | work on cut managemenet, enable mir1 cuts by default | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_constraint.cc",
"new_path": "ortools/sat/linear_constraint.cc",
"diff": "@@ -27,6 +27,45 @@ double ComputeActivity(const LinearConstraint& constraint,\nreturn activity;\n}\n+double ComputeL2Norm(const LinearConstraint& constraint) {\n+ doubl... | C++ | Apache License 2.0 | google/or-tools | work on cut managemenet, enable mir1 cuts by default |
261,230 | 23.01.2019 13:23:24 | 28,800 | 24f67b6a110b388b9b5652d6e2bf3ab0269fcf9c | consolidate small bool_or, at_most_one into bool_and | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -2047,6 +2047,65 @@ bool PresolveCircuit(ConstraintProto* ct, PresolveContext* context) {\nreturn false;\n}\n+// Add the constraint (lhs => rhs) to the given proto. ... | C++ | Apache License 2.0 | google/or-tools | consolidate small bool_or, at_most_one into bool_and |
261,230 | 24.01.2019 05:11:22 | 28,800 | 29762840691f9e5a85955893de0ad68d1b5b57d8 | simple heuristic to fully encode variables in negated table | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/table.cc",
"new_path": "ortools/sat/table.cc",
"diff": "@@ -298,7 +298,8 @@ void AddNegatedTableConstraint(const std::vector<IntegerVariable>& vars,\nstd::vector<absl::flat_hash_map<int64, Literal>> mapping(n);\nfor (int i = 0; i < n; ++i) {\n- if ... | C++ | Apache License 2.0 | google/or-tools | simple heuristic to fully encode variables in negated table |
261,230 | 24.01.2019 05:11:38 | 28,800 | 7551087037cd068d4aadde613c6c80f66fe276cb | fix crash in hidato_sat during probing | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -2164,12 +2164,16 @@ void Probe(TimeLimit* global_time_limit, PresolveContext* context) {\nmapping->CreateVariables(model_proto, false, &model);\nmapping->DetectOpti... | C++ | Apache License 2.0 | google/or-tools | fix crash in hidato_sat during probing |
261,230 | 24.01.2019 11:17:32 | 28,800 | fb20b6309b509630249baacfe6b9b134920f4034 | add Gomory cuts to max_lp in parallel | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_search.cc",
"new_path": "ortools/sat/cp_model_search.cc",
"diff": "@@ -318,6 +318,7 @@ SatParameters DiversifySearchParameters(const SatParameters& params,\nif (--index == 0) { // Reinforce LP relaxation.\nnew_params.set_search_branching(S... | C++ | Apache License 2.0 | google/or-tools | add Gomory cuts to max_lp in parallel |
261,230 | 24.01.2019 16:47:36 | 28,800 | ead24ff41f898d72f0061cc47077f5592e08f0fb | improve bool_xor presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -933,11 +933,49 @@ void LoadElementConstraintHalfAC(const ConstraintProto& ct, Model* m) {\n}\n}\n+void LoadBooleanElement(const ConstraintProto& ct, Model* m) {\n+ auto... | C++ | Apache License 2.0 | google/or-tools | improve bool_xor presolve |
261,230 | 25.01.2019 07:30:31 | 28,800 | c82c1942e4de43baa372f27f84db94e58cef2b42 | improve boolean element loading; presolve element with scaled index | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -944,12 +944,21 @@ void LoadBooleanElement(const ConstraintProto& ct, Model* m) {\nreturn;\n}\n+ std::vector<Literal> all_true;\n+ std::vector<Literal> all_false;\nfor (... | C++ | Apache License 2.0 | google/or-tools | improve boolean element loading; presolve element with scaled index |
261,230 | 25.01.2019 19:23:38 | 28,800 | f063fe5f934eb5dc9fcfcf95714a2a51d3b0a765 | more presolve on element | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -181,6 +181,16 @@ struct PresolveContext {\nreturn true;\n}\n+ int NewConstant(int64 cst) {\n+ if (!gtl::ContainsKey(constant_to_ref, cst)) {\n+ constant_to_ref[cst]... | C++ | Apache License 2.0 | google/or-tools | more presolve on element |
261,230 | 29.01.2019 09:15:39 | 28,800 | ac81f23b5110c1a5132ecce0807132145cdc0152 | improve element presolve; add pseudo-cost search | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -1554,6 +1554,8 @@ bool PresolveElement(ConstraintProto* ct, PresolveContext* context) {\nreduced_index_domain = true;\n}\n+ // Filter possible index values. Accumul... | C++ | Apache License 2.0 | google/or-tools | improve element presolve; add pseudo-cost search |
261,218 | 25.01.2019 13:07:16 | -3,600 | f213fede2f60bdb23771e7fad33e874c8da2b11f | Add IntVarLocalSearchFilter::SetObjectiveWatcher()
Will be needed for C# wrappers... | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/constraint_solveri.h",
"new_path": "ortools/constraint_solver/constraint_solveri.h",
"diff": "@@ -1557,6 +1557,10 @@ class IntVarLocalSearchFilter : public LocalSearchFilter {\n}\nbool IsVarSynced(int index) const { return var_synced_... | C++ | Apache License 2.0 | google/or-tools | Add IntVarLocalSearchFilter::SetObjectiveWatcher()
Will be needed for C# wrappers... |
261,218 | 28.01.2019 14:25:29 | -3,600 | 956701e1eaf345d023f937e72b1c9bf4000ea0ba | CP: Add Solver::DisplayCallback | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/constraint_solver.h",
"new_path": "ortools/constraint_solver/constraint_solver.h",
"diff": "@@ -713,6 +713,8 @@ class Solver {\n};\n// Callback typedefs\n+ typedef std::function<std::string()> DisplayCallback;\n+\ntypedef std::functio... | C++ | Apache License 2.0 | google/or-tools | CP: Add Solver::DisplayCallback |
261,218 | 28.01.2019 14:27:28 | -3,600 | fddd1b9a8dc1131b89f77e321a5e5342e991e035 | dotnet: Add delegate support for display_callback
Add Xunit Tests to check DisplayCallback delegates are working. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/tests/ConstraintSolverTests.cs",
"diff": "+using System;\n+using Xunit;\n+using Google.OrTools.ConstraintSolver;\n+\n+namespace Google.OrTools.Tests {\n+ public\n+ class ConstraintSolverTest {\n+ [Fact]\n+ public void Constructors() {\n... | C++ | Apache License 2.0 | google/or-tools | dotnet: Add delegate support for display_callback
- Add Xunit Tests to check DisplayCallback delegates are working. |
261,218 | 28.01.2019 14:42:17 | -3,600 | 1044ccbca4387e7586ffa06f05e89ebd26949a6b | dotnet: Add RoutingSolver test. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/tests/RoutingSolverTests.cs",
"diff": "+using System;\n+using Xunit;\n+using Google.OrTools.ConstraintSolver;\n+\n+namespace Google.OrTools.Tests {\n+ public class RoutingSolverTest {\n+ [Theory]\n+ [InlineData(false)]\n+ [InlineData(tr... | C++ | Apache License 2.0 | google/or-tools | dotnet: Add RoutingSolver test. |
261,218 | 30.01.2019 15:05:31 | -3,600 | 8c537e5480395023f1a36e1158fc5874cbb016c7 | .Net: remove internal `rdotnet_%` target
prefer to use `make run` or `make build`
since .Net does not support parallel build in the same directory... | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -448,76 +448,6 @@ endif\n#############################\n## .NET Examples/Samples ##\n#############################\n-rdotnet_%: \\\n- $(TEST_DIR)/% \\\n- $(TEST_DIR)/%proj \... | C++ | Apache License 2.0 | google/or-tools | .Net: remove internal `rdotnet_%` target
prefer to use `make run` or `make build`
since .Net does not support parallel build in the same directory... |
261,218 | 30.01.2019 15:06:00 | -3,600 | dbef712477d847625f85eed4684fe909fbe89736 | .Net: Add LinearSolverTests.cs
remove duplicate testlp.cs and Google.OrTools.Tests | [
{
"change_type": "RENAME",
"old_path": "ortools/dotnet/Google.OrTools.Tests/Google.OrTools.Tests.csproj.in",
"new_path": "examples/tests/LinearSolverTests.csproj",
"diff": "<Project Sdk=\"Microsoft.NET.Sdk\">\n<PropertyGroup>\n<OutputType>Exe</OutputType>\n- <TargetFrameworks>netcoreapp2.1</TargetFr... | C++ | Apache License 2.0 | google/or-tools | .Net: Add LinearSolverTests.cs
- remove duplicate testlp.cs and Google.OrTools.Tests |
261,218 | 30.01.2019 16:42:55 | -3,600 | fe29e18fdbce54e699487bd7562a62cd1c81435d | .net: remove dead code testlp.cs* | [
{
"change_type": "DELETE",
"old_path": "examples/tests/testlp.cs",
"new_path": null,
"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 copy of ... | C++ | Apache License 2.0 | google/or-tools | .net: remove dead code testlp.cs* |
261,230 | 30.01.2019 17:11:25 | -3,600 | 6637c4e0e030f555a1d6d82b06a1c2cbc0a5ede7 | fix overlfow | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -1741,7 +1741,7 @@ bool PresolveElement(ConstraintProto* ct, PresolveContext* context) {\n// TODO(user): We should be able to do something for simple mapping.\nconte... | C++ | Apache License 2.0 | google/or-tools | fix overlfow |
261,218 | 30.01.2019 17:46:15 | -3,600 | 14875ce07325344ab989deb3662aabd7be7288ec | .Net: Rework SatSolverTest.cs | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/tests/SatSolverTests.cs",
"diff": "+using System;\n+using Xunit;\n+using Google.OrTools.Sat;\n+\n+namespace Google.OrTools.Tests {\n+ public class SatSolverTest {\n+ static IntegerVariableProto NewIntegerVariable(long lb, long ub) {\n+ ... | C++ | Apache License 2.0 | google/or-tools | .Net: Rework SatSolverTest.cs |
261,218 | 31.01.2019 14:57:17 | -3,600 | 719a2ba20ac93acf0797f64cfcf93d59e3b05059 | Python: Rework RoutingModel::*Index typemap (Fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/python/routing.i",
"new_path": "ortools/constraint_solver/python/routing.i",
"diff": "@@ -36,6 +36,18 @@ class RoutingSearchParameters;\n#include \"ortools/util/optional_boolean.pb.h\"\n%}\n+DEFINE_INDEX_TYPE_TYPEDEF(\n+ operations_re... | C++ | Apache License 2.0 | google/or-tools | Python: Rework RoutingModel::*Index typemap (Fix #1030) |
261,230 | 01.02.2019 11:40:42 | -3,600 | 86ab8bbd8ff720d51e4b4204cac24d986f0e16d8 | simple automaton constraint generated by the SAT/FZ layer | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -412,9 +412,11 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\nfor (int i = 1; i <= num_states; ++i) {\nfor (int j = 1; j <... | C++ | Apache License 2.0 | google/or-tools | simple automaton constraint generated by the SAT/FZ layer |
261,230 | 02.02.2019 17:40:11 | -3,600 | 3494afff17d3dc60daf5ebe6ff2ab4cbc7777163 | solver.infinity() -> java.lang.Double.POSITIVE_INFINITY | [
{
"change_type": "MODIFY",
"old_path": "examples/java/IntegerProgramming.java",
"new_path": "examples/java/IntegerProgramming.java",
"diff": "@@ -38,7 +38,7 @@ public class IntegerProgramming {\nSystem.out.println(\"Could not create solver \" + solverType);\nreturn;\n}\n- double infinity = MPSolver.... | C++ | Apache License 2.0 | google/or-tools | solver.infinity() -> java.lang.Double.POSITIVE_INFINITY |
261,218 | 05.02.2019 09:22:48 | -3,600 | e0d4e426fc19651939a246db28891f7960645e36 | Fixup .Net samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/Tsp.cs",
"new_path": "ortools/constraint_solver/samples/Tsp.cs",
"diff": "@@ -82,11 +82,11 @@ public class Tsp {\n/// <summary>\n/// Returns the manhattan distance between the two nodes\n/// </summary>\n- public long call(long... | C++ | Apache License 2.0 | google/or-tools | Fixup .Net samples |
261,218 | 05.02.2019 09:30:02 | -3,600 | 7ee8a047bf9512345b14fca37804d97587e7b1e3 | Fix todo user name | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/dynamic_partition.h",
"new_path": "ortools/algorithms/dynamic_partition.h",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-// TODO(user, fdid): refine this toplevel commen... | C++ | Apache License 2.0 | google/or-tools | Fix todo user name |
261,218 | 05.02.2019 10:33:19 | -3,600 | b4377c6ad3c3b1156c949d8cb1e5eaafd1ae23ec | Java: Add TestSat.java to test_java_tests | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -428,6 +428,7 @@ check_java_pimpl: \\\n.PHONY: test_java_tests # Build and Run all Java Tests (located in examples/tests)\ntest_java_tests: \\\n+ rjava_TestSat \\\nrjava_TestLp\... | C++ | Apache License 2.0 | google/or-tools | Java: Add TestSat.java to test_java_tests |
261,218 | 05.02.2019 12:03:56 | -3,600 | ce71eee2366e81d336893524aa0b62ae409d5e38 | Update .Net samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.cs",
"new_path": "ortools/constraint_solver/samples/SimpleRoutingProgram.cs",
"diff": "@@ -42,16 +42,16 @@ public class SimpleRoutingProgram {\nRoutingModel routing = new RoutingModel(manager);\n// [END ro... | C++ | Apache License 2.0 | google/or-tools | Update .Net samples |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.