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 | 20.11.2020 16:15:52 | -3,600 | c25be425785f28ad91c94ca2d389226683898721 | fix rare race in solution reporting | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_search.cc",
"new_path": "ortools/sat/integer_search.cc",
"diff": "@@ -801,6 +801,12 @@ SatSolver::Status SolveIntegerProblem(Model* model) {\n// No decision means that we reached a leave of the search tree and that\n// we have a feasible so... | C++ | Apache License 2.0 | google/or-tools | fix rare race in solution reporting |
261,230 | 25.11.2020 22:38:26 | -3,600 | b7d21048983267e9557eb72fae2aef6d5c10db01 | fix 2 sat bugs | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_checker.cc",
"new_path": "ortools/sat/cp_model_checker.cc",
"diff": "@@ -1092,21 +1092,28 @@ bool SolutionIsFeasible(const CpModelProto& model,\ndefault:\nLOG(FATAL) << \"Unuspported constraint: \" << ConstraintCaseName(type);\n}\n+\n+ // ... | C++ | Apache License 2.0 | google/or-tools | fix 2 sat bugs |
261,258 | 25.11.2020 17:40:44 | -39,600 | 26e29f65a0a2046bcacfc511af34ab0decefe5ac | cmake: install minizinc solver interface | [
{
"change_type": "MODIFY",
"old_path": "cmake/flatzinc.cmake",
"new_path": "cmake/flatzinc.cmake",
"diff": "@@ -132,6 +132,10 @@ target_link_libraries(fz PRIVATE ortools::flatzinc)\n## Alias\nadd_executable(${PROJECT_NAME}::fz ALIAS fz)\n+# MiniZinc solver configuration\n+file(RELATIVE_PATH FZ_REL_I... | C++ | Apache License 2.0 | google/or-tools | cmake: install minizinc solver interface |
261,218 | 27.11.2020 09:56:23 | -3,600 | 5d7fdbd23ba8f23cdb10239020d14a4feadf02be | WORKSPACE cleanup from Google | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -21,9 +21,9 @@ git_repository(\n# Python Rules\nhttp_archive(\nname = \"rules_python\",\n- url = \"https://github.com/bazelbuild/rules_python/releases/download/0.0.2/rules_python-0.0.2.tar.gz\",\n- strip_prefix ... | C++ | Apache License 2.0 | google/or-tools | WORKSPACE cleanup from Google |
261,230 | 27.11.2020 10:58:21 | -3,600 | 57571f90efb133e4e5d152d0163b5d4955a505c8 | print overflow message | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "#include \"ortools/flatzinc/model.h\"\n#include \"ortools/sat/cp_constraints.h\"\n#include \"ortools/sat/cp_model.pb.h\"\n+#include \"ortools/sat/cp_model_c... | C++ | Apache License 2.0 | google/or-tools | print overflow message |
261,218 | 27.11.2020 11:38:07 | -3,600 | f3b4fa2c0c03e6c8ade7daa8e796848d491bcb06 | Export Google routing update | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing.h",
"new_path": "ortools/constraint_solver/routing.h",
"diff": "@@ -3373,6 +3373,10 @@ class GlobalCheapestInsertionFilteredHeuristic\n->PositionsSetAtLeastOnce();\n}\n+ int64 NumNonStartEndNodes() const {\n+ return model()->S... | C++ | Apache License 2.0 | google/or-tools | Export Google routing update |
261,218 | 27.11.2020 11:38:26 | -3,600 | 93458a5493852671615e875618533f20a17576e4 | Export Google gscip update | [
{
"change_type": "MODIFY",
"old_path": "ortools/gscip/gscip.cc",
"new_path": "ortools/gscip/gscip.cc",
"diff": "@@ -751,7 +751,7 @@ absl::StatusOr<GScipResult> GScip::Solve(const GScipParameters& params,\n// Step 2: Solve.\n// NOTE(user): after solve, SCIP will either be in stage PRESOLVING,\n// SOL... | C++ | Apache License 2.0 | google/or-tools | Export Google gscip update |
261,218 | 27.11.2020 11:39:31 | -3,600 | 8c839e6775a3f25757f7f2813251b06ddbcf6266 | Cleanup JavaDecisionBuilder.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/constraintsolver/JavaDecisionBuilder.java",
"new_path": "ortools/java/com/google/ortools/constraintsolver/JavaDecisionBuilder.java",
"diff": "@@ -21,9 +21,8 @@ package com.google.ortools.constraintsolver;\n*\n*/\npublic class Ja... | C++ | Apache License 2.0 | google/or-tools | Cleanup JavaDecisionBuilder.java |
261,218 | 27.11.2020 21:36:50 | -3,600 | a42ff7e2fc11bffe1fe7b6432894b9fa0222eea9 | Cleanup python samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/tsp_cities.py",
"new_path": "ortools/constraint_solver/samples/tsp_cities.py",
"diff": "# [START import]\nfrom ortools.constraint_solver import routing_enums_pb2\nfrom ortools.constraint_solver import pywrapcp\n-\n# [END impor... | C++ | Apache License 2.0 | google/or-tools | Cleanup python samples |
261,218 | 27.11.2020 21:41:04 | -3,600 | 8c07ce82540ed5043e89a089f32fbe7e5731e9d6 | Update sorted_interval_list | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/sorted_interval_list.cc",
"new_path": "ortools/util/sorted_interval_list.cc",
"diff": "@@ -371,13 +371,21 @@ Domain Domain::MultiplicationBy(int64 coeff, bool* exact) const {\nDomain result;\nif (abs_coeff > 1) {\n+ const int64 max_value = kint64m... | C++ | Apache License 2.0 | google/or-tools | Update sorted_interval_list |
261,230 | 30.11.2020 18:58:09 | -3,600 | a139418f174d11d195c3ec90210d465c5dae67ab | update samples, fix SAT backend overflow in hints | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/linear_solver.h",
"new_path": "ortools/linear_solver/linear_solver.h",
"diff": "#include \"ortools/linear_solver/linear_solver_callback.h\"\n#include \"ortools/port/proto_utils.h\"\n+ABSL_DECLARE_FLAG(bool, linear_solver_enable_verbose_ou... | C++ | Apache License 2.0 | google/or-tools | update samples, fix SAT backend overflow in hints |
261,239 | 01.12.2020 11:48:35 | -3,600 | 3b9f92d72437ebd783573084ac97939db4dea28c | Expose routing API for node types and breaks in Java | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/routing.i",
"new_path": "ortools/constraint_solver/java/routing.i",
"diff": "@@ -71,8 +71,6 @@ import java.util.function.LongUnaryOperator;\nconst std::string& name);\n%ignore RoutingModel::AddSameVehicleRequiredTypeAlternatives;... | C++ | Apache License 2.0 | google/or-tools | Expose routing API for node types and breaks in Java |
261,239 | 02.12.2020 09:48:18 | -3,600 | c89f69eccaf508e8bbd1941bd6341c4cbab09e3c | Fix typo, revert to ignoring SolveWithParameters and SolveFromAssignmentWithParameters | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/routing.i",
"new_path": "ortools/constraint_solver/java/routing.i",
"diff": "@@ -98,6 +98,13 @@ import java.util.function.LongUnaryOperator;\n%ignore RoutingModel::PackCumulsOfOptimizerDimensionsFromAssignment;\n%ignore RoutingMo... | C++ | Apache License 2.0 | google/or-tools | Fix typo, revert to ignoring SolveWithParameters and SolveFromAssignmentWithParameters |
261,218 | 07.12.2020 09:42:19 | -3,600 | 051a08b3073d77f23d066c684f1631b4b598a409 | release(mac): verify protoc-gen-mypy is installed | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_mac.sh",
"new_path": "tools/release/build_delivery_mac.sh",
"diff": "@@ -33,6 +33,7 @@ for i in \"${PY[@]}\"; do\n\"python$i\" -c \"import distutils.util as u; print(u.get_platform())\" | tee -a build.log\n\"python$i\" -m pip insta... | C++ | Apache License 2.0 | google/or-tools | release(mac): verify protoc-gen-mypy is installed |
261,218 | 08.12.2020 10:17:02 | -3,600 | 702c457b8d0b30c4721f95edce9978afa30e63de | make: fix mypy check on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -27,10 +27,11 @@ PYTHON_COMPILER ?= python$(UNIX_PYTHON_VER)\nPYTHON_EXECUTABLE := $(shell which $(PYTHON_COMPILER))\nSET_PYTHONPATH = PYTHONPATH=$(OR_TOOLS_PYTHONPATH)\nGEN... | C++ | Apache License 2.0 | google/or-tools | make: fix mypy check on windows |
261,218 | 16.12.2020 10:47:27 | -3,600 | 1ce7afc07b5fe6a65b798f9dcf9b56028b89af3f | Fix VehicleIndex parameter type. | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing.h",
"new_path": "ortools/constraint_solver/routing.h",
"diff": "@@ -1173,7 +1173,7 @@ class RoutingModel {\nbool IsEnd(int64 index) const { return index >= Size(); }\n/// Returns the vehicle of the given start/end index, and -... | C++ | Apache License 2.0 | google/or-tools | Fix VehicleIndex parameter type. |
261,218 | 16.12.2020 11:51:58 | -3,600 | 91ce7e63de23b5572916405e159055d64600dbe9 | Remove branch-and-bound log from lp samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/LinearProgrammingExample.cs",
"new_path": "ortools/linear_solver/samples/LinearProgrammingExample.cs",
"diff": "@@ -71,7 +71,6 @@ public class LinearProgrammingExample\nConsole.WriteLine(\"\\nAdvanced usage:\");\nConsole.WriteLine... | C++ | Apache License 2.0 | google/or-tools | Remove branch-and-bound log from lp samples |
261,218 | 16.12.2020 17:56:36 | -3,600 | 2e101330ed5d6346c8359725f359378930edb3ad | linear_solver: Remove call to nodes() in lp samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/LinearProgrammingExample.java",
"new_path": "ortools/linear_solver/samples/LinearProgrammingExample.java",
"diff": "@@ -82,7 +82,6 @@ public class LinearProgrammingExample {\nSystem.out.println(\"\\nAdvanced usage:\");\nSystem.out... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Remove call to nodes() in lp samples |
261,218 | 16.12.2020 17:56:36 | -3,600 | b3a506cc74b356f75ee13f84da6c1614661d69ac | linear_solver: Fixup lp samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/simple_lp_program.cc",
"new_path": "ortools/linear_solver/samples/simple_lp_program.cc",
"diff": "@@ -74,7 +74,6 @@ void SimpleLpProgram() {\nLOG(INFO) << \"\\nAdvanced usage:\";\nLOG(INFO) << \"Problem solved in \" << solver->wal... | C++ | Apache License 2.0 | google/or-tools | linear_solver: Fixup lp samples |
261,230 | 18.12.2020 10:04:45 | -3,600 | 5a772494093b71caa04d06126b77668114b8d6e9 | [GLOP] honor the MPSolver enable/suppress output | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lp_solver.cc",
"new_path": "ortools/glop/lp_solver.cc",
"diff": "@@ -170,8 +170,12 @@ ProblemStatus LPSolver::SolveWithTimeLimit(const LinearProgram& lp,\n}\n// Make an internal copy of the problem for the preprocessing.\n- VLOG(1) << \"Initial pr... | C++ | Apache License 2.0 | google/or-tools | [GLOP] honor the MPSolver enable/suppress output |
261,218 | 17.12.2020 23:42:34 | -3,600 | c9caf3d9147290fb9867f90ebf8350052718a201 | bazel: Update sample build | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/samples/BUILD",
"new_path": "ortools/algorithms/samples/BUILD",
"diff": "load(\":code_samples.bzl\", \"code_sample_cc\")\n-code_sample_cc(sample = \"knapsack\")\n+code_sample_cc(name = \"knapsack\")\n-code_sample_cc(sample = \"simple_knapsac... | C++ | Apache License 2.0 | google/or-tools | bazel: Update sample build |
261,218 | 22.12.2020 10:43:19 | -3,600 | 7cd948e9ea27d3f4b6012a8c2a88505a7063cdfe | Export indent from Google | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/samples/code_samples.bzl",
"new_path": "ortools/algorithms/samples/code_samples.bzl",
"diff": "@@ -18,4 +18,3 @@ def code_sample_cc(name):\n\"//ortools/algorithms:knapsack_solver_lib\",\n],\n)\n-\n"
},
{
"change_type": "MODIFY",
... | C++ | Apache License 2.0 | google/or-tools | Export indent from Google |
261,218 | 22.12.2020 16:21:05 | -3,600 | ad68b837755952c21977627297949bc41669a016 | Sync Google GitHub | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -73,4 +73,3 @@ http_archive(\nsha256 = \"033bf240298d3a1c92e8ddb7b452190e0af15df2dad7d24d0572f10ae8eec5aa\",\nurl = \"https://github.com/google/or-tools/releases/download/v7.7/scip-7.0.1.tgz\",\n)\n-\n"
},
{... | C++ | Apache License 2.0 | google/or-tools | Sync Google GitHub |
261,218 | 23.12.2020 19:47:29 | -3,600 | edb6c0b63027007e7ab116149b8edc597afd0aae | sat: Fix typo in comment | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/precedences.h",
"new_path": "ortools/sat/precedences.h",
"diff": "@@ -36,7 +36,7 @@ namespace sat {\n// variables of the form (i1 + offset <= i2). The offset can be constant or\n// given by the value of a third integer variable. Offsets can also be... | C++ | Apache License 2.0 | google/or-tools | sat: Fix typo in comment |
261,230 | 29.12.2020 00:18:07 | -3,600 | ed829524b5a7100ef645e03b4a3a79e0b88063e4 | fix product in one variable is 0 | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -794,10 +794,19 @@ bool CpModelPresolver::PresolveIntProd(ConstraintProto* ct) {\nif (context_->IsFixed(b)) std::swap(a, b);\nif (context_->IsFixed(a)) {\n- if (b !=... | C++ | Apache License 2.0 | google/or-tools | fix product in one variable is 0 |
261,230 | 29.12.2020 09:03:29 | -3,600 | 051e6285183ea431fd3f70a51ba645400deae10d | add serialization from string example | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/SatSolverTests.cs",
"new_path": "examples/tests/SatSolverTests.cs",
"diff": "@@ -369,5 +369,33 @@ namespace Google.OrTools.Tests\nAssert.True(model.ExportToFile(\"test_model_dotnet.pbtxt\"));\nConsole.WriteLine(\"Model written to file\");\n}\n+\... | C++ | Apache License 2.0 | google/or-tools | add serialization from string example |
261,230 | 30.12.2020 14:19:27 | -3,600 | f207fc8906712f2ae8221c1841ff1b63d846b20c | supports reading/writing protobufs from/to file in JSON format | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/file_util.cc",
"new_path": "ortools/util/file_util.cc",
"diff": "#include \"absl/strings/str_cat.h\"\n#include \"google/protobuf/descriptor.h\"\n#include \"google/protobuf/io/zero_copy_stream_impl_lite.h\"\n+#include \"google/protobuf/util/json_ut... | C++ | Apache License 2.0 | google/or-tools | supports reading/writing protobufs from/to file in JSON format |
261,295 | 20.12.2020 12:24:11 | -3,600 | e3ea897e561a01a7bc72aa7080a0737b7793202f | Add extra braces for readability
My C++ compiler suggests braces around the comparisons. | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_programming_constraint.cc",
"new_path": "ortools/sat/linear_programming_constraint.cc",
"diff": "@@ -1879,7 +1879,7 @@ void LinearProgrammingConstraint::AdjustNewLinearConstraint(\nIntTypeAbs(row_bound));\nconst IntegerValue limit2 =\nFloorR... | C++ | Apache License 2.0 | google/or-tools | Add extra braces for readability
My C++ compiler suggests braces around the comparisons. |
261,295 | 20.12.2020 12:31:42 | -3,600 | 18999edff22813e82ccbf7f2769177a628b606a3 | Add extra braces around comparison for readability | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -120,7 +120,7 @@ bool CpModelPresolver::PresolveEnforcementLiteral(ConstraintProto* ct) {\nif (context_->VariableWithCostIsUniqueAndRemovable(literal)) {\nconst int6... | C++ | Apache License 2.0 | google/or-tools | Add extra braces around comparison for readability |
261,230 | 30.12.2020 17:05:47 | -3,600 | 90fdcf73eaf85619204345d6f29b84103692b762 | support writing proto to file in json format | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/file_util.cc",
"new_path": "ortools/util/file_util.cc",
"diff": "@@ -73,9 +73,15 @@ bool ReadFileToProto(absl::string_view filename,\n}\nif (google::protobuf::util::JsonStringToMessage(\ndata, proto, google::protobuf::util::JsonParseOptions()).ok(... | C++ | Apache License 2.0 | google/or-tools | support writing proto to file in json format |
261,218 | 30.12.2020 17:50:48 | -3,600 | 2835d31cbf5bf846cc650fba8a218e3fe2e1f80b | constraint_solver: Update pheasant/rabbit comment | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/constraint_solver.h",
"new_path": "ortools/constraint_solver/constraint_solver.h",
"diff": "///\n/// Here is a very simple Constraint Programming problem:\n///\n-/// Knowing that we see 56 legs and 20 heads, how many pheasants and rab... | C++ | Apache License 2.0 | google/or-tools | constraint_solver: Update pheasant/rabbit comment |
261,230 | 05.01.2021 22:17:38 | -3,600 | 7c243b164325b021c79698a0fdde3c931dbc8345 | product test | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -619,6 +619,20 @@ class CpModelTest(unittest.TestCase):\nct = model.Add(a+b >= 5)\nself.assertTrue(model.ExportToFile('test_model_python.pbtxt'))\n+ def testProductIsN... | C++ | Apache License 2.0 | google/or-tools | product test |
261,230 | 08.01.2021 09:48:52 | -3,600 | c55f00b7edf29ad6dcffd360c97ccc980b47b431 | improve StopSearch() robustness | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/glop_interface.cc",
"new_path": "ortools/linear_solver/glop_interface.cc",
"diff": "@@ -329,6 +329,7 @@ void GLOPInterface::SetStartingLpBasis(\nvoid GLOPInterface::SetParameters(const MPSolverParameters& param) {\nparameters_.Clear();\n+... | C++ | Apache License 2.0 | google/or-tools | improve StopSearch() robustness |
261,230 | 08.01.2021 09:49:56 | -3,600 | 5964c5e2ddfd52b574ae039b3b8f08a3c780454e | improve primal integral computation | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -558,7 +558,7 @@ enum CpSolverStatus {\n// detailed error by calling ValidateCpModel(model_proto).\nMODEL_INVALID = 1;\n- // A feasible solution as been found. But the search wa... | C++ | Apache License 2.0 | google/or-tools | improve primal integral computation |
261,230 | 08.01.2021 12:49:11 | -3,600 | f7fdd260ad2f2268644a05c1fa070b6fed77846e | support gzipped files when reading to proto or to string | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/BUILD",
"new_path": "ortools/base/BUILD",
"diff": "@@ -394,3 +394,9 @@ cc_library(\n}),\ndeps = [\":base\"],\n)\n+\n+cc_library(\n+ name = \"gzipstring\",\n+ hdrs = [\"gzipstring.h\"],\n+ deps = [\":base\"],\n+)\n\\ No newline at end of file\n"
... | C++ | Apache License 2.0 | google/or-tools | support gzipped files when reading to proto or to string |
261,230 | 08.01.2021 14:13:41 | -3,600 | 7062089531ae149a168d5848c5dcfdf6851db4da | support writing proto to gzipped file | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/gzipstring.h",
"new_path": "ortools/base/gzipstring.h",
"diff": "#include \"zlib.h\"\nbool GunzipString(const std::string& str, std::string* out) {\n- z_stream zs; // z_stream is zlib's control structure\n+ z_stream zs;\nzs.zalloc = Z_NULL;\nzs.zf... | C++ | Apache License 2.0 | google/or-tools | support writing proto to gzipped file |
261,230 | 11.01.2021 17:06:53 | -3,600 | cd946588eb77ac5ee110813b3141826a09bb5bc8 | fix bug in domain * 0 | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/sorted_interval_list.cc",
"new_path": "ortools/util/sorted_interval_list.cc",
"diff": "@@ -361,7 +361,8 @@ Domain Domain::RelaxIfTooComplex() const {\nDomain Domain::MultiplicationBy(int64 coeff, bool* exact) const {\nif (exact != nullptr) *exact ... | C++ | Apache License 2.0 | google/or-tools | fix bug in domain * 0 |
261,230 | 11.01.2021 17:07:33 | -3,600 | 284e337625a9483fdfc63622348f31e528faaea0 | fix regression in multithread and LNS; better comments | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -794,11 +794,9 @@ bool CpModelPresolver::PresolveIntProd(ConstraintProto* ct) {\nif (context_->IsFixed(b)) std::swap(a, b);\nif (context_->IsFixed(a)) {\n- const int... | C++ | Apache License 2.0 | google/or-tools | fix regression in multithread and LNS; better comments |
261,230 | 11.01.2021 17:08:20 | -3,600 | 774ccb873c30322935e895b1aa5b3cf8334e7cc8 | check if the christofides solver actually finds a solution | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing_search.cc",
"new_path": "ortools/constraint_solver/routing_search.cc",
"diff": "@@ -6026,15 +6026,18 @@ bool ChristofidesFilteredHeuristic::BuildSolutionInternal() {\nChristofidesPathSolver<int64, int64, int, Cost>::MatchingAl... | C++ | Apache License 2.0 | google/or-tools | check if the christofides solver actually finds a solution |
261,230 | 11.01.2021 17:08:40 | -3,600 | 79c8864bfa0d57e401083910b886ed21bb62367b | fix bug when interrupting a linear solver | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/bop_interface.cc",
"new_path": "ortools/linear_solver/bop_interface.cc",
"diff": "@@ -127,7 +127,10 @@ MPSolver::ResultStatus BopInterface::Solve(const MPSolverParameters& param) {\n// Check whenever the solve has already been stopped by ... | C++ | Apache License 2.0 | google/or-tools | fix bug when interrupting a linear solver |
261,230 | 12.01.2021 14:58:52 | -3,600 | 5f463f101c63ae71159b8a4299f1671de61ae915 | Christofides solver now returns a bool indicating if solving was successful | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/christofides.h",
"new_path": "ortools/graph/christofides.h",
"diff": "#ifndef OR_TOOLS_GRAPH_CHRISTOFIDES_H_\n#define OR_TOOLS_GRAPH_CHRISTOFIDES_H_\n+#include \"absl/status/status.h\"\n+#include \"absl/status/statusor.h\"\n#include \"ortools/bas... | C++ | Apache License 2.0 | google/or-tools | Christofides solver now returns a bool indicating if solving was successful |
261,230 | 14.01.2021 10:32:45 | -3,600 | 692b5901285b0f16634eecd35365bc8771a2629a | more dual presolve in CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -4908,7 +4908,8 @@ void CpModelPresolver::PresolveToFixPoint() {\nif (context_->ModelIsUnsat()) return;\n// Detect & exploit dominance between variables, or variable... | C++ | Apache License 2.0 | google/or-tools | more dual presolve in CP-SAT |
261,230 | 15.01.2021 09:47:18 | -3,600 | 61a2837782b16c83f44b750b485f2eb81c0fff47 | update sat_runner | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/BUILD",
"new_path": "examples/cpp/BUILD",
"diff": "@@ -284,6 +284,17 @@ cc_binary(\n],\n)\n+cc_binary(\n+ name = \"magic_sequence_sat\",\n+ srcs = [\"magic_sequence_sat.cc\"],\n+ deps = [\n+ \"//ortools/base\",\n+ \"@com_google_absl//absl/strings\... | C++ | Apache License 2.0 | google/or-tools | update sat_runner |
261,230 | 15.01.2021 11:00:00 | -3,600 | 4a755da303ff5c4330a71259e32f7427c2c7d541 | [CP-SAT] add exactly_one constraint in cp_model.proto | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -274,7 +274,7 @@ message AutomatonConstraintProto {\nrepeated int32 vars = 7;\n}\n-// Next id: 29\n+// Next id: 30\nmessage ConstraintProto {\n// For debug/logging only. Can be ... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] add exactly_one constraint in cp_model.proto |
261,230 | 19.01.2021 15:05:41 | -3,600 | 1b3ee00001ce18b5214749fa9c961b8c706819a9 | speed up example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/balance_group_sat.py",
"new_path": "examples/python/balance_group_sat.py",
"diff": "@@ -159,6 +159,7 @@ def main():\nmodel.Minimize(e)\nsolver = cp_model.CpSolver()\n+ solver.parameters.num_search_workers = 8\nsolution_printer = SolutionPrinter... | C++ | Apache License 2.0 | google/or-tools | speed up example |
261,230 | 20.01.2021 14:53:52 | -3,600 | 7003848781941163e82c339c4e48ccf3370672e8 | tune routing search | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing.cc",
"new_path": "ortools/constraint_solver/routing.cc",
"diff": "@@ -4509,10 +4509,14 @@ void RoutingModel::CreateNeighborhoodOperators(\n[this, ¶meters]() {\nusing Heuristic = GlobalCheapestInsertionFilteredHeuristic;\nH... | C++ | Apache License 2.0 | google/or-tools | tune routing search |
261,230 | 20.01.2021 14:55:36 | -3,600 | 0b284082aa0f21370ad329eb224b9633dc9b585d | inactive code for detecting symmetries in CP-SAT models; tweak linearization of ExactlyOne constraints; add a few TODOs on exactly one constraints | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/BUILD",
"new_path": "ortools/sat/BUILD",
"diff": "@@ -221,6 +221,7 @@ cc_library(\n\":circuit\",\n\":cp_constraints\",\n\":cp_model_cc_proto\",\n+ \":cp_model_symmetries\",\n\":cp_model_utils\",\n\":cumulative\",\n\":diffn\",\n@@ -235,6 +236,7 @@ c... | C++ | Apache License 2.0 | google/or-tools | inactive code for detecting symmetries in CP-SAT models; tweak linearization of ExactlyOne constraints; add a few TODOs on exactly one constraints |
261,230 | 20.01.2021 14:55:59 | -3,600 | dbec1ec79f9bf3b49a24a061093e0be57ae74a85 | revert parallel search on balance group examples | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/BalanceGroupSat.cs",
"new_path": "examples/dotnet/BalanceGroupSat.cs",
"diff": "@@ -144,7 +144,6 @@ public class BalanceGroupSat\nmodel.Minimize(e);\nvar solver = new CpSolver();\n- solver.StringParameters = \"num_search_workers:8\";\nvar solut... | C++ | Apache License 2.0 | google/or-tools | revert parallel search on balance group examples |
261,230 | 20.01.2021 14:59:03 | -3,600 | a10babb04009e32a42b6f1d8454fc0c3434ba9db | fix makefile dependencies | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -247,7 +247,7 @@ objs/util/file_util.$O: ortools/util/file_util.cc ortools/util/file_util.h \\\nortools/base/commandlineflags.h ortools/base/log_severity.h \\\nortools/base/loggin... | C++ | Apache License 2.0 | google/or-tools | fix makefile dependencies |
261,230 | 25.01.2021 09:10:29 | -3,600 | ff8d2fc66a08759464c759ad4e81f16d339bfad3 | remove offensive words | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/constraint_solveri.h",
"new_path": "ortools/constraint_solver/constraint_solveri.h",
"diff": "@@ -993,8 +993,8 @@ class IntVarLocalSearchHandler {\n/// derived C++ class.\n// TODO(user): find a way to move this code back to the .i fil... | C++ | Apache License 2.0 | google/or-tools | remove offensive words |
261,241 | 25.01.2021 13:43:22 | 0 | bcb3886be084ea90027c4efe37dc46d75dc20ce6 | Add example for fixed penalty lateness for a vrptw | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/contrib/vrptw_fixed_penalty.cs",
"diff": "+// Copyright 2021 Owen Lacey\n+//\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 obtai... | C++ | Apache License 2.0 | google/or-tools | Add example for fixed penalty lateness for a vrptw |
261,230 | 27.01.2021 13:14:01 | -3,600 | 4528780226fac01c94b9a8986fd435e08c7fcd3f | remove offensive word | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/intervals.h",
"new_path": "ortools/sat/intervals.h",
"diff": "@@ -424,7 +424,7 @@ class SchedulingConstraintHelper : public PropagatorInterface,\nstd::vector<Literal> literal_reason_;\nstd::vector<IntegerLiteral> integer_reason_;\n- // Optional 'sl... | C++ | Apache License 2.0 | google/or-tools | remove offensive word |
261,218 | 27.01.2021 15:06:54 | -3,600 | 1ac22e2bae97832ddb7aca7bb9e0b5f5afb2e1fd | Update Bazel README | [
{
"change_type": "MODIFY",
"old_path": "bazel/README.md",
"new_path": "bazel/README.md",
"diff": "@@ -33,6 +33,7 @@ OR-Tools depends on severals mandatory libraries.\n<a name=\"build\"></a>\n## Compilation\nYou must compile OR-Tools using C++17:\n+\n* on UNIX: `--cxxopt=-std=c++17`\n* on Windows whe... | C++ | Apache License 2.0 | google/or-tools | Update Bazel README |
261,230 | 28.01.2021 13:11:08 | -3,600 | 7b9c099453adb874876a573828060cb13e35728b | improve error reporting in FZ interpreter | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/fz.cc",
"new_path": "ortools/flatzinc/fz.cc",
"diff": "@@ -129,7 +129,8 @@ Model ParseFlatzincModel(const std::string& input, bool input_is_filename) {\nstd::string problem_name =\ninput_is_filename ? input : absl::GetFlag(FLAGS_fz_model_name)... | C++ | Apache License 2.0 | google/or-tools | improve error reporting in FZ interpreter |
261,259 | 04.02.2021 04:04:40 | -3,600 | 71c9abe73dc33d4eae7bc638ad6af1cb74a63441 | [Python] Type Hint for CpSolver.ResponseProto | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -1601,7 +1601,7 @@ class CpSolver(object):\ndef __init__(self):\nself.__model = None\n- self.__solution = None\n+ self.__solution: cp_model_pb2.CpSolverResponse = None\n... | C++ | Apache License 2.0 | google/or-tools | [Python] Type Hint for CpSolver.ResponseProto |
261,230 | 04.02.2021 18:14:43 | -3,600 | 8f458b3c38fcde10050dba69a9019924398fcc81 | add python ClearHints method to CpSolver | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -1539,9 +1539,14 @@ class CpModel(object):\n' is not a boolean variable')\ndef AddHint(self, var, value):\n+ \"\"\"Adds 'var == value' as a hint to the solver.\"\"\"\nse... | C++ | Apache License 2.0 | google/or-tools | add python ClearHints method to CpSolver |
261,259 | 04.02.2021 14:21:52 | -3,600 | b34ceefb8621f0b219f57a1d1b32735d284ab679 | Wrap CP-SAT assumptions | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -431,6 +431,7 @@ test_cc_constraint_solver_samples: \\\n.PHONY: test_cc_sat_samples # Build and Run all C++ Sat Samples (located in ortools/sat/samples)\ntest_cc_sat_samples: \\\n... | C++ | Apache License 2.0 | google/or-tools | Wrap CP-SAT assumptions |
261,259 | 05.02.2021 10:44:16 | -3,600 | eb31f06abd9112880e9a0f66e871d19832055999 | Update Assumptions samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/AssumptionsSampleSat.cs",
"new_path": "ortools/sat/samples/AssumptionsSampleSat.cs",
"diff": "@@ -28,18 +28,21 @@ public class AssumptionsSampleSat\n// [START variables]\nIntVar x = model.NewIntVar(0, 10, \"x\");\nIntVar y = model.NewIntVar... | C++ | Apache License 2.0 | google/or-tools | Update Assumptions samples |
261,259 | 05.02.2021 11:21:57 | -3,600 | 2d5cd894c7fc65c1661dfdf9604e5e7535d5d1ac | Add ClearHints() and ClearAssumptions() | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -966,6 +966,11 @@ public final class CpModel {\nmodelBuilder.getSolutionHintBuilder().addValues(value);\n}\n+ /** Remove all solution... | C++ | Apache License 2.0 | google/or-tools | Add ClearHints() and ClearAssumptions() |
261,230 | 05.02.2021 17:18:58 | -3,600 | ce52397ccf67c477e452d9182688cd56f5ec869e | fix doc for assumptions new API | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -971,19 +971,19 @@ public final class CpModel {\nmodelBuilder.clearSolutionHint();\n}\n- /** Adds variable as assumption */\n+ /** Ad... | C++ | Apache License 2.0 | google/or-tools | fix doc for assumptions new API |
261,230 | 07.02.2021 00:46:28 | -3,600 | dfe40729e267e81499cdd88d74131c62b01cf4b8 | [CP-SAT] compute symmetries during presolve; save them in the cp_model.proto | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -230,6 +230,12 @@ message RoutesConstraintProto {\n// Experimental. The demands for each node, and the maximum capacity for each\n// route. Note that this is currently only used... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] compute symmetries during presolve; save them in the cp_model.proto |
261,230 | 08.02.2021 17:17:55 | -3,600 | 548a34dbc61c4197594cc60ac7e13ceb4eac938f | use sparse representation in CP-SAT linear constraint manager | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_constraint_manager.cc",
"new_path": "ortools/sat/linear_constraint_manager.cc",
"diff": "@@ -170,11 +170,7 @@ void LinearConstraintManager::ComputeObjectiveParallelism(\nCHECK(objective_is_defined_);\n// lazy computation of objective norm.\n... | C++ | Apache License 2.0 | google/or-tools | use sparse representation in CP-SAT linear constraint manager |
261,230 | 09.02.2021 16:25:58 | -3,600 | 17ecd63961b16ebeed71dc61dae272610a82d97d | update generated makefiles | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -1613,13 +1613,10 @@ objs/sat/cp_model_loader.$O: ortools/sat/cp_model_loader.cc \\\nortools/base/mathutil.h ortools/sat/linear_constraint.h \\\nortools/sat/precedences.h ortools/... | C++ | Apache License 2.0 | google/or-tools | update generated makefiles |
261,230 | 09.02.2021 16:26:23 | -3,600 | a597a1dfbc5e5083a0b964e4d75cd5c07f571636 | remove naming hack for lns solutions | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -2481,7 +2481,7 @@ class LnsSolver : public SubSolver {\nfile::SetTextProto(name, neighborhood.cp_model, file::Defaults()));\n}\n- Model local_model;\n+ Model local_mode... | C++ | Apache License 2.0 | google/or-tools | remove naming hack for lns solutions |
261,218 | 05.01.2021 15:02:15 | -3,600 | 7b10a5e0c07a706e9192545a84a5b7ccdc116585 | Export Google dev to github | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/java/constraint_solver.i",
"new_path": "ortools/constraint_solver/java/constraint_solver.i",
"diff": "@@ -695,6 +695,7 @@ import java.lang.Runnable;\n%typemap(javacode) Solver %{\n/**\n* This exceptions signal that a failure has been ... | C++ | Apache License 2.0 | google/or-tools | Export Google dev to github |
261,230 | 14.02.2021 12:48:45 | -3,600 | b519ead83fa71baaa5742f8f99b82e2ed7e7cf82 | add LinearExpr.booleanSum and LinearExpr.ScalProd to java CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -136,6 +136,10 @@ public final class CpModel {\nfor (int i = 0; i < expr.numElements(); ++i) {\nlin.addVars(expr.getVariable(i).getIn... | C++ | Apache License 2.0 | google/or-tools | add LinearExpr.booleanSum and LinearExpr.ScalProd to java CP-SAT |
261,230 | 15.02.2021 09:29:29 | -3,600 | 418b196b19e25bbc3fff3667b6e378187338d721 | cache constant vars in CP-SAT java API | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "package com.google.ortools.sat;\n+import java.util.LinkedHashMap;\n+\nimport com.google.ortools.sat.AllDifferentConstraintProto;\nimport... | C++ | Apache License 2.0 | google/or-tools | cache constant vars in CP-SAT java API |
261,230 | 15.02.2021 10:13:23 | -3,600 | de9480794f957515c31d82b428a462b485958b34 | fix new CP-SAT java api | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpSolver.java",
"new_path": "ortools/java/com/google/ortools/sat/CpSolver.java",
"diff": "@@ -16,6 +16,7 @@ package com.google.ortools.sat;\nimport com.google.ortools.sat.CpSolverResponse;\nimport com.google.ortools.sat.CpSo... | C++ | Apache License 2.0 | google/or-tools | fix new CP-SAT java api |
261,230 | 15.02.2021 10:13:35 | -3,600 | 0ebe02b199f39cd9e4489148e7f8d5104151c511 | enable symmetry detection by default | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_postsolve.cc",
"new_path": "ortools/sat/cp_model_postsolve.cc",
"diff": "@@ -70,13 +70,12 @@ void PostsolveLinear(const ConstraintProto& ct,\n}\nif (free_vars.empty()) return;\n- Domain rhs =\n- ReadDomainFromProto(ct.linear()).AdditionWit... | C++ | Apache License 2.0 | google/or-tools | enable symmetry detection by default |
261,230 | 15.02.2021 12:26:20 | -3,600 | 9d7acd602e46fc45c48cc3d6a1ad2eda780a3ad6 | polish CP-SAT java API | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "package com.google.ortools.sat;\n-import java.util.LinkedHashMap;\n-\nimport com.google.ortools.sat.AllDifferentConstraintProto;\nimport... | C++ | Apache License 2.0 | google/or-tools | polish CP-SAT java API |
261,230 | 15.02.2021 12:26:37 | -3,600 | a7570d1ae64eef2e69b952cb8a8b82e85fcf390f | polish sat samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/AssignmentSat.java",
"new_path": "ortools/sat/samples/AssignmentSat.java",
"diff": "@@ -41,6 +41,7 @@ public class AssignmentSat {\n// [END data_model]\n// Model\n+ try {\n// [START model]\nCpModel model = new CpModel();\n// [END model]\n@@... | C++ | Apache License 2.0 | google/or-tools | polish sat samples |
261,230 | 16.02.2021 09:26:49 | -3,600 | d6838744cf8fb357d33bde783897f04daae80d52 | sync graph code with leak false warning added | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/BUILD",
"new_path": "ortools/graph/BUILD",
"diff": "@@ -8,6 +8,7 @@ cc_library(\ndeps = [\n\":iterators\",\n\"//ortools/base\",\n+ \"@com_google_absl//absl/debugging:leak_check\",\n],\n)\n"
},
{
"change_type": "MODIFY",
"old_path": "o... | C++ | Apache License 2.0 | google/or-tools | sync graph code with leak false warning added |
261,230 | 16.02.2021 12:05:59 | -3,600 | 7c2d4f8e18286c8cfd7d609b4929266a3b9b0ce2 | fix tolerance bug | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/parameters.proto",
"new_path": "ortools/glop/parameters.proto",
"diff": "@@ -357,9 +357,12 @@ message GlopParameters {\n// The solver will stop as soon as it has proven that the objective is smaller\n// than objective_lower_limit or greater than o... | C++ | Apache License 2.0 | google/or-tools | fix tolerance bug |
261,218 | 15.02.2021 09:32:19 | -3,600 | d551770031f2b62894f71ab61f650a431609f1f6 | cc: Fix typo in routing.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing.cc",
"new_path": "ortools/constraint_solver/routing.cc",
"diff": "@@ -2714,7 +2714,7 @@ class RouteConstructor {\n}\n}\nCHECK_GE(non_depot_node, 0);\n- const int64 depot_threashold =\n+ const int64 depot_threshold =\nstd::max(... | C++ | Apache License 2.0 | google/or-tools | cc: Fix typo in routing.cc |
261,218 | 15.02.2021 09:33:22 | -3,600 | 850968c9f15c28d6963184675856122d4a19fa5b | routing: Rework Vector/Matrix transit management | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/routing.i",
"new_path": "ortools/constraint_solver/csharp/routing.i",
"diff": "@@ -81,11 +81,35 @@ namespace operations_research {\n%}\n// Ignored:\n%ignore RoutingModel::AddDimensionDependentDimensionWithVehicleCapacity;\n+%ig... | C++ | Apache License 2.0 | google/or-tools | routing: Rework Vector/Matrix transit management (#2315) |
261,230 | 17.02.2021 16:42:54 | -3,600 | 948476129c47f6bf04255b68eb5ab49f44d80a4b | add support for model deep copy in C++ and python; increase the frequency of time limit checks in code solving | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.cc",
"new_path": "ortools/sat/cp_model.cc",
"diff": "@@ -348,8 +348,8 @@ int CpModelBuilder::GetOrCreateIntegerIndex(int index) {\nreturn index;\n}\nif (!gtl::ContainsKey(bool_to_integer_index_map_, index)) {\n- const int ref = PositiveRef... | C++ | Apache License 2.0 | google/or-tools | add support for model deep copy in C++ and python; increase the frequency of time limit checks in code solving |
261,230 | 17.02.2021 18:27:31 | -3,600 | 90384bf43ff458e2b5f8662624db329ee9bf4a26 | code samples for model deep copy | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/model.md",
"new_path": "ortools/sat/doc/model.md",
"diff": "* [C code](#c-code)\n* [Java code](#java-code)\n* [C# code](#c-code-1)\n+ * [Model copy](#model-copy)\n+ * [Python code](#python-code-1)\n+ * [C code](#c-code-2)\n-<!-- Added by: lperr... | C++ | Apache License 2.0 | google/or-tools | code samples for model deep copy |
261,218 | 19.02.2021 10:30:21 | -3,600 | 27e4fdb01d08685fe5eddea024efd57dabca3ed0 | python: routing cleanup | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/test_routing_api.py",
"new_path": "examples/tests/test_routing_api.py",
"diff": "# Various calls to CP api from python to verify they work.\n'''Test routing API'''\n+from functools import partial\n+\nimport unittest\n+\nfrom ortools.constraint_s... | C++ | Apache License 2.0 | google/or-tools | python: routing cleanup |
261,218 | 19.02.2021 10:34:31 | -3,600 | 241d79d6981a5907fb348a10c932ed35906ececf | routing: Export from Google to GitHub | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/routing_index_manager.i",
"new_path": "ortools/constraint_solver/csharp/routing_index_manager.i",
"diff": "@@ -30,17 +30,22 @@ DEFINE_INDEX_TYPE_TYPEDEF(operations_research::RoutingNodeIndex,\nnamespace operations_research {\n%... | C++ | Apache License 2.0 | google/or-tools | routing: Export from Google to GitHub |
261,218 | 19.02.2021 13:25:01 | -3,600 | aa4ae0754b254d959e6293ae025698a72885750c | indent update | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/RoutingSolverTests.cs",
"new_path": "examples/tests/RoutingSolverTests.cs",
"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 wi... | C++ | Apache License 2.0 | google/or-tools | indent update |
261,230 | 19.02.2021 15:01:14 | -3,600 | a5fab9815200875fb544c8995c7d390558530128 | add grpc service file for CP-SAT | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/cp_model_service.proto",
"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 grpc service file for CP-SAT |
261,230 | 20.02.2021 14:28:19 | -3,600 | 13fd763ac65f27b90b8e261c3bce782c974c06d1 | Exception -> RuntimeException in CP-SAT java | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -39,7 +39,7 @@ import java.util.Map;\n* <p>Proposes a factory to create all modeling objects understood by the SAT solver.\n*/\npubli... | C++ | Apache License 2.0 | google/or-tools | Exception -> RuntimeException in CP-SAT java |
261,230 | 20.02.2021 14:28:47 | -3,600 | c820e8794501d65a46bea478f533961edb351e1b | polish cp-sat service | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -661,7 +661,7 @@ enum CpSolverStatus {\n//\n// TODO(user): support returning multiple solutions. Look at the Stubby\n// streaming API as we probably wants to get them as they ar... | C++ | Apache License 2.0 | google/or-tools | polish cp-sat service |
261,230 | 20.02.2021 17:39:14 | -3,600 | 0d77851fb5ea284e5643df05f30b5b7f2a9b7055 | revisit cp-sat service | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -748,6 +748,7 @@ message CpSolverResponse {\n// Additional information about how the solution was found.\nstring solution_info = 20;\n- // Optional logs of the solver.\n+ // Opt... | C++ | Apache License 2.0 | google/or-tools | revisit cp-sat service |
261,218 | 23.02.2021 15:37:24 | -3,600 | 63df4a72e9a504d72346935d77d0ff0be76e7b22 | python: Rework vector.i | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/python/routing_types.i",
"new_path": "ortools/constraint_solver/python/routing_types.i",
"diff": "@@ -52,8 +52,7 @@ bool PyObjAs(PyObject *py, IndexT* i) {\nreturn true;\n}\n%}\n-PY_LIST_OUTPUT_TYPEMAP(IndexT, PyInt_Check, PyInt_FromI... | C++ | Apache License 2.0 | google/or-tools | python: Rework vector.i |
261,230 | 23.02.2021 18:09:59 | -3,600 | e7c40b448f1f2aca08db0d2a11c4876415a47c98 | simplify cp-sat service proto | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_service.proto",
"new_path": "ortools/sat/cp_model_service.proto",
"diff": "syntax = \"proto3\";\n-package operations_research.sat;\n+package operations_research.sat.v1;\nimport \"google/protobuf/duration.proto\";\nimport \"ortools/sat/cp_m... | C++ | Apache License 2.0 | google/or-tools | simplify cp-sat service proto |
261,218 | 26.02.2021 19:41:16 | 0 | dd18cb1cfae100d31c2551de41d72c5c4a7a8634 | fsharp: Remove net452 support (Fix
Can't build it with VS 2019 and .Net 5.0 or NetCore 3.1 LTS sdk... | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/Google.OrTools.FSharp/Google.OrTools.FSharp.fsproj.in",
"new_path": "ortools/dotnet/Google.OrTools.FSharp/Google.OrTools.FSharp.fsproj.in",
"diff": "<TargetFramework>netstandard2.0</TargetFramework>\n</PropertyGroup>\n<PropertyGroup Condition=\"... | C++ | Apache License 2.0 | google/or-tools | fsharp: Remove net452 support (Fix #2414)
Can't build it with VS 2019 and .Net 5.0 or NetCore 3.1 LTS sdk... |
261,230 | 01.03.2021 11:44:53 | -3,600 | b80974ede12ecf0d0adf5b38d0f6c03d5ab5aa07 | use optional field in proto3 | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -331,7 +331,7 @@ ortools/util/optional_boolean.proto: ;\n$(GEN_DIR)/ortools/util/optional_boolean.pb.cc: \\\n$(SRC_DIR)/ortools/util/optional_boolean.proto | $(GEN_DIR)/ortools/ut... | C++ | Apache License 2.0 | google/or-tools | use optional field in proto3 |
261,230 | 01.03.2021 11:45:37 | -3,600 | 3262ae61d16a5dc4e5657b09d4e72864ed033714 | bump bison version in generated code | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/parser.tab.cc",
"new_path": "ortools/flatzinc/parser.tab.cc",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-/* A Bison parser, made by GNU Bison 3.7.4. */\n+/* A Bison pars... | C++ | Apache License 2.0 | google/or-tools | bump bison version in generated code |
261,230 | 01.03.2021 13:26:28 | -3,600 | 886fba675426cda273a3164fde728e8f637836f2 | use protobuf 3.15.3 on unix | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -20,7 +20,7 @@ UNIX_SWIG_BINARY ?= swig\nPROTOC_BINARY := $(shell $(WHICH) ${UNIX_PROTOC_BINARY})\n# Tags of dependencies to checkout.\n-PROTOBUF_TAG = v... | C++ | Apache License 2.0 | google/or-tools | use protobuf 3.15.3 on unix |
261,230 | 01.03.2021 13:27:05 | -3,600 | b039125872a314d6101f65508cbbb0fb492527e0 | use protobuf 3.15.3 on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.win.mk",
"new_path": "makefiles/Makefile.third_party.win.mk",
"diff": "@@ -35,7 +35,7 @@ SWIG_BINARY = $(WINDOWS_SWIG_BINARY)\n# tags of dependencies to checkout.\nZLIB_TAG = 1.2.11\nZLIB_ARCHIVE_TAG = 1211\n-PROTOBUF_TAG = v3.14... | C++ | Apache License 2.0 | google/or-tools | use protobuf 3.15.3 on windows |
261,230 | 01.03.2021 13:31:22 | -3,600 | 3eafdec727e1a8198b64c11e6175c83ba9d962f6 | update protobuf in bazel; Dependencies.txt | [
{
"change_type": "MODIFY",
"old_path": "Dependencies.txt",
"new_path": "Dependencies.txt",
"diff": "-Protobuf=3.14.0\n+Protobuf=3.15.3\nabseil-cpp=20200923.3\nCbc=2.10.5\nCgl=0.60.3\n"
},
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -29... | C++ | Apache License 2.0 | google/or-tools | update protobuf in bazel; Dependencies.txt |
261,230 | 01.03.2021 13:52:10 | -3,600 | d92b80c8327b8430ee4fe3a93bf357138c8fbe8d | update build def files to use protobuf 3.15.3 | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/Google.OrTools/Google.OrTools.csproj.in",
"new_path": "ortools/dotnet/Google.OrTools/Google.OrTools.csproj.in",
"diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"Google.Protobuf\" Version=\"3.14.0\"/>\n+ <PackageReference Include... | C++ | Apache License 2.0 | google/or-tools | update build def files to use protobuf 3.15.3 |
261,230 | 01.03.2021 13:59:37 | -3,600 | 64b279372e381560349a3d3ea0dc0b0b719c7a95 | update cmake files to use protobuf 3.15.3 | [
{
"change_type": "MODIFY",
"old_path": "cmake/host.CMakeLists.txt",
"new_path": "cmake/host.CMakeLists.txt",
"diff": "@@ -106,19 +106,18 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL \"3.18\")\nFetchContent_Declare(\nprotobuf\nGIT_REPOSITORY \"https://github.com/protocolbuffers/protobuf.git\"\n- GIT_... | C++ | Apache License 2.0 | google/or-tools | update cmake files to use protobuf 3.15.3 |
261,230 | 02.03.2021 15:21:33 | -3,600 | 99be2eedb93876a1e1f1f5d39b0d484124673515 | remove dead code; fix compilation with stats enables | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lu_factorization.cc",
"new_path": "ortools/glop/lu_factorization.cc",
"diff": "@@ -42,15 +42,15 @@ void LuFactorization::Clear() {\n}\nStatus LuFactorization::ComputeFactorization(\n- const CompactSparseMatrixView& compact_matrix) {\n+ const Compa... | C++ | Apache License 2.0 | google/or-tools | remove dead code; fix compilation with stats enables |
261,230 | 08.03.2021 14:01:09 | -3,600 | 3684103f2c6fc2dbb11e619cbbef430f1ee64384 | new logging class for solvers | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/util/logging.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 copy of the ... | C++ | Apache License 2.0 | google/or-tools | new logging class for solvers |
261,230 | 09.03.2021 16:02:24 | -3,600 | dd8fe338184632c15533c95c4aad2f30f2602bf1 | fix potential bug in presolve cumulative -> no_overlap | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -3126,10 +3126,12 @@ bool CpModelPresolver::PresolveCumulative(ConstraintProto* ct) {\nint new_size = 0;\nbool changed = false;\nint num_zero_demand_removed = 0;\n- ... | C++ | Apache License 2.0 | google/or-tools | fix potential bug in presolve cumulative -> no_overlap |
261,230 | 10.03.2021 11:40:47 | -3,600 | 7bcfc3a22379d30bc0361bd3deb20fac668d62fe | new crash procedure for the dual simplex, off for now | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/parameters.proto",
"new_path": "ortools/glop/parameters.proto",
"diff": "@@ -22,7 +22,7 @@ syntax = \"proto2\";\npackage operations_research.glop;\n-// next id = 62\n+// next id = 63\nmessage GlopParameters {\n// Supported algorithms for scaling:\... | C++ | Apache License 2.0 | google/or-tools | new crash procedure for the dual simplex, off for now |
261,230 | 11.03.2021 21:05:34 | -3,600 | c3acf7bff4488f014b26d421a8bac80a8ffa131e | int64 -> int64_t | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/lp_data.cc",
"new_path": "ortools/lp_data/lp_data.cc",
"diff": "#include <algorithm>\n#include <cmath>\n+#include <cstdint>\n#include <string>\n#include <utility>\n@@ -429,13 +430,14 @@ std::string LinearProgram::GetDimensionString() const {\n\... | C++ | Apache License 2.0 | google/or-tools | int64 -> int64_t |
261,230 | 11.03.2021 21:07:28 | -3,600 | 55c40e6c89b5658b3280a0bc79f65990541f3c29 | capture CP-SAT log in python/java/.NET; visual tweak of the log; tweak the logging facilities for CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -1043,17 +1043,17 @@ public final class CpModel {\n/** Returns some statistics on model as a string. */\npublic String modelStats() {... | C++ | Apache License 2.0 | google/or-tools | capture CP-SAT log in python/java/.NET; visual tweak of the log; tweak the logging facilities for CP-SAT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.