author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
261,218
18.01.2022 10:59:06
-3,600
0ba757d7b368dc3bb232ee62e6e188a188183856
use filelineiter from ortools/util
[ { "change_type": "MODIFY", "old_path": "ortools/base/BUILD.bazel", "new_path": "ortools/base/BUILD.bazel", "diff": "@@ -165,17 +165,6 @@ cc_library(\n],\n)\n-cc_library(\n- name = \"filelineiter\",\n- hdrs = [\"filelineiter.h\"],\n- deps = [\n- \":base\",\n- \":file\",\n- \"@com_google_absl//absl/st...
C++
Apache License 2.0
google/or-tools
use filelineiter from ortools/util
261,218
18.01.2022 11:05:48
-3,600
3cc01f2a2964b4c03907f9cf0cb67e1372f43b83
fixup export sync
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/samples/nqueens_cp.cc", "new_path": "ortools/constraint_solver/samples/nqueens_cp.cc", "diff": "-// Copyright 2011-2021 Google LLC\n+// Copyright 2010-2021 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\"...
C++
Apache License 2.0
google/or-tools
fixup export sync
261,218
18.01.2022 11:06:13
-3,600
d5f19bc4fd593ed88a2c79aa7cb56fccb9404e83
sync lp_data
[ { "change_type": "MODIFY", "old_path": "ortools/lp_data/lp_data.cc", "new_path": "ortools/lp_data/lp_data.cc", "diff": "@@ -1302,31 +1302,43 @@ void LinearProgram::DeleteRows(const DenseBooleanColumn& rows_to_delete) {\n}\n}\n-bool LinearProgram::IsValid() const {\n+bool LinearProgram::IsValid(Fract...
C++
Apache License 2.0
google/or-tools
sync lp_data
261,282
19.01.2022 01:23:27
-3,600
ca050c0c50de1008e2af0b8e85a0dfd5d6f9c5dc
simplify reading from returned buffer use arraypool for copy to buffer avoid calling CalculateSize twice
[ { "change_type": "MODIFY", "old_path": "ortools/util/csharp/ProtoHelper.cs", "new_path": "ortools/util/csharp/ProtoHelper.cs", "diff": "namespace Google.OrTools\n{\n-using System;\nusing Google.Protobuf;\npublic static class ProtoHelper\n{\n- public static byte[] ProtoToByteArray(IMessage message)\n...
C++
Apache License 2.0
google/or-tools
simplify reading from returned buffer use arraypool for copy to buffer avoid calling CalculateSize twice
261,230
20.01.2022 13:30:34
-3,600
58659bd77eb080db99a97ff39ec24bfa7334d597
[CP-SAT] fix memory leak in C#
[ { "change_type": "MODIFY", "old_path": "ortools/init/csharp/init.i", "new_path": "ortools/init/csharp/init.i", "diff": "%include \"ortools/base/base.i\"\n+%include \"stdint.i\"\n%include \"std_string.i\"\n%{\n#include \"ortools/init/init.h\"\n%}\n+%typemap(ctype) uint8_t* \"uint8_t*\"\n+%typemap(imt...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix memory leak in C#
261,230
21.01.2022 11:59:32
-3,600
95dd14be0d41ec8a42737fbbabb215fc57dc8ce4
misc sync code
[ { "change_type": "MODIFY", "old_path": "ortools/gscip/gscip.cc", "new_path": "ortools/gscip/gscip.cc", "diff": "@@ -738,6 +738,13 @@ absl::Status GScip::SetLinearConstraintCoef(SCIP_CONS* constraint,\nreturn absl::OkStatus();\n}\n+absl::Status GScip::AddLinearConstraintCoef(SCIP_CONS* const constrai...
C++
Apache License 2.0
google/or-tools
misc sync code
261,230
21.01.2022 12:02:32
-3,600
512fcbf41d82a0a0c79385da106472de5e49a506
export model as mpmodelproto
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -3385,15 +3385,29 @@ CpSolverResponse SolveCpModel(const CpModelProto& model_proto, Model* model) {\nif (absl::GetFlag(FLAGS_cp_model_dump_models)) {\nconst std::string ...
C++
Apache License 2.0
google/or-tools
export model as mpmodelproto
261,230
21.01.2022 12:02:40
-3,600
8541ba4e3c056d6df79a79fd50d9060f95ea2394
work on diffn
[ { "change_type": "MODIFY", "old_path": "ortools/sat/diffn.cc", "new_path": "ortools/sat/diffn.cc", "diff": "#include \"ortools/base/iterator_adaptors.h\"\n#include \"ortools/base/map_util.h\"\n#include \"ortools/base/stl_util.h\"\n-#include \"ortools/sat/cumulative.h\"\n+#include \"ortools/sat/cumul...
C++
Apache License 2.0
google/or-tools
work on diffn
261,230
21.01.2022 14:55:46
-3,600
1f5c7409b3de14bae065d0d1fb67b87fed7843ff
[CP-SAT] more presolve on subsumed linear equations
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -3648,27 +3648,6 @@ bool CpModelPresolver::PresolveAllDiff(ConstraintProto* ct) {\nnamespace {\n-// Returns the sorted list of literals for given bool_or or at_most_...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more presolve on subsumed linear equations
261,230
21.01.2022 14:56:09
-3,600
72db2c170afbfe7238fb2bc775a8a07164cee9ac
[CP-SAT] add comments/TODOs on diffn code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/diffn.cc", "new_path": "ortools/sat/diffn.cc", "diff": "@@ -80,9 +80,10 @@ void AddIsEqualToMaxOf(IntegerVariable max_var,\n} // namespace\n-void AddCumulativeRelaxation(const std::vector<IntervalVariable>& x_intervals,\n- SchedulingConstraintHelpe...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add comments/TODOs on diffn code
261,282
23.01.2022 20:43:12
-3,600
8e742dca525dac88a7ba575b31921c8aada75584
allow unsafe code and use it to avoid copying to temp array
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/Google.OrTools.csproj.in", "new_path": "ortools/dotnet/Google.OrTools.csproj.in", "diff": "<LangVersion>9.0</LangVersion>\n<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>\n<RuntimeIdentifiers>win-x64;osx-x64;linux-x64</RuntimeIdentifie...
C++
Apache License 2.0
google/or-tools
allow unsafe code and use it to avoid copying to temp array
261,230
24.01.2022 13:35:16
-3,600
ab519a83398850231248eaf27f05769dd36db5b4
[CP-SAT] ignore names in presolved model
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -7205,6 +7205,21 @@ void CpModelPresolver::PresolveToFixPoint() {\nModelCopy::ModelCopy(PresolveContext* context) : context_(context) {}\n+void ModelCopy::ImportVari...
C++
Apache License 2.0
google/or-tools
[CP-SAT] ignore names in presolved model
261,282
25.01.2022 01:16:38
-3,600
fd67eabfddc19dcd9a08f76c430ff308f0327d47
improve GetVarValueMap
[ { "change_type": "MODIFY", "old_path": "ortools/sat/csharp/CpModel.cs", "new_path": "ortools/sat/csharp/CpModel.cs", "diff": "@@ -26,7 +26,8 @@ public class CpModel\n{\nmodel_ = new CpModelProto();\nconstant_map_ = new Dictionary<long, int>();\n- terms_ = new Queue<Term>();\n+ var_value_map_ = new D...
C++
Apache License 2.0
google/or-tools
improve GetVarValueMap
261,230
26.01.2022 10:07:13
-3,600
22e1f47e0a78327c98ee9ad5219bb75343d323da
[CP-SAT] more presolve on small linear constraints; share clauses of size 2 across workers
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD.bazel", "new_path": "ortools/sat/BUILD.bazel", "diff": "@@ -99,6 +99,7 @@ cc_library(\n\"//ortools/base\",\n\"//ortools/util:bitset\",\n\"//ortools/util:logging\",\n+ \"@com_google_absl//absl/container:btree\",\n\"@com_google_absl//absl/conta...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more presolve on small linear constraints; share clauses of size 2 across workers
261,230
26.01.2022 15:54:33
-3,600
f339e626bd026eedcba15c1a5eb301f9fe49ee18
[CP-SAT] code cleaning; add probing info to the log
[ { "change_type": "MODIFY", "old_path": "ortools/sat/clause.cc", "new_path": "ortools/sat/clause.cc", "diff": "@@ -508,7 +508,11 @@ void BinaryImplicationGraph::AddBinaryClause(Literal a, Literal b) {\nbool BinaryImplicationGraph::AddBinaryClauseDuringSearch(Literal a, Literal b) {\nSCOPED_TIME_STAT(...
C++
Apache License 2.0
google/or-tools
[CP-SAT] code cleaning; add probing info to the log
261,218
27.01.2022 16:32:53
-3,600
bbf434fb3fd188b6d49df1bbcc1342fef8c28240
sync algorithms
[ { "change_type": "MODIFY", "old_path": "ortools/algorithms/find_graph_symmetries.cc", "new_path": "ortools/algorithms/find_graph_symmetries.cc", "diff": "#include <algorithm>\n#include <cstdint>\n#include <limits>\n+#include <memory>\n#include <numeric>\n+#include <string>\n+#include <utility>\n+#in...
C++
Apache License 2.0
google/or-tools
sync algorithms
261,218
27.01.2022 16:33:27
-3,600
d426cef8ef47f876b9b21e3a17c2800f5b6ccb75
routing: update doc
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/doc/CP.md", "new_path": "ortools/constraint_solver/doc/CP.md", "diff": "@@ -12,6 +12,8 @@ Java and .Net. Each language have different requirements for the code samples.\n### C++ code samples\n```cpp\n+#include <string>\n+\n#include \"...
C++
Apache License 2.0
google/or-tools
routing: update doc
261,218
27.01.2022 16:35:42
-3,600
683d1d12e18a52eb32c0969c78c26a047d045bba
sync with google code
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/local_search.cc", "new_path": "ortools/constraint_solver/local_search.cc", "diff": "@@ -2162,7 +2162,9 @@ class MultiArmedBanditCompoundOperator : public LocalSearchOperator {\n// Sets how often we explore rarely used and unsuccessful...
C++
Apache License 2.0
google/or-tools
sync with google code
261,230
27.01.2022 16:59:54
-3,600
da246501e7886d87690cd8e1b70273b4da92ed84
[CP-SAT] more work on binary clauses sharing between workers
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.cc", "new_path": "ortools/sat/cp_model.cc", "diff": "@@ -736,6 +736,20 @@ IntervalVar CpModelBuilder::NewOptionalFixedSizeIntervalVar(\nreturn IntervalVar(index, this);\n}\n+void CpModelBuilder::FixVariable(IntVar var, int64_t value) {\n+ ...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more work on binary clauses sharing between workers
261,218
02.02.2022 14:33:49
-3,600
626bdfb331e8007efecb93071dfeac5cabf1e7e3
Sync math_opt code
[ { "change_type": "MODIFY", "old_path": "ortools/math_opt/cpp/solve_result.cc", "new_path": "ortools/math_opt/cpp/solve_result.cc", "diff": "@@ -285,6 +285,7 @@ SolveStatsProto SolveStats::ToProto() const {\n*proto.mutable_problem_status() = problem_status.ToProto();\nproto.set_simplex_iterations(sim...
C++
Apache License 2.0
google/or-tools
Sync math_opt code
261,218
02.02.2022 14:34:30
-3,600
b455a3323960c9734134f34ee1a179d7de4f0603
math_opt: export tsp.cc sample
[ { "change_type": "MODIFY", "old_path": "ortools/math_opt/samples/BUILD.bazel", "new_path": "ortools/math_opt/samples/BUILD.bazel", "diff": "@@ -99,3 +99,19 @@ cc_binary(\n\"@com_google_absl//absl/strings:str_format\",\n],\n)\n+\n+cc_binary(\n+ name = \"tsp\",\n+ srcs = [\"tsp.cc\"],\n+ deps = [\n+ \...
C++
Apache License 2.0
google/or-tools
math_opt: export tsp.cc sample
261,230
02.02.2022 14:57:42
-3,600
1a8a94dace374febf96ca590dd608bd927a94fa4
[CP-SAT] add more incremental methods on java constraints; use logger in SatSolver;
[ { "change_type": "MODIFY", "old_path": "examples/tests/CpModelTest.java", "new_path": "examples/tests/CpModelTest.java", "diff": "@@ -429,6 +429,14 @@ public final class CpModelTest {\nassertThat(model.model().getConstraints(1).hasInterval()).isTrue();\nassertThat(model.model().getConstraints(2).has...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add more incremental methods on java constraints; use logger in SatSolver;
261,230
02.02.2022 14:57:52
-3,600
316c9e232b60876c53a6c99481ab1fcdc9886f94
add reset api on time limit
[ { "change_type": "MODIFY", "old_path": "ortools/util/time_limit.h", "new_path": "ortools/util/time_limit.h", "diff": "@@ -291,6 +291,18 @@ class TimeLimit {\nvoid ResetLimitFromParameters(const Parameters& parameters);\nvoid MergeWithGlobalTimeLimit(TimeLimit* other);\n+ /**\n+ * Overwrites the dete...
C++
Apache License 2.0
google/or-tools
add reset api on time limit
261,218
04.02.2022 13:53:25
-3,600
dd68cf89088b002ea20e330ce1d80c6b61243d20
Fix README.cc.java.dotnet
[ { "change_type": "MODIFY", "old_path": "tools/README.cc.java.dotnet", "new_path": "tools/README.cc.java.dotnet", "diff": "@@ -6,7 +6,7 @@ OR-Tools is located at https://developers.google.com/optimization\nThese modules have been tested under:\n- - Ubuntu 16.04, 18.04 and 20.04 (64-bit).\n+ - Ubuntu ...
C++
Apache License 2.0
google/or-tools
Fix README.cc.java.dotnet
261,218
04.02.2022 15:32:19
-3,600
2a8ca0d76deceb9453cce7670c06fb3664903465
bazel: fix scip patch
[ { "change_type": "MODIFY", "old_path": "WORKSPACE", "new_path": "WORKSPACE", "diff": "@@ -87,6 +87,7 @@ new_git_repository(\nname = \"scip\",\nbuild_file = \"//bazel:scip.BUILD\",\npatches = [\"//bazel:scip.patch\"],\n+ patch_args = [\"-p1\"],\ntag = \"v800\",\nremote = \"https://github.com/scipopt/...
C++
Apache License 2.0
google/or-tools
bazel: fix scip patch
261,218
04.02.2022 16:52:57
-3,600
03f6e01de7cd4161e81e82c79a2bd636578614aa
bazel: scip patch fixup
[ { "change_type": "MODIFY", "old_path": "bazel/scip.patch", "new_path": "bazel/scip.patch", "diff": "@@ -107,6 +107,25 @@ index 9f7d804f4d..4a254ee55f 100644\n};\n+diff --git a/src/scip/nlpi_xyz.c b/src/scip/nlpi_xyz.c\n+index 3509410b23..901433d2d4 100644\n+--- a/src/scip/nlpi_xyz.c\n++++ b/src/scip...
C++
Apache License 2.0
google/or-tools
bazel: scip patch fixup
261,230
05.02.2022 17:25:28
-3,600
19760f2791b2d8377bf1990a26d649ff99a16ccc
[CP-SAT] polish shaving/probing code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -1456,8 +1456,7 @@ void SolveLoadedCpModel(const CpModelProto& model_proto, Model* model) {\n}\nif (status == SatSolver::FEASIBLE) {\nsolution_observer();\n- }\n- if (st...
C++
Apache License 2.0
google/or-tools
[CP-SAT] polish shaving/probing code
261,218
07.02.2022 11:22:50
-3,600
2a7df8c705785d404533ec7c2f91e3a833fc8309
bazel: update patch
[ { "change_type": "MODIFY", "old_path": "bazel/scip.patch", "new_path": "bazel/scip.patch", "diff": "+diff --git a/.gitignore b/.gitignore\n+index 4fbbc0e3b3..964b2d030d 100644\n+--- a/.gitignore\n++++ b/.gitignore\n+@@ -83,8 +83,6 @@ hooks/\n+ localhooks/\n+\n+ # created when packaging, don't versio...
C++
Apache License 2.0
google/or-tools
bazel: update patch
261,218
07.02.2022 13:33:12
-3,600
96986b5c7a57a84670e035347da616f2c6f4ded7
bazel(scip): Fix remaining empty struct find using: ```sh grepc -RIn -Pzo "struct SCIP_.*\n{\n}.\n" src/scip ```
[ { "change_type": "MODIFY", "old_path": "bazel/scip.patch", "new_path": "bazel/scip.patch", "diff": "@@ -11,6 +11,21 @@ index 4fbbc0e3b3..964b2d030d 100644\n# settings\nsettings/\n+diff --git a/CHANGELOG b/CHANGELOG\n+index 24eb800135..6f5f57eef0 100644\n+--- a/CHANGELOG\n++++ b/CHANGELOG\n+@@ -2463,...
C++
Apache License 2.0
google/or-tools
bazel(scip): Fix remaining empty struct find using: ```sh grepc -RIn -Pzo "struct SCIP_.*\n{\n}.\n" src/scip ```
261,230
11.02.2022 13:40:22
-3,600
0274d021ccdaa386516f71cf6380f2a19f62cf76
[CP-SAT] reduce amount of logging
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_lns.cc", "new_path": "ortools/sat/cp_model_lns.cc", "diff": "@@ -55,6 +55,7 @@ NeighborhoodGeneratorHelper::NeighborhoodGeneratorHelper(\nInitializeHelperData();\nRecomputeHelperData();\nSynchronize();\n+ last_logging_time_ = absl::Now();\...
C++
Apache License 2.0
google/or-tools
[CP-SAT] reduce amount of logging
261,230
11.02.2022 15:02:47
-3,600
fca9e871d39e8f3779dc03781d7116baa3eb2265
simplify previous code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD.bazel", "new_path": "ortools/sat/BUILD.bazel", "diff": "@@ -102,6 +102,7 @@ cc_library(\n\"@com_google_absl//absl/container:btree\",\n\"@com_google_absl//absl/container:flat_hash_set\",\n\"@com_google_absl//absl/synchronization\",\n+ \"@com_g...
C++
Apache License 2.0
google/or-tools
simplify previous code
261,218
11.02.2022 16:22:33
-3,600
09c5f1534fae6dc8668be6f885c938ebaf4ba1f3
sync ortools/base
[ { "change_type": "MODIFY", "old_path": "ortools/base/BUILD.bazel", "new_path": "ortools/base/BUILD.bazel", "diff": "@@ -279,6 +279,7 @@ cc_library(\ndeps = [\n\":base\",\n\"@com_google_absl//absl/status\",\n+ \"@com_google_absl//absl/strings\",\n],\n)\n" }, { "change_type": "MODIFY", "ol...
C++
Apache License 2.0
google/or-tools
sync ortools/base
261,230
14.02.2022 10:25:55
-3,600
2b1e0004fed32d3555cbd11f4520f795a75c2ecc
add python test for SolveWithProto
[ { "change_type": "MODIFY", "old_path": "examples/tests/lp_test.py", "new_path": "examples/tests/lp_test.py", "diff": "\"\"\"Tests for ortools.linear_solver.pywraplp.\"\"\"\nimport unittest\n+from google.protobuf import text_format\nfrom ortools.linear_solver import linear_solver_pb2\nfrom ortools.li...
C++
Apache License 2.0
google/or-tools
add python test for SolveWithProto
261,230
14.02.2022 10:37:34
-3,600
d2a66654b4bb65f153c2c4618282e736c935200c
polish python test for SolveWithProto
[ { "change_type": "MODIFY", "old_path": "examples/tests/lp_test.py", "new_path": "examples/tests/lp_test.py", "diff": "@@ -230,10 +230,12 @@ class PyWrapLpTest(unittest.TestCase):\nprint(result_status) # outputs: 0\ndef testLoadSolutionFromProto(self):\n+ print('testLoadSolutionFromProto')\nsolver = ...
C++
Apache License 2.0
google/or-tools
polish python test for SolveWithProto
261,230
14.02.2022 13:31:52
-3,600
d78ce574fcdfcf3bd441c2e19e1cb5141a0189a0
[CP-SAT] inactive max_hs code; use better core code when the objective is pseudo-boolean
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD.bazel", "new_path": "ortools/sat/BUILD.bazel", "diff": "@@ -196,6 +196,7 @@ cc_library(\n\":lb_tree_search\",\n\":linear_programming_constraint\",\n\":linear_relaxation\",\n+ \":max_hs\",\n\":model\",\n\":optimization\",\n\":parameters_valida...
C++
Apache License 2.0
google/or-tools
[CP-SAT] inactive max_hs code; use better core code when the objective is pseudo-boolean
261,230
15.02.2022 17:57:21
-3,600
c3be16e0b395767a094a7ac0318bff07a7d51981
[LP-DATA] use strong integers; enable parsing of MPS models in strings
[ { "change_type": "MODIFY", "old_path": "ortools/lp_data/BUILD.bazel", "new_path": "ortools/lp_data/BUILD.bazel", "diff": "@@ -38,9 +38,9 @@ cc_library(\ndeps = [\n\"//ortools/base\",\n\"//ortools/base:hash\",\n- \"//ortools/base:intops\",\n\"//ortools/base:strong_vector\",\n\"//ortools/util:bitset\"...
C++
Apache License 2.0
google/or-tools
[LP-DATA] use strong integers; enable parsing of MPS models in strings
261,230
15.02.2022 17:57:52
-3,600
921db208baf29800e6780f7357c63ad1f2c6089c
[BASE] add missing API
[ { "change_type": "MODIFY", "old_path": "ortools/base/BUILD.bazel", "new_path": "ortools/base/BUILD.bazel", "diff": "@@ -162,6 +162,7 @@ cc_library(\n],\ndeps = [\n\":base\",\n+ \":status_macros\",\n\"@com_google_absl//absl/status\",\n\"@com_google_absl//absl/strings\",\n\"@com_google_protobuf//:prot...
C++
Apache License 2.0
google/or-tools
[BASE] add missing API
261,230
15.02.2022 17:59:20
-3,600
2c6aed6cee9e0c425cd77bedffc83e56d360ccff
[UTIL] add status_macros.h; add template to strong integers
[ { "change_type": "MODIFY", "old_path": "ortools/util/BUILD.bazel", "new_path": "ortools/util/BUILD.bazel", "diff": "@@ -446,3 +446,12 @@ cc_library(\n\"@com_google_absl//absl/strings\",\n],\n)\n+\n+cc_library(\n+ name = \"status_macros\",\n+ hdrs = [\"status_macros.h\"],\n+ deps = [\n+ \"//ortools/b...
C++
Apache License 2.0
google/or-tools
[UTIL] add status_macros.h; add template to strong integers
261,230
15.02.2022 18:33:14
-3,600
e1d25c96ee6afd87a34126f5f49e580db232b851
generate proto3 version of the linear solver proto in C#
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -119,6 +119,19 @@ $(GEN_DIR)/ortools/constraint_solver/RoutingEnums.pb.cs: \\\n--csharp_opt=file_extension=.pb.cs \\\n$(SRC_DIR)$Sortools$Sconstraint_solver$Srouting_enums.p...
C++
Apache License 2.0
google/or-tools
generate proto3 version of the linear solver proto in C#
261,230
16.02.2022 14:18:28
-3,600
284a4fac325775349d041c5231937bedc330b6d2
bump COIN-OR tools to the latest version
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -22,13 +22,11 @@ PROTOC_BINARY := $(shell $(WHICH) ${UNIX_PROTOC_BINARY})\n# Tags of dependencies to checkout.\nPROTOBUF_TAG = v3.19.4\nABSL_TAG = 202111...
C++
Apache License 2.0
google/or-tools
bump COIN-OR tools to the latest version
261,230
16.02.2022 14:58:02
-3,600
fdde8f94286902d5fd5ef132637ff30b1bb77401
[BOP] Use strong index in the code
[ { "change_type": "MODIFY", "old_path": "ortools/bop/bop_fs.h", "new_path": "ortools/bop/bop_fs.h", "diff": "#include \"ortools/base/integral_types.h\"\n#include \"ortools/base/logging.h\"\n#include \"ortools/base/macros.h\"\n-#include \"ortools/base/strong_int.h\"\n#include \"ortools/bop/bop_base.h\...
C++
Apache License 2.0
google/or-tools
[BOP] Use strong index in the code
261,218
16.02.2022 14:59:15
-3,600
19b78b391b731234a1be6270274c5044a4cd18de
pdlp: comment fixup
[ { "change_type": "MODIFY", "old_path": "ortools/pdlp/solvers.proto", "new_path": "ortools/pdlp/solvers.proto", "diff": "@@ -244,7 +244,7 @@ message PrimalDualHybridGradientParams {\noptional bool use_glop = 1;\n// Parameters to control glop's presolver. Only used when use_glop is true.\n- // These a...
C++
Apache License 2.0
google/or-tools
pdlp: comment fixup
261,218
16.02.2022 16:19:26
-3,600
985b6a9239e89e5a8820a052f623b85d5da242f3
Fix clang-format in examples/
[ { "change_type": "MODIFY", "old_path": "examples/contrib/vrptw_fixed_penalty.cs", "new_path": "examples/contrib/vrptw_fixed_penalty.cs", "diff": "@@ -16,9 +16,9 @@ using System;\nusing Google.OrTools.ConstraintSolver;\n/// <summary>\n-/// Vehicles Routing Problem (VRP) with Time Windows, with the di...
C++
Apache License 2.0
google/or-tools
Fix clang-format in examples/
261,218
16.02.2022 17:38:48
-3,600
761982a17fe73583339bf01f4bfee2a874b7ad5b
cmake: Add PDLP support
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -144,6 +144,21 @@ if(BUILD_LP_PARSER)\nendif()\n# Optional third party solvers (enabled by default)\n+## PDLP\n+CMAKE_DEPENDENT_OPTION(USE_PDLP \"Use the PDLP solver\" ON \"BUILD_CXX\" OFF)\n+message(S...
C++
Apache License 2.0
google/or-tools
cmake: Add PDLP support
261,230
17.02.2022 16:20:21
-3,600
29662f2006c7d475231afec97414bdea8ebce550
[CP-SAT] Improve assumptions algorithm; tweak lb_tree_search
[ { "change_type": "MODIFY", "old_path": "ortools/sat/encoding.cc", "new_path": "ortools/sat/encoding.cc", "diff": "@@ -76,12 +76,13 @@ void EncodingNode::InitializeLazyNode(EncodingNode* a, EncodingNode* b,\n}\nbool EncodingNode::IncreaseCurrentUB(SatSolver* solver) {\n- CHECK(!literals_.empty());\ni...
C++
Apache License 2.0
google/or-tools
[CP-SAT] Improve assumptions algorithm; tweak lb_tree_search
261,230
17.02.2022 17:12:15
-3,600
3e271e778e4e661d0d488cdb6bc85fee0dedbc71
[CP-SAT] fix cores
[ { "change_type": "MODIFY", "old_path": "ortools/sat/optimization.cc", "new_path": "ortools/sat/optimization.cc", "diff": "@@ -1455,6 +1455,8 @@ void CoreBasedOptimizer::ComputeNextStratificationThreshold() {\n}\nbool CoreBasedOptimizer::CoverOptimization() {\n+ if (!sat_solver_->ResetToLevelZero()) ...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix cores
261,230
17.02.2022 17:12:45
-3,600
711b2a0d1ac17721122022cae3d73f304195a6c4
simpler code/comments for lb_tree_search restarts
[ { "change_type": "MODIFY", "old_path": "ortools/sat/lb_tree_search.cc", "new_path": "ortools/sat/lb_tree_search.cc", "diff": "@@ -164,11 +164,13 @@ SatSolver::Status LbTreeSearch::Search(\n}\n// We currently restart the search tree from scratch from time to times:\n- // - every kNumBranchesBeforeIni...
C++
Apache License 2.0
google/or-tools
simpler code/comments for lb_tree_search restarts
261,230
18.02.2022 11:00:53
-3,600
dd2bebdd383de6d958011e3e3880f41286023f30
add java test
[ { "change_type": "MODIFY", "old_path": "examples/tests/CpModelTest.java", "new_path": "examples/tests/CpModelTest.java", "diff": "@@ -19,6 +19,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;\nimport com.google.ortools.Loader;\nimport com.google.ortools.sat.LinearArgumentProto;\nim...
C++
Apache License 2.0
google/or-tools
add java test
261,248
18.02.2022 12:02:13
-3,600
5847986bee336ba96759cd019d5aedc2f92e9293
Fix build with debug GNU STL
[ { "change_type": "MODIFY", "old_path": "ortools/sat/encoding.h", "new_path": "ortools/sat/encoding.h", "diff": "@@ -138,6 +138,10 @@ class EncodingNode {\n// In debug, with msvc, std::Vector<T> is 32\nstatic_assert(sizeof(EncodingNode) == 72,\n\"ERROR_EncodingNode_is_not_well_compacted\");\n+#elif d...
C++
Apache License 2.0
google/or-tools
Fix build with debug GNU STL
261,218
18.02.2022 15:06:12
-3,600
ef9755c22f72a766f4016e19403d8303120ba1b2
cmake: Bump COIN-OR (Fix Cbc: 2.10.7 Cgl: 0.60.5 Clp: 1.17.7 Osi: 0.108.7 CoinUtils: 2.11.6
[ { "change_type": "MODIFY", "old_path": "cmake/dependencies/CMakeLists.txt", "new_path": "cmake/dependencies/CMakeLists.txt", "diff": "@@ -206,7 +206,7 @@ if(BUILD_CoinUtils)\nFetchContent_Declare(\nCoinUtils\nGIT_REPOSITORY \"https://github.com/Mizux/CoinUtils.git\"\n- GIT_TAG \"stable/2.11\"\n+ GIT...
C++
Apache License 2.0
google/or-tools
cmake: Bump COIN-OR (Fix #3134) Cbc: 2.10.7 Cgl: 0.60.5 Clp: 1.17.7 Osi: 0.108.7 CoinUtils: 2.11.6
261,218
18.02.2022 15:13:33
-3,600
6392b72624cca3170c08b302be259339b50917f3
cmake: Enable lp_parser build by default
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -81,12 +81,12 @@ include(CMakeDependentOption)\nCMAKE_DEPENDENT_OPTION(BUILD_FLATZINC \"Build flatzinc\" ON \"BUILD_CXX\" OFF)\nmessage(STATUS \"Build Flatzinc: ${BUILD_FLATZINC}\")\n+CMAKE_DEPENDENT_O...
C++
Apache License 2.0
google/or-tools
cmake: Enable lp_parser build by default
261,218
18.02.2022 16:20:33
-3,600
ab183e917762b3ad60e959f5cb29bd99b0980753
cmake: require C++20 needed by pdlp/
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -12,7 +12,7 @@ message(STATUS \"${PROJECT_NAME} version: ${PROJECT_VERSION}\")\n#message(STATUS \"minor: ${PROJECT_VERSION_MINOR}\")\n#message(STATUS \"patch: ${PROJECT_VERSION_PATCH}\")\n-set(CMAKE_CX...
C++
Apache License 2.0
google/or-tools
cmake: require C++20 needed by pdlp/
261,218
18.02.2022 16:27:42
-3,600
b4d3a3d8f95cc17a9f111c0eefbee31335f63781
make: require C++20 needed by pdlp/
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.unix.mk", "new_path": "makefiles/Makefile.unix.mk", "diff": "@@ -110,7 +110,7 @@ DEBUG = -O4 -DNDEBUG\nJNIDEBUG = -O1 -DNDEBUG\nifeq ($(PLATFORM),LINUX)\n- CCC = g++ -fPIC -std=c++17 -fwrapv\n+ CCC = g++ -fPIC -std=c++20 -fwrapv\nDYNAMIC_LD ...
C++
Apache License 2.0
google/or-tools
make: require C++20 needed by pdlp/
261,218
18.02.2022 16:27:52
-3,600
1572a841c7811785c1229c8ec716fc8febdbbf68
bazel: require C++20 needed by pdlp/
[ { "change_type": "MODIFY", "old_path": ".github/workflows/bazel_linux.yml", "new_path": ".github/workflows/bazel_linux.yml", "diff": "@@ -23,6 +23,6 @@ jobs:\nsudo apt-get install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=-std=c++17 //...:all\n+ run: bazel build --cxxopt=-st...
C++
Apache License 2.0
google/or-tools
bazel: require C++20 needed by pdlp/
261,230
18.02.2022 19:04:21
-3,600
744db669e286d33a5e2dc9d1c86f73306548cfd4
fix make builds
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -19,11 +19,49 @@ else\nendif\n# All libraries and dependecies\n+ifeq ($(PLATFORM),WIN64)\nOR_TOOLS_LIBS = $(LIB_DIR)/$(LIB_PREFIX)ortools.$L\n+OR_TOOLS_LIB_MAJOR = $(LIB_DIR)/$(LI...
C++
Apache License 2.0
google/or-tools
fix make builds
261,230
19.02.2022 09:04:20
-3,600
6b9ba5e38c6b3e6357b442784b9b62c6167bc288
[CP-SAT] clear the previous objective when minimizing or maximizing in the 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": "@@ -912,6 +912,8 @@ public final class CpModel {\n/** Adds a minimization objective of a linear expression. */\npublic void minimize(Lin...
C++
Apache License 2.0
google/or-tools
[CP-SAT] clear the previous objective when minimizing or maximizing in the java API
261,230
19.02.2022 09:57:21
-3,600
42e0f3a2c1a277234a774c560172d98e940c13d9
enable glpk_deleter
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/glpk/BUILD.bazel", "diff": "+# Code specific to Glpk solver used by linear_solver/ and math_opt/.\n+package(default_visibility = [\"//ortools:__subpackages__\"])\n+\n+cc_library(\n+ name = \"glpk_env_deleter\",\n+ srcs = [\"glpk_env_dele...
C++
Apache License 2.0
google/or-tools
enable glpk_deleter
261,230
19.02.2022 09:57:37
-3,600
3d60e313e660afbfbcc4a77064b69719adebcc4e
add default solver type to linear_solver.proto
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/linear_solver.proto", "new_path": "ortools/linear_solver/linear_solver.proto", "diff": "@@ -447,7 +447,7 @@ message MPModelRequest {\nPDLP_LINEAR_PROGRAMMING = 8;\nKNAPSACK_MIXED_INTEGER_PROGRAMMING = 13;\n}\n- optional SolverType solver_...
C++
Apache License 2.0
google/or-tools
add default solver type to linear_solver.proto
261,230
19.02.2022 09:57:59
-3,600
60786fe9fd61ec940ce0fdfb0c9885c490e2b378
[CP-SAT] improve core solving by processing binary clauses first
[ { "change_type": "MODIFY", "old_path": "ortools/sat/sat_solver.cc", "new_path": "ortools/sat/sat_solver.cc", "diff": "@@ -584,16 +584,10 @@ bool SatSolver::ResetWithGivenAssumptions(\nif (!ResetToLevelZero()) return false;\nif (assumptions.empty()) return true;\n- // We do not use EnqueueNewDecision...
C++
Apache License 2.0
google/or-tools
[CP-SAT] improve core solving by processing binary clauses first
261,230
19.02.2022 12:56:45
-3,600
cd269c63dc21eeddc0f65ebb03bc37a1c2441b06
support vs2022
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.port.mk", "new_path": "makefiles/Makefile.port.mk", "diff": "@@ -149,6 +149,12 @@ ifeq (\"$(SYSTEM)\",\"win\")\nVS_RELEASE = v142\nCMAKE_PLATFORM = \"Visual Studio 16 2019\" -A x64\nendif\n+ ifeq (\"$(VisualStudioVersion)\",\"17.0\")\n+ VISU...
C++
Apache License 2.0
google/or-tools
support vs2022
261,230
19.02.2022 15:05:17
-3,600
0266492da6e5b4f8dcbc81d0c88991fb28c19bbb
more work on makefiles/cmake.cpp
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -2,6 +2,8 @@ if(NOT BUILD_CXX)\nreturn()\nendif()\n+\n+\n# Main Target\nadd_library(${PROJECT_NAME} \"\")\n# Xcode fails to build if library doesn't contains at least one source file.\n@@ -95,13 +97,...
C++
Apache License 2.0
google/or-tools
more work on makefiles/cmake.cpp
261,230
19.02.2022 16:21:46
-3,600
357ff0858107edb3af4b8b9efa29072214e4432d
fix C++20 for windows when compiling pdlp
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -97,23 +97,14 @@ target_include_directories(${PROJECT_NAME} INTERFACE\n$<INSTALL_INTERFACE:include>\n)\n-if (win32)\n-set(cxx_compile_feature \"cxx_std_20\")\n-else()\n-set(cxx_compile_feature \"cxx_...
C++
Apache License 2.0
google/or-tools
fix C++20 for windows when compiling pdlp
261,230
19.02.2022 17:01:41
-3,600
1ff01c893249cf7f8c48ee96fe05ab0885ccf23a
fix compilation of pywrapinit; add SRC_DIR to the includes; use swig.exe on the path
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -119,7 +119,7 @@ $(GEN_DIR)/ortools/init/pywrapinit.py: \\\n$(SRC_DIR)/ortools/init/python/init.i \\\n$(INIT_DEPS) \\\n| $(GEN_DIR)/ortools/init\n- $(SWIG_BINARY) $(SWIG_INC...
C++
Apache License 2.0
google/or-tools
fix compilation of pywrapinit; add SRC_DIR to the includes; use swig.exe on the path
261,230
19.02.2022 18:14:59
-3,600
69283323420e9b5a171ff7476f1b6d4f7b8b1481
makefiles -> force RELEASE mode
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -43,10 +43,10 @@ or-tools-libs: $(OR_TOOLS_LIBS)\n# OR Tools unique library.\n$(OR_TOOLS_LIBS): third_party\n- cmake --build dependencies --target install -j 8\n+ cmake --build de...
C++
Apache License 2.0
google/or-tools
makefiles -> force RELEASE mode
261,230
19.02.2022 21:56:17
-3,600
9054d34fa0bd9ed81a4b3ad404922bf221977274
always use JAVA_HOME on windows; full DEPENDENCIES_LNK on windows
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.port.mk", "new_path": "makefiles/Makefile.port.mk", "diff": "@@ -173,13 +173,6 @@ ifeq (\"$(SYSTEM)\",\"win\")\n# Third party specific\nCBC_PLATFORM = $(CBC_PLATFORM_PREFIX)-$(VS_RELEASE)-Release\n- # Java specific\n- ifeq ($(JAVA_HOME),)\n-...
C++
Apache License 2.0
google/or-tools
always use JAVA_HOME on windows; full DEPENDENCIES_LNK on windows
261,230
20.02.2022 09:05:57
-3,600
476e3b4ef4f1bb173260cdfd9c17feb8560bf560
fix install_cc
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -458,118 +458,21 @@ endif\n# ref: https://www.gnu.org/prep/standards/html_node/DESTDIR.html\ninstall_dirs:\n-$(MKDIR_P) \"$(DESTDIR)$(prefix)\"\n- -$(MKDIR) \"$(DESTDIR)$(prefix)$...
C++
Apache License 2.0
google/or-tools
fix install_cc
261,230
20.02.2022 09:09:35
-3,600
e8d73acb1692e6138e7914ab93a6aaee57845e39
fix make linux net
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -432,11 +432,11 @@ $(TEMP_DOTNET_DIR)/$(DOTNET_ORTOOLS_RUNTIME_ASSEMBLY_NAME)/$(DOTNET_ORTOOLS_RUNT\n$(TEMP_DOTNET_DIR)$S$(DOTNET_ORTOOLS_RUNTIME_ASSEMBLY_NAME)$S$(DOTNET_OR...
C++
Apache License 2.0
google/or-tools
fix make linux net
261,230
20.02.2022 09:16:49
-3,600
e7bf9f75016daf450d2fa8f937358ba7d5772105
should fix bazel workflows
[ { "change_type": "MODIFY", "old_path": ".github/workflows/bazel_linux.yml", "new_path": ".github/workflows/bazel_linux.yml", "diff": "@@ -23,6 +23,6 @@ jobs:\nsudo apt-get install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=-std=c++17 //...:all\n+ run: bazel build --cxxopt=-st...
C++
Apache License 2.0
google/or-tools
should fix bazel workflows
261,230
20.02.2022 09:18:52
-3,600
02c3f0ddc901330688f83fdc825df81f954df8d3
fix paths in bazel glpk
[ { "change_type": "MODIFY", "old_path": "bazel/glpk.BUILD", "new_path": "bazel/glpk.BUILD", "diff": "@@ -2,31 +2,31 @@ cc_library(\nname = \"glpk\",\nsrcs = glob(\n[\n- \"glpk-4.65/src/*.c\",\n- \"glpk-4.65/src/*/*.c\",\n- \"glpk-4.65/src/*.h\",\n- \"glpk-4.65/src/*/*.h\",\n+ \"glpk-5.0/src/*.c\",\n+...
C++
Apache License 2.0
google/or-tools
fix paths in bazel glpk
261,230
20.02.2022 09:31:08
-3,600
c3a81df03ddde377c3ca259eb7a3173580afb4a3
fix glpk bazel
[ { "change_type": "MODIFY", "old_path": "bazel/glpk.BUILD", "new_path": "bazel/glpk.BUILD", "diff": "@@ -17,13 +17,18 @@ cc_library(\n\"-w\",\n\"-Iexternal/glpk/glpk-5.0/src\",\n\"-Iexternal/glpk/glpk-5.0/src/amd\",\n+ \"-Iexternal/glpk/glpk-5.0/src/api\",\n\"-Iexternal/glpk/glpk-5.0/src/bflib\",\n- ...
C++
Apache License 2.0
google/or-tools
fix glpk bazel
261,230
20.02.2022 15:17:42
-3,600
e75ea915d8a4920cfaca9654c366ff86a79bbf7b
tweak makefiles
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -21,14 +21,11 @@ endif\n# All libraries and dependecies\nifeq ($(PLATFORM),WIN64)\nOR_TOOLS_LIBS = $(LIB_DIR)/$(LIB_PREFIX)ortools.$L\n-OR_TOOLS_LIB_MAJOR = $(LIB_DIR)/$(LIB_PREFI...
C++
Apache License 2.0
google/or-tools
tweak makefiles
261,218
21.02.2022 10:51:33
-3,600
3dde655176af1e6e5d005196471ea859748b2d0c
cmake(python): Add pybind11 dependency
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -225,6 +225,9 @@ if(BUILD_JAVA)\nendif()\nif(BUILD_PYTHON)\n+ option(BUILD_pybind11 \"Build pybind11 library\" ON)\n+ message(STATUS \"Build pybind11: ${BUILD_pybind11}\")\n+\noption(FETCH_PYTHON_DEPS ...
C++
Apache License 2.0
google/or-tools
cmake(python): Add pybind11 dependency
261,230
21.02.2022 11:55:25
-3,600
c1cc32fdb1b8ed5d99216183d51ca4cf244482ea
remove make based python building
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -10,585 +10,41 @@ else\n@echo\nendif\n-OR_TOOLS_PYTHONPATH = $(OR_ROOT_FULL)$(CPSEP)$(OR_ROOT_FULL)$Sdependencies$S_deps$Sprotobuf-src$Spython\n-\n-# Check for required buil...
C++
Apache License 2.0
google/or-tools
remove make based python building
261,230
21.02.2022 14:14:16
-3,600
c3e60f08ef9416015b7414647d9740f203d8e55e
fix github workflows for make
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_linux_dotnet.yml", "new_path": ".github/workflows/make_linux_dotnet.yml", "diff": "@@ -30,11 +30,9 @@ jobs:\n- name: Check .Net\nrun: make detect_dotnet\n- name: Build third party\n- run: make third_party -j4\n- - name: Build C++\n- run:...
C++
Apache License 2.0
google/or-tools
fix github workflows for make
261,218
21.02.2022 15:29:54
-3,600
172227d54d6a2c17e9397e1c05eb85389521442b
cmake(python): disable venv option `--system-site-packages`
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -228,6 +228,9 @@ if(BUILD_PYTHON)\noption(BUILD_pybind11 \"Build pybind11 library\" ON)\nmessage(STATUS \"Build pybind11: ${BUILD_pybind11}\")\n+ option(VENV_USE_SYSTEM_SITE_PACKAGES \"Python venv can ...
C++
Apache License 2.0
google/or-tools
cmake(python): disable venv option `--system-site-packages`
261,218
21.02.2022 15:32:42
-3,600
c0ab8ed4e9bf2a1db8ce7edf4fc8cb29679b8c2c
cmake: rework default build type management
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -20,11 +20,22 @@ set(CMAKE_CXX_EXTENSIONS OFF)\nset(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)\n# Default Build Type to be Release\n+get_property(isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)\n+if(i...
C++
Apache License 2.0
google/or-tools
cmake: rework default build type management
261,218
21.02.2022 16:57:07
-3,600
f899cc6a992b88ef7cef6f67813582e231c528af
make: Fix windows cmake build
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -40,7 +40,7 @@ or-tools-libs: $(OR_TOOLS_LIBS)\n# OR Tools unique library.\n$(OR_TOOLS_LIBS): $(THIRD_PARTY_TARGET)\n- cmake --build dependencies --target install --config RELEASE...
C++
Apache License 2.0
google/or-tools
make: Fix windows cmake build
261,218
21.02.2022 17:37:36
-3,600
c1e3c6b94969f727d11aa4c77eacb46a9f141b7e
cmake: Build swig in Release
[ { "change_type": "MODIFY", "old_path": "cmake/dependencies/CMakeLists.txt", "new_path": "cmake/dependencies/CMakeLists.txt", "diff": "@@ -19,7 +19,7 @@ if(WIN32\nendif()\nexecute_process(\n- COMMAND ${CMAKE_COMMAND} --build project_build --config ${CMAKE_BUILD_TYPE}\n+ COMMAND ${CMAKE_COMMAND} --bui...
C++
Apache License 2.0
google/or-tools
cmake: Build swig in Release
261,230
21.02.2022 17:45:51
-3,600
3f0c85d5e0545de6780ff4c1f3532914c2d17eb4
readd make python java dotnet
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -44,6 +44,7 @@ $(OR_TOOLS_LIBS): $(THIRD_PARTY_TARGET)\n$(TOUCH) $(OR_TOOLS_LIBS)\ncompile_libraries: $(OR_TOOLS_LIBS)\n+cc: OR_TOOLS_LIBS\ntest_cc: \\\n$(OR_TOOLS_LIBS) \\\n" }...
C++
Apache License 2.0
google/or-tools
readd make python java dotnet
261,230
22.02.2022 10:11:08
-3,600
ffad5bbc40f0086f18e0bbbecb5fd6ae370dedd3
huge makefile cleanup; remove Makefile.local; detect all languages
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -53,9 +53,6 @@ include $(OR_ROOT)Version.txt\ninclude $(OR_ROOT)makefiles/Makefile.port.mk\nOR_ROOT_FULL=$(OR_TOOLS_TOP)\n-# Load local variables\n-include $(OR_ROOT)Makefile.local\n-\n# Change the file extensions...
C++
Apache License 2.0
google/or-tools
huge makefile cleanup; remove Makefile.local; detect all languages
261,230
22.02.2022 10:36:26
-3,600
fb79dedb2d314f97b84177ea8678e56021106d8f
more work on makefiles
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -90,9 +90,6 @@ help_doc:\nendif\n-# Finally include user makefile if it exists\n--include $(OR_ROOT)Makefile.user\n-\n.PHONY: help_usage\nhelp_usage:\n@echo Use one of the following targets:\n@@ -113,22 +110,24 @@...
C++
Apache License 2.0
google/or-tools
more work on makefiles
261,230
22.02.2022 10:50:50
-3,600
ff670072ed7c8e053e6ab318f3bf1269114e17c7
add check targets
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -4,6 +4,7 @@ dotnet:\ntest_dotnet: dotnet\npackage_dotnet: dotnet\n+check_dotnet: dotnet\nelse\n.PHONY: help_dotnet # Generate list of dotnet targets with descriptions.\n" ...
C++
Apache License 2.0
google/or-tools
add check targets
261,230
22.02.2022 18:30:35
-3,600
2657ab11d89595e4faed78eaf199f1ef5150b9e0
fix workflows to build only the target languages
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_linux_cpp.yml", "new_path": ".github/workflows/make_linux_cpp.yml", "diff": "@@ -15,9 +15,9 @@ jobs:\n- name: Check C++\nrun: make detect_cc\n- name: Build third party\n- run: make third_party -j4\n+ run: make third_party BUILD_PYTHON=OF...
C++
Apache License 2.0
google/or-tools
fix workflows to build only the target languages
261,230
22.02.2022 18:57:40
-3,600
6246f8f63ced9ce946af506d05016de25c0a7039
still used by routing.i
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/util/python/sorted_interval_list.i", "diff": "+// Copyright 2010-2021 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may ob...
C++
Apache License 2.0
google/or-tools
still used by routing.i
261,298
22.02.2022 19:07:35
-3,600
22ea3cfb8e1364d5f82eb2a858bab7b517b86896
Minor doc fix: Remove extra bracket
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/scheduling.md", "new_path": "ortools/sat/doc/scheduling.md", "diff": "@@ -687,7 +687,7 @@ performed intervals that precede each interval.\nThis is slightly complicated if some interval variables are optional. To\nimplement it, we will create a ...
C++
Apache License 2.0
google/or-tools
Minor doc fix: Remove extra bracket
261,230
22.02.2022 20:45:45
-3,600
d01da2b0b53792d988764eacf05c1aa22e7e909d
protect resource code from swig
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/routing.h", "new_path": "ortools/constraint_solver/routing.h", "diff": "@@ -383,6 +383,7 @@ class RoutingModel {\n// clang-format on\n};\n+ #if !defined(SWIG)\n/// A ResourceGroup defines a set of available Resources with attributes o...
C++
Apache License 2.0
google/or-tools
protect resource code from swig
261,230
23.02.2022 10:29:21
-3,600
49a629afa76cc3e43a2ed53075397b65e0957ec3
add BUILD_TYPE and JOBS to make commands
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -29,6 +29,8 @@ OR_TOOLS_LIBS = $(LIB_DIR)/$(LIB_PREFIX)ortools.$L.$(OR_TOOLS_MAJOR)\nendif\nendif\n+JOBS ?= 4\n+\n# Main target\n.PHONY: cc # Build C++ OR-Tools library.\n.PHONY: ...
C++
Apache License 2.0
google/or-tools
add BUILD_TYPE and JOBS to make commands
261,218
23.02.2022 10:59:05
-3,600
0bf1ad0fc022889f4bc8c72409d687f0158755b1
ci: Fix macos python job
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_macos_python.yml", "new_path": ".github/workflows/make_macos_python.yml", "diff": "@@ -12,14 +12,14 @@ jobs:\nrun: |\nbrew install make\necho \"/usr/local/opt/make/libexec/gnubin\" >> $GITHUB_PATH\n- - name: Install python3 packages\n- r...
C++
Apache License 2.0
google/or-tools
ci: Fix macos python job
261,230
23.02.2022 13:04:03
-3,600
d95e0a0f0c97156d637e93e9de028f810e522798
fix CP-SAT python samples not stopping
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD.bazel", "new_path": "ortools/sat/BUILD.bazel", "diff": "@@ -1508,6 +1508,7 @@ cc_library(\ncc_library(\nname = \"swig_helper\",\n+ srcs = [\"swig_helper.cc\"],\nhdrs = [\"swig_helper.h\"],\nvisibility = [\n\"//ortools/sat/java:__pkg__\",\n" ...
C++
Apache License 2.0
google/or-tools
fix CP-SAT python samples not stopping
261,218
23.02.2022 08:05:44
-3,600
62062f511546b09f0aedbda705299ebc141cf23c
remove shell check
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.win.mk", "new_path": "makefiles/Makefile.win.mk", "diff": "@@ -78,15 +78,6 @@ ZIP = tools\\win\\zip.exe\nWGET = tools\\win\\wget.exe\nWHICH = tools\\win\\which.exe\n-# We Can't force SHELL to cmd.exe if sh.exe is in the PATH\n-# cf https://w...
C++
Apache License 2.0
google/or-tools
remove shell check
261,218
23.02.2022 14:55:48
-3,600
e01e061bb699ca72afb1dda72683992f3827df5e
cmake: cpp.cmake cleanup
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -2,8 +2,6 @@ if(NOT BUILD_CXX)\nreturn()\nendif()\n-\n-\n# Main Target\nadd_library(${PROJECT_NAME} \"\")\n# Xcode fails to build if library doesn't contains at least one source file.\n@@ -100,7 +98,...
C++
Apache License 2.0
google/or-tools
cmake: cpp.cmake cleanup
261,218
23.02.2022 16:17:40
-3,600
1270bda01bf149fe8ded4d7e4af8cbd8005018ec
bazel: fixup
[ { "change_type": "MODIFY", "old_path": "bazel/README.md", "new_path": "bazel/README.md", "diff": "@@ -42,8 +42,9 @@ You'll need:\n## Dependencies\n-OR-Tools depends on severals mandatory libraries.\n+OR-Tools depends on several mandatory libraries.\n+* Eigen\n* Google Abseil-cpp,\n* Google Protobuf,...
C++
Apache License 2.0
google/or-tools
bazel: fixup
261,230
23.02.2022 17:10:23
-3,600
6d7ea81ae7337005e4f0ce6f3d030b074458573e
few bugfixes in CP-SAT
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -263,6 +263,10 @@ bool CpModelPresolver::PresolveBoolOr(ConstraintProto* ct) {\n}\n// Inspects the literals and deal with fixed ones.\n+ //\n+ // TODO(user): Because...
C++
Apache License 2.0
google/or-tools
few bugfixes in CP-SAT
261,218
23.02.2022 17:34:56
-3,600
ccb921febae3ec0950c73255b1e88ddd7b867e9e
bazel: update doc
[ { "change_type": "MODIFY", "old_path": "bazel/docs/ci.md", "new_path": "bazel/docs/ci.md", "diff": "# CI: Makefile/Docker testing\n-To test the build on various distro, I'm using docker containers and a Makefile for orchestration.\n+To test the build on various distro, I'm using docker containers an...
C++
Apache License 2.0
google/or-tools
bazel: update doc
261,218
23.02.2022 17:35:20
-3,600
3ec462f647d6aca806b50da6c89e01289468460e
sat: Update doc toc generation
[ { "change_type": "MODIFY", "old_path": "ortools/sat/README.md", "new_path": "ortools/sat/README.md", "diff": "@@ -144,4 +144,4 @@ Scheduling constraints:\n## Recipes\nYou can find a set a code recipes in\n-[the documentation directory](doc/README.md).\n+[the documentation directory](docs/README.md)....
C++
Apache License 2.0
google/or-tools
sat: Update doc toc generation
261,230
23.02.2022 21:14:30
-3,600
d0be88fddbf6472114f88f3ebf1d2a62843af4b5
update linear_solver pdlp inteface; add model_builder python/wrappers files
[ { "change_type": "MODIFY", "old_path": "cmake/python.cmake", "new_path": "cmake/python.cmake", "diff": "@@ -175,11 +175,13 @@ endforeach()\n#######################\n#file(MAKE_DIRECTORY python/${PYTHON_PROJECT})\nfile(GENERATE OUTPUT ${PYTHON_PROJECT_DIR}/__init__.py CONTENT \"__version__ = \\\"${PR...
C++
Apache License 2.0
google/or-tools
update linear_solver pdlp inteface; add model_builder python/wrappers files
261,230
23.02.2022 21:16:12
-3,600
111e726d3ddce093d1230a72014162d7434619df
update pdlp code
[ { "change_type": "MODIFY", "old_path": "ortools/pdlp/BUILD.bazel", "new_path": "ortools/pdlp/BUILD.bazel", "diff": "@@ -374,14 +374,15 @@ cc_test(\n\":solve_log_cc_proto\",\n\":solvers_cc_proto\",\n\":test_util\",\n- \"//ortools/base:protobuf_util\",\n- \"//ortools/linear_solver\",\n+ \"//ortools/ba...
C++
Apache License 2.0
google/or-tools
update pdlp code
261,230
24.02.2022 10:34:49
-3,600
4237f386a6ef089c0319c348ef5aa0aa9137c03f
remove F# support
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -57,49 +57,6 @@ run_test: build\ncd $(SOURCE_PROJECT_PATH) && \"$(DOTNET_BIN)\" test --no-build -c Release $(ARGS)\nendif\n-# .Net F#\n-ifeq ($(SOURCE_SUFFIX),.fs) # Those r...
C++
Apache License 2.0
google/or-tools
remove F# support
261,230
24.02.2022 11:28:40
-3,600
929c88315a45021a8088ad5d169e5777ac9363ff
fix presolve bug
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -1084,6 +1084,7 @@ bool CpModelPresolver::PresolveIntProd(ConstraintProto* ct) {\nreturn context_->NotifyThatModelIsUnsat(\n\"int_prod: constant factor does not divi...
C++
Apache License 2.0
google/or-tools
fix presolve bug
261,230
24.02.2022 14:17:43
-3,600
5e41f40c2fd4cee4468c22ba72885c9edfbd79fa
remove range-loop warnings from the sat code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/clause.cc", "new_path": "ortools/sat/clause.cc", "diff": "@@ -1576,7 +1576,7 @@ bool BinaryImplicationGraph::TransformIntoMaxCliques(\n[](const std::pair<int, int> a, const std::pair<int, int>& b) {\nreturn a.second > b.second;\n});\n- for (const a...
C++
Apache License 2.0
google/or-tools
remove range-loop warnings from the sat code