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
10.06.2021 18:02:28
-7,200
0943af32bb5a815dadc327b298137336539db136
speed up glop
[ { "change_type": "MODIFY", "old_path": "ortools/glop/basis_representation.cc", "new_path": "ortools/glop/basis_representation.cc", "diff": "@@ -199,8 +199,8 @@ void BasisFactorization::Clear() {\nrank_one_factorization_.Clear();\nstorage_.Reset(compact_matrix_.num_rows());\nright_storage_.Reset(comp...
C++
Apache License 2.0
google/or-tools
speed up glop
261,230
10.06.2021 18:03:12
-7,200
6a7de42b556eeeb29bf15511530fb2a270a6dc70
[CP-SAT] more work on scheduling presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_lns.cc", "new_path": "ortools/sat/cp_model_lns.cc", "diff": "@@ -48,6 +48,7 @@ NeighborhoodGeneratorHelper::NeighborhoodGeneratorHelper(\n}\n*model_proto_with_only_variables_.mutable_variables() =\nmodel_proto_.variables();\n+ InitializeHe...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more work on scheduling presolve
261,230
11.06.2021 15:46:46
-7,200
7382845e5f8df6631bedce4a2f20f3940e21ac09
regroup overloaded methods
[ { "change_type": "MODIFY", "old_path": "ortools/java/com/google/ortools/sat/LinearExpr.java", "new_path": "ortools/java/com/google/ortools/sat/LinearExpr.java", "diff": "@@ -84,16 +84,16 @@ public interface LinearExpr {\nreturn new ScalProd(variable, coefficient, 0);\n}\n- /** Creates an affine expr...
C++
Apache License 2.0
google/or-tools
regroup overloaded methods
261,230
11.06.2021 15:47:01
-7,200
23e62ac53b67eba3004e54a917860d91c599d5a9
more presolve on no_overlap
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "#include \"ortools/sat/sat_parameters.pb.h\"\n#include \"ortools/sat/simplification.h\"\n#include \"ortools/sat/var_domination.h\"\n+#include \"ortools/util/sorted_inte...
C++
Apache License 2.0
google/or-tools
more presolve on no_overlap
261,230
17.06.2021 22:22:00
-7,200
1fbe3b8f0dfe3f3b9de1bdf3d4313a0b789af426
fix routes constraints
[ { "change_type": "MODIFY", "old_path": "ortools/sat/circuit.cc", "new_path": "ortools/sat/circuit.cc", "diff": "@@ -224,6 +224,35 @@ bool CircuitPropagator::Propagate() {\nif (start_node == n) break;\n}\n+ // TODO(user): we can fail early in more case, like no more possible path\n+ // to any of the ...
C++
Apache License 2.0
google/or-tools
fix routes constraints
261,218
18.06.2021 13:27:44
-7,200
d9ac2be6e6fa2539b8758368346947d7759b58a9
ci: Add bazel jobs using linux, macos and windows runner
[ { "change_type": "RENAME", "old_path": ".github/workflows/docker_bazel.yml", "new_path": ".github/workflows/bazel_docker.yml", "diff": "-name: Docker Bazel\n+name: Bazel Docker\non: [push, pull_request]\n" }, { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/ba...
C++
Apache License 2.0
google/or-tools
ci: Add bazel jobs using linux, macos and windows runner
261,218
18.06.2021 13:44:20
-7,200
36031c38d9824e5c4423430d2f6689116bdb1694
ci: rename CMake Linux jobs
[ { "change_type": "RENAME", "old_path": ".github/workflows/docker_cmake.yml", "new_path": ".github/workflows/cmake_docker.yml", "diff": "-name: Docker CMake\n+name: CMake Docker\non: [push, pull_request]\n" }, { "change_type": "RENAME", "old_path": ".github/workflows/cmake_linux_arm.yml",...
C++
Apache License 2.0
google/or-tools
ci: rename CMake Linux jobs
261,218
18.06.2021 13:44:47
-7,200
3ecc545c78a9e9e645fbb86b319ca90d85eb25a6
ci: Rename CMake MacOS jobs
[ { "change_type": "RENAME", "old_path": ".github/workflows/macos_cpp.yml", "new_path": ".github/workflows/cmake_macos_cpp.yml", "diff": "-name: C++ MacOS CI\n+name: CMake MacOS C++\non: [push, pull_request]\n" }, { "change_type": "RENAME", "old_path": ".github/workflows/macos_dotnet.yml",...
C++
Apache License 2.0
google/or-tools
ci: Rename CMake MacOS jobs
261,218
18.06.2021 13:47:34
-7,200
9ebc34f5802535166f0eae4021f50315bac32af1
ci: rename CMake windows jobs
[ { "change_type": "RENAME", "old_path": ".github/workflows/win_cpp.yml", "new_path": ".github/workflows/cmake_windows_cpp.yml", "diff": "-name: C++ Windows CI\n+name: CMake Windows C++\non: [push, pull_request]\n" }, { "change_type": "RENAME", "old_path": ".github/workflows/win_dotnet.yml...
C++
Apache License 2.0
google/or-tools
ci: rename CMake windows jobs
261,218
18.06.2021 14:10:20
-7,200
e7b5d52fc26542de16130e1b3b5f83281215ac52
update bazel/README.md
[ { "change_type": "MODIFY", "old_path": "bazel/README.md", "new_path": "bazel/README.md", "diff": "# OR-Tools Bazel Build Instructions\n-[![Status][docker_svg]][docker_link]\n-\n-[docker_svg]: https://github.com/google/or-tools/workflows/Docker%20Bazel/badge.svg?branch=master\n-[docker_link]: https:/...
C++
Apache License 2.0
google/or-tools
update bazel/README.md
261,218
18.06.2021 15:02:56
-7,200
7d921c95f1093cf5ee500438b99e91f0d8a90184
cmake: Rework badges in README.md
[ { "change_type": "MODIFY", "old_path": "cmake/README.md", "new_path": "cmake/README.md", "diff": "# OR-Tools CMake Build Instructions\n-\n| OS | C++ | Python | Java | .NET |\n-|:-------|-----|--------|------|------|\n-| Linux | [![Status][cpp_linux_svg]][cpp_linux_link] | [![Status][python_linux_svg...
C++
Apache License 2.0
google/or-tools
cmake: Rework badges in README.md
261,218
18.06.2021 15:03:18
-7,200
4dbee7c0ff96430f459b8a60684a0fda085aaeb8
make: Rework badges in README.md
[ { "change_type": "MODIFY", "old_path": "makefiles/README.md", "new_path": "makefiles/README.md", "diff": "# OR-Tools Makefile Build Instructions\n-[![Status][docker_svg]][docker_link]\n+Dockers [Alpine, Archlinux, Centos, Debian, Fedora, OpenSuse, Ubuntu]x[C++, Python, Java, .Net]: [![Status][docker...
C++
Apache License 2.0
google/or-tools
make: Rework badges in README.md
261,218
18.06.2021 15:43:10
-7,200
de56bdbfba8014e236822fce8ed1b625688a8a6c
bazel: readme cleanup
[ { "change_type": "MODIFY", "old_path": "bazel/README.md", "new_path": "bazel/README.md", "diff": "# OR-Tools Bazel Build Instructions\n-[![Docker][docker_svg]][docker_link]\n-[![Linux][linux_svg]][linux_link]\n-[![MacOS][macos_svg]][macos_link]\n-[![Windows][windows_svg]][windows_link]\n+| OS | C++ ...
C++
Apache License 2.0
google/or-tools
bazel: readme cleanup
261,230
18.06.2021 16:30:45
-7,200
c32882385d0d28669adf3e69605199e79167ef4f
add note on complexity
[ { "change_type": "MODIFY", "old_path": "ortools/graph/christofides.h", "new_path": "ortools/graph/christofides.h", "diff": "// Salesman Problen using the Christofides algorithm (c.f.\n// https://en.wikipedia.org/wiki/Christofides_algorithm).\n// Note that the algorithm guarantees finding a solution ...
C++
Apache License 2.0
google/or-tools
add note on complexity
261,230
18.06.2021 16:31:07
-7,200
835aa67606f2b40b05841860e13a492ed5d685ff
fix cp_model 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": "@@ -243,13 +243,13 @@ public final class CpModel {\n}\n/** Adds {@code left != right}. */\n- public Constraint addDifferent(IntVar left,...
C++
Apache License 2.0
google/or-tools
fix cp_model java API
261,230
18.06.2021 16:32:02
-7,200
c3986ae0be5244a39399ddacb4ea4fb4d2fa6782
polish CP-SAT lifted scheduling code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cuts.cc", "new_path": "ortools/sat/cuts.cc", "diff": "@@ -2082,9 +2082,9 @@ GenerateCumulativeEnergyCut(const std::string& cut_name,\n// scanning the residual tasks.\nint end_index_of_max_violation = -1;\ndouble max_relative_violation = 1.01;\n- In...
C++
Apache License 2.0
google/or-tools
polish CP-SAT lifted scheduling code
261,230
18.06.2021 16:32:30
-7,200
67c5272c13616da59591d58de5abc5d6f04ab17d
tweak proto file util
[ { "change_type": "MODIFY", "old_path": "ortools/util/file_util.cc", "new_path": "ortools/util/file_util.cc", "diff": "namespace operations_research {\nusing ::google::protobuf::TextFormat;\n+using google::protobuf::util::JsonParseOptions;\n+using google::protobuf::util::JsonStringToMessage;\nabsl::S...
C++
Apache License 2.0
google/or-tools
tweak proto file util
261,230
29.06.2021 17:16:25
-7,200
08f4a954580693d62ef39be1486bf2c925373f99
more scheduling propagation/improvements
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_loader.cc", "new_path": "ortools/sat/cp_model_loader.cc", "diff": "@@ -1370,6 +1370,11 @@ void LoadIntMinConstraint(const ConstraintProto& ct, Model* m) {\n}\nvoid LoadLinMaxConstraint(const ConstraintProto& ct, Model* m) {\n+ if (ct.lin_m...
C++
Apache License 2.0
google/or-tools
more scheduling propagation/improvements
261,230
29.06.2021 17:20:38
-7,200
072938b7205819d07dc7c1cd8b2feaef0cc5afd5
rewrite rcpsp_sat example
[ { "change_type": "MODIFY", "old_path": "examples/cpp/jobshop_sat.cc", "new_path": "examples/cpp/jobshop_sat.cc", "diff": "@@ -269,8 +269,8 @@ void AddAlternativeTaskDurationRelaxation(\nconst Task& task = job.tasks(t);\nconst int num_alternatives = task.machine_size();\n- int64_t min_duration = kint...
C++
Apache License 2.0
google/or-tools
rewrite rcpsp_sat example
261,230
30.06.2021 11:38:20
-7,200
036173389d387365b6c053b46faa62a12ffb718e
fix presolve bug with full instantiated circuit constraints; polish scheduling cuts code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -960,7 +960,10 @@ class ConstraintChecker {\nnodes.insert(tail);\nnodes.insert(head);\nif (LiteralIsFalse(ct.circuit().literals(i))) continue;\n- if (nexts.contains(ta...
C++
Apache License 2.0
google/or-tools
fix presolve bug with full instantiated circuit constraints; polish scheduling cuts code
261,230
30.06.2021 16:26:19
-7,200
d4142027c87652e832e8a1379ecfa39a51645c29
enable dumping problematic lns fragments
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -108,6 +108,12 @@ ABSL_FLAG(bool, cp_model_dump_lns, false,\n\"lns models proto in text format to \"\n\"'FLAGS_cp_model_dump_prefix'lns_xxx.pbtxt.\");\n+ABSL_FLAG(\n+ bo...
C++
Apache License 2.0
google/or-tools
enable dumping problematic lns fragments
261,230
30.06.2021 16:26:59
-7,200
7485b31723b1aee98b43160669793dffd3699bfa
[CP-SAT] fix cuts; simplify LinearConstraintBuilder::AddLinearExpression signature
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cuts.cc", "new_path": "ortools/sat/cuts.cc", "diff": "@@ -2125,12 +2125,7 @@ GenerateCumulativeEnergyCuts(const std::string& cut_name,\nDCHECK(!demands.empty());\nenergy_lp += lp_values[demands[t]] * ToDouble(helper->SizeMin(t));\n} else if (!energ...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix cuts; simplify LinearConstraintBuilder::AddLinearExpression signature
261,230
01.07.2021 13:39:16
-7,200
84889a8ed176c79349d8fc54e5c7a27d1f47998b
[CP-SAT] rename 1 scheduling cut generator; add presolve which simplify linear constraints when some literals appears in a at most one.
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -5190,7 +5190,8 @@ bool CpModelPresolver::PresolveOneConstraint(int c) {\n}\n}\n-// We deal with all the all 3 x 3 possible types of inclusion.\n+// This is called w...
C++
Apache License 2.0
google/or-tools
[CP-SAT] rename 1 scheduling cut generator; add presolve which simplify linear constraints when some literals appears in a at most one.
261,230
01.07.2021 14:44:46
-7,200
b02ec0d22c3998f64feae30383df1a7b674f32c3
fix bug when search was not finishing in parallel
[ { "change_type": "MODIFY", "old_path": "ortools/sat/integer_search.cc", "new_path": "ortools/sat/integer_search.cc", "diff": "@@ -678,11 +678,15 @@ bool IntegerSearchHelper::BeforeTakingDecision() {\nauto* level_zero_callbacks = model_->GetOrCreate<LevelZeroCallbackHelper>();\nfor (const auto& cb : ...
C++
Apache License 2.0
google/or-tools
fix bug when search was not finishing in parallel
261,230
01.07.2021 17:44:12
-7,200
5879441a97bcbb94dec951c67fa23bd87d880616
[CP-SAT] add quadratic term to the linear constraint builder
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_expand.cc", "new_path": "ortools/sat/cp_model_expand.cc", "diff": "#include <cstdint>\n#include <limits>\n#include <map>\n+#include <string>\n#include \"absl/container/flat_hash_map.h\"\n#include \"ortools/base/hash.h\"\n@@ -1268,8 +1269,1...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add quadratic term to the linear constraint builder
261,230
02.07.2021 14:21:13
-7,200
6530df1369bb827f075a773a05e2186f0e761eab
[CP-SAT] replace variable fully encoded only used in the objective by the weighted sum of its literals
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -5488,7 +5488,7 @@ void CpModelPresolver::TryToSimplifyDomain(int var) {\n// TODO(user): The hint might get lost if the encoding was created during\n// the presolve....
C++
Apache License 2.0
google/or-tools
[CP-SAT] replace variable fully encoded only used in the objective by the weighted sum of its literals
261,230
05.07.2021 19:10:27
-7,200
8a51a9a61b1906989ec74097584e73d2559ab038
more info on model stats
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -171,7 +171,8 @@ std::string CpModelStats(const CpModelProto& model_proto) {\nint no_overlap_2d_num_rectangles = 0;\nint no_overlap_2d_num_optional_rectangles = 0;\n- in...
C++
Apache License 2.0
google/or-tools
more info on model stats
261,230
05.07.2021 19:10:50
-7,200
fb2ef5fc1a9ed025dc973f9c961ba7befb0005fb
remove duplicate variables in table presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -2894,96 +2894,129 @@ bool CpModelPresolver::PresolveTable(ConstraintProto* ct) {\nreturn RemoveConstraint(ct);\n}\n- // Filter the unreachable tuples.\n- //\n- // T...
C++
Apache License 2.0
google/or-tools
remove duplicate variables in table presolve
261,275
06.07.2021 13:16:53
14,400
06010a46b6eeff1b16998934e38b49e1b2c8381d
fix logging timestamps The old code was incorrectly casting a double milliseconds value to the integer seconds time_t type, which caused incorrect month/day and timestamp values in log output. Instead use absl::ToTimespec() to access the tv_sec and tv_nsec values directly.
[ { "change_type": "MODIFY", "old_path": "ortools/base/logging.cc", "new_path": "ortools/base/logging.cc", "diff": "@@ -1140,10 +1140,10 @@ void LogMessage::Init(const char* file, int line, LogSeverity severity,\ndata_->send_method_ = send_method;\ndata_->sink_ = NULL;\ndata_->outvec_ = NULL;\n- doubl...
C++
Apache License 2.0
google/or-tools
fix logging timestamps The old code was incorrectly casting a double milliseconds value to the integer seconds time_t type, which caused incorrect month/day and timestamp values in log output. Instead use absl::ToTimespec() to access the tv_sec and tv_nsec values directly.
261,230
15.07.2021 11:13:11
-7,200
62ed1bb34b57b78345a35f8fda785747d20ec292
new fp functions
[ { "change_type": "MODIFY", "old_path": "ortools/util/fp_utils.cc", "new_path": "ortools/util/fp_utils.cc", "diff": "#include \"ortools/util/fp_utils.h\"\n-#include <cmath>\n+#include <limits.h>\n+#include <stdint.h>\n+#include <algorithm>\n+#include <cmath>\n+#include <limits>\n+#include <utility>\n...
C++
Apache License 2.0
google/or-tools
new fp functions
261,230
15.07.2021 11:14:27
-7,200
0f65844f2f9d425f195edbe0207a5e82f27b65c4
new scheduling heuristics
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD", "new_path": "ortools/sat/BUILD", "diff": "@@ -664,6 +664,7 @@ cc_library(\nhdrs = [\"integer_search.h\"],\ndeps = [\n\":cp_model_mapping\",\n+ \":disjunctive\",\n\":integer\",\n\":linear_programming_constraint\",\n\":probing\",\n" }, { ...
C++
Apache License 2.0
google/or-tools
new scheduling heuristics
261,230
15.07.2021 11:14:45
-7,200
e877fdde7bfe6810dce2f8b7b02fbd3f3e9a09bd
improve presolve; fix
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -443,6 +443,11 @@ bool CpModelPresolver::PresolveAtMostOrExactlyOne(ConstraintProto* ct) {\ncontext_->tmp_literals.push_back(literal);\n}\n+ if (!is_at_most_one && !...
C++
Apache License 2.0
google/or-tools
improve presolve; fix #2661
261,230
15.07.2021 15:36:11
-7,200
0896548a8e98327f1fc7a116633d3bb310bd2a85
improve jobshop_sat: fix bug in transitions; remove search heuristics as default is better
[ { "change_type": "MODIFY", "old_path": "examples/cpp/jobshop_sat.cc", "new_path": "examples/cpp/jobshop_sat.cc", "diff": "@@ -100,7 +100,6 @@ int64_t ComputeHorizon(const JsspInputProblem& problem) {\n}\nreturn std::min(max_latest_end,\nsum_of_durations + sum_of_transitions + max_earliest_start);\n-...
C++
Apache License 2.0
google/or-tools
improve jobshop_sat: fix bug in transitions; remove search heuristics as default is better
261,230
15.07.2021 18:11:08
-7,200
02c1a98d34e38a09c2735cef57d60a0143cdc780
fix v2
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -5708,7 +5708,7 @@ void CpModelPresolver::TryToSimplifyDomain(int var) {\nint num_positive = 0;\nstd::vector<int> constraint_indices_to_remove;\nfor (const int c : c...
C++
Apache License 2.0
google/or-tools
fix #2661 v2
261,230
15.07.2021 18:38:26
-7,200
b0c79d4d4bbc2247819638b1a68be8f746b90cde
improve scheduling heuristics
[ { "change_type": "MODIFY", "old_path": "ortools/sat/integer_search.cc", "new_path": "ortools/sat/integer_search.cc", "diff": "@@ -364,6 +364,7 @@ std::function<BooleanOrIntegerLiteral()> SchedulingSearchHeuristic(\n// Information to select best.\nint index = 0;\n+ int task;\nIntegerValue size_min = ...
C++
Apache License 2.0
google/or-tools
improve scheduling heuristics
261,230
15.07.2021 18:38:39
-7,200
17ea6efa50c7a4237f9c6fd8d33df73cdb8d781f
bump gscip code
[ { "change_type": "MODIFY", "old_path": "ortools/gscip/gscip.cc", "new_path": "ortools/gscip/gscip.cc", "diff": "@@ -785,8 +785,8 @@ absl::StatusOr<GScipResult> GScip::Solve(\n// handler.\nusing internal::CaptureMessageHandlerPtr;\nusing internal::MessageHandlerPtr;\n- MessageHandlerPtr previous_hand...
C++
Apache License 2.0
google/or-tools
bump gscip code
261,230
16.07.2021 15:34:40
-7,200
78a7be8d6ac85a734e0156d93439f5ee95985f3e
improve default scheduling search
[ { "change_type": "MODIFY", "old_path": "ortools/sat/disjunctive.cc", "new_path": "ortools/sat/disjunctive.cc", "diff": "@@ -655,29 +655,19 @@ bool DisjunctiveDetectablePrecedences::Propagate() {\n// start_max >= end_min, so wouldn't be in detectable precedence.\ntask_by_increasing_end_min_.clear();\...
C++
Apache License 2.0
google/or-tools
improve default scheduling search
261,249
16.07.2021 15:39:20
14,400
1199171dbb7219263afbd3af936639ddc684ce54
eliminate spurious diffs after cmake
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -57,12 +57,9 @@ bazel-*\ntools/docker/export\n# IDE stuff\n-CMakeLists.txt.user\n*.userprefs\n-*build*/*\n.idea/*\n.idea/\n-build/\ncache/\n**/.vscode/*\n.DS_Store\n@@ -87,3 +84,11 @@ examples/contrib/obj\nexa...
C++
Apache License 2.0
google/or-tools
eliminate spurious diffs after cmake
261,249
16.07.2021 16:31:47
14,400
5418a566c620f802f4db108a5806edd1122fe7d4
provide example cmake commands for full build
[ { "change_type": "MODIFY", "old_path": "cmake/README.md", "new_path": "cmake/README.md", "diff": "@@ -100,7 +100,18 @@ test it on public CI and support can be broken.**\nThere are several options that can be passed to CMake to modify how the code is built.<br>\nFor all of these options and parameter...
C++
Apache License 2.0
google/or-tools
provide example cmake commands for full build
261,249
19.07.2021 19:51:05
14,400
836b52223521e05d423276293436800024b41cc4
updates for pull request per review by
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -57,6 +57,7 @@ bazel-*\ntools/docker/export\n# IDE stuff\n+CMakeLists.txt.user\n*.userprefs\n.idea/*\n.idea/\n@@ -88,7 +89,6 @@ examples/dotnet/obj\n.cmake/\nCMakeCache.txt\nCMakeFiles\n-CMakeLists.txt.user\nD...
C++
Apache License 2.0
google/or-tools
updates for pull request per review by @Mizux
261,230
23.07.2021 21:54:59
-7,200
790c94745344894cd2aa59f5c5f7369e9824530e
remove forced slacks in glop
[ { "change_type": "MODIFY", "old_path": "ortools/glop/lp_solver.cc", "new_path": "ortools/glop/lp_solver.cc", "diff": "@@ -581,8 +581,9 @@ void LPSolver::RunRevisedSimplexIfNeeded(ProblemSolution* solution,\nnum_revised_simplex_iterations_ = revised_simplex_->GetNumberOfIterations();\nsolution->statu...
C++
Apache License 2.0
google/or-tools
remove forced slacks in glop
261,230
23.07.2021 21:55:18
-7,200
3793d0f7f334b23cee13d54f69947372f3f0e5de
add optional logger to SatSolveProto
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/sat_proto_solver.cc", "new_path": "ortools/linear_solver/sat_proto_solver.cc", "diff": "@@ -66,7 +66,8 @@ MPSolverResponseStatus ToMPSolverResponseStatus(sat::CpSolverStatus status,\n} // namespace\nabsl::StatusOr<MPSolutionResponse> SatS...
C++
Apache License 2.0
google/or-tools
add optional logger to SatSolveProto
261,230
23.07.2021 21:59:41
-7,200
53501ece81c201aa78fe999c96f5c3bc2bcfefdc
add ctor to affine relations
[ { "change_type": "MODIFY", "old_path": "ortools/util/affine_relation.h", "new_path": "ortools/util/affine_relation.h", "diff": "@@ -77,8 +77,11 @@ class AffineRelation {\nint representative;\nint64_t coeff;\nint64_t offset;\n+\nRelation(int r, int64_t c, int64_t o)\n: representative(r), coeff(c), of...
C++
Apache License 2.0
google/or-tools
add ctor to affine relations
261,218
23.07.2021 15:33:26
-7,200
6a92c0fecbf6404500e28b915a6ef9b361bf43bc
Directory.Build.props.in copyright update
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/Directory.Build.props.in", "new_path": "ortools/dotnet/Directory.Build.props.in", "diff": "<NeutralLanguage>en-US</NeutralLanguage>\n<Authors>Laurent Perron</Authors>\n<Company>Google LLC</Company>\n- <Copyright>Copyright 2019 Google LLC</Copyri...
C++
Apache License 2.0
google/or-tools
Directory.Build.props.in copyright update
261,218
23.07.2021 15:32:39
-7,200
69d59fc03215a641124627b25c8037a4ea07d157
remove previous csproj.in
[ { "change_type": "DELETE", "old_path": "ortools/dotnet/Google.OrTools.runtime.linux-x64/Google.OrTools.runtime.linux-x64.csproj.in", "new_path": null, "diff": "-<Project Sdk=\"Microsoft.NET.Sdk\">\n- <PropertyGroup>\n- <OutputType>Library</OutputType>\n- <TargetFrameworks>netstandard2.1;netstandard2...
C++
Apache License 2.0
google/or-tools
remove previous csproj.in
261,218
23.07.2021 15:33:42
-7,200
0c8606e76810ee3c0b5086ef87de592a3d719c96
Add new csproj.in
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/dotnet/Google.OrTools.csproj.in", "diff": "+<Project Sdk=\"Microsoft.NET.Sdk\">\n+ <PropertyGroup>\n+ <OutputType>Library</OutputType>\n+ <TargetFrameworks>netstandard2.1;netstandard2.0</TargetFrameworks>\n+ <RuntimeIdentifiers>win-x64;o...
C++
Apache License 2.0
google/or-tools
Add new csproj.in
261,218
23.07.2021 18:13:03
-7,200
8ee6128bee223dfa7b917e8926e2a9da0608e22b
dotnet: Fix makefile
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -43,9 +43,6 @@ package_dotnet: dotnet\nBUILT_LANGUAGES +=, dotnet \\(netstandard2.0\\)\nendif\n-$(PACKAGE_DIR):\n- $(MKDIR_P) $(PACKAGE_DIR)\n-\n# Detect RuntimeIDentifier\n...
C++
Apache License 2.0
google/or-tools
dotnet: Fix makefile
261,230
29.07.2021 22:01:55
-7,200
9be2c1aaa98fbae1df75cac2e0ff9af6f6548ffc
[CP-SAT] fix bug in presolve; add specialized relaxation and cuts for max affine constraint
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -2906,11 +2906,15 @@ bool CpModelPresolver::PresolveTable(ConstraintProto* ct) {\n// Query existing affine relations.\nstd::vector<AffineRelation::Relation> affine_r...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix bug in presolve; add specialized relaxation and cuts for max affine constraint
261,230
07.08.2021 10:23:25
-7,200
0660f932b8e9fc96f51dda3a49b25d78cc423574
improve make run for python
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -551,9 +551,11 @@ ifeq ($(SOURCE_SUFFIX),.py) # Those rules will be used if SOURCE contains a .py\n.PHONY: build # Build a Python program.\nbuild: $(SOURCE) $(PYTHON_OR_TOOL...
C++
Apache License 2.0
google/or-tools
improve make run for python
261,218
09.08.2021 11:21:08
-7,200
7fa242db26d55f2e682b487bf0749cf721611e05
bazel: remove examples/cpp/stigler_diet
[ { "change_type": "MODIFY", "old_path": "examples/cpp/BUILD", "new_path": "examples/cpp/BUILD", "diff": "@@ -484,15 +484,6 @@ cc_binary(\n],\n)\n-cc_binary(\n- name = \"stigler_diet\",\n- srcs = [\"stigler_diet.cc\"],\n- deps = [\n- \"//ortools/base\",\n- \"//ortools/linear_solver\",\n- ],\n-)\n-\ncc...
C++
Apache License 2.0
google/or-tools
bazel: remove examples/cpp/stigler_diet
261,218
09.08.2021 13:09:59
-7,200
c054d91dcee33987e586da51b2e1d32314f19c68
scip: Use one thread in samples Tempory fix until is fixed...
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/samples/integer_programming_example.cc", "new_path": "ortools/linear_solver/samples/integer_programming_example.cc", "diff": "@@ -71,7 +71,7 @@ void IntegerProgrammingExample() {\n// [END objective]\n// [START solve]\n- solver->SetNumThre...
C++
Apache License 2.0
google/or-tools
scip: Use one thread in samples Tempory fix until https://github.com/scipopt/scip/issues/5 is fixed...
261,230
12.08.2021 15:23:02
-7,200
5496c87aa289adaf18148dc435706dc6e233d7a1
minor improvement in glop presolve
[ { "change_type": "MODIFY", "old_path": "ortools/glop/BUILD", "new_path": "ortools/glop/BUILD", "diff": "@@ -326,6 +326,7 @@ cc_library(\n\":revised_simplex\",\n\":status\",\n\"//ortools/base\",\n+ \"//ortools/base:iterator_adaptors\",\n\"//ortools/lp_data\",\n\"//ortools/lp_data:base\",\n\"//ortools...
C++
Apache License 2.0
google/or-tools
minor improvement in glop presolve
261,230
12.08.2021 15:23:21
-7,200
fd5b15a86bf3a92be6a492b0c2dc4bc318df12db
add kCanonicalJson to fileutil
[ { "change_type": "MODIFY", "old_path": "ortools/util/file_util.cc", "new_path": "ortools/util/file_util.cc", "diff": "@@ -68,7 +68,7 @@ bool ReadFileToProto(absl::string_view filename,\nif (proto->ParseFromString(data)) {\n// NOTE(user): When using ParseFromString() from a generic\n// google::protob...
C++
Apache License 2.0
google/or-tools
add kCanonicalJson to fileutil
261,230
12.08.2021 15:25:35
-7,200
cb9565edd707f3433a614457df1a82f4170779d3
improve clause cleaning; polish max affine cut code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/clause.h", "new_path": "ortools/sat/clause.h", "diff": "@@ -773,9 +773,9 @@ class BinaryImplicationGraph : public SatPropagator {\nint64_t num_implications_ = 0;\n// Internal representation of at_most_one constraints. Each entry point to the\n- // ...
C++
Apache License 2.0
google/or-tools
improve clause cleaning; polish max affine cut code
261,218
13.08.2021 15:31:37
-7,200
811d68dd1a337082baec85834e1cc1a94ab6ef72
Fix badge in README.md
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "[appveyor_status]: https://ci.appveyor.com/api/projects/status/9hyykkcm8sh3ua6x/branch/master?svg=true\n[appveyor_link]: https://ci.appveyor.com/project/lperron/or-tools-98u1n\n-[![PyPI version](https://badge.fury....
C++
Apache License 2.0
google/or-tools
Fix badge in README.md
261,218
13.08.2021 17:46:02
-7,200
a87a10f95a803eea8de171d2b5b9406c613f5496
tools/release: Fix doc
[ { "change_type": "MODIFY", "old_path": "tools/release/Dockerfile", "new_path": "tools/release/Dockerfile", "diff": "+# Need a Centos 7 to avoid this:\n+# https://github.com/google/or-tools/issues/2520#issuecomment-825119882\n+# note: PEP 599 manylinux2014 is also based on Centos 7 which will reach E...
C++
Apache License 2.0
google/or-tools
tools/release: Fix doc
261,230
16.08.2021 13:37:20
-7,200
a31687dc3aa28b7452794af218c78537323299da
initial submission for the minizinc 2021 challenge
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -351,7 +351,7 @@ distclean: clean | export/archives\n##########################\n## MINIZINC CHALLENGE ##\n##########################\n-MZN_TAG=or-tools-minizinc-challenge:2020v3\n+MZN_TA...
C++
Apache License 2.0
google/or-tools
initial submission for the minizinc 2021 challenge
261,230
18.08.2021 11:20:51
-7,200
f10a3e781b265442689b76e208433518d95606fd
[CP-SAT] add int_abs cuts; parametrize the max domain size to encode size 2 eq/neq constraints using clauses; tweak clause deletions policy
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_loader.cc", "new_path": "ortools/sat/cp_model_loader.cc", "diff": "@@ -1214,8 +1214,11 @@ void LoadLinearConstraint(const ConstraintProto& ct, Model* m) {\nmax_sum += std::max(term_a, term_b);\n}\n+ const IntegerValue domain_size_limit(\n+...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add int_abs cuts; parametrize the max domain size to encode size 2 eq/neq constraints using clauses; tweak clause deletions policy
261,230
18.08.2021 11:22:16
-7,200
63d0b0a37c763b4a5028b755b3c4ab2c740a9d0d
[FZ] create ortools_{sub}circuit predicate to pass the base of the array directly to the solver
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/checker.cc", "new_path": "ortools/flatzinc/checker.cc", "diff": "@@ -249,29 +249,17 @@ bool CheckBoolXor(const Constraint& ct,\nbool CheckCircuit(const Constraint& ct,\nconst std::function<int64_t(IntegerVariable*)>& evaluator) {\n- // There a...
C++
Apache License 2.0
google/or-tools
[FZ] create ortools_{sub}circuit predicate to pass the base of the array directly to the solver
261,230
18.08.2021 13:13:12
-7,200
692867f4608de47b3672a25ec392071095b0c5a8
second candidate for minizinc 2021 challenge
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -351,7 +351,7 @@ distclean: clean | export/archives\n##########################\n## MINIZINC CHALLENGE ##\n##########################\n-MZN_TAG=or-tools-minizinc-challenge:2021v1\n+MZN_TA...
C++
Apache License 2.0
google/or-tools
second candidate for minizinc 2021 challenge
261,230
20.08.2021 13:37:19
-7,200
23c1f491defcb6ceb9a344845d7a43163386e182
make glop more robust to incorrect/incomplete basis
[ { "change_type": "MODIFY", "old_path": "ortools/glop/basis_representation.cc", "new_path": "ortools/glop/basis_representation.cc", "diff": "@@ -210,6 +210,15 @@ Status BasisFactorization::Initialize() {\nreturn ComputeFactorization();\n}\n+RowToColMapping BasisFactorization::ComputeInitialBasis(\n+ ...
C++
Apache License 2.0
google/or-tools
make glop more robust to incorrect/incomplete basis
261,230
20.08.2021 13:38:36
-7,200
9e0e1bae5bbd0869b352f69ad0200c474da4b0e0
polish int_max cut/relaxation code; remove int_min cut/relaxation code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cuts.h", "new_path": "ortools/sat/cuts.h", "diff": "@@ -490,10 +490,6 @@ CutGenerator CreateMaxAffineCutGenerator(\nstd::vector<std::pair<IntegerValue, IntegerValue>> affines,\nconst std::string cut_name, Model* model);\n-// Simplified version of t...
C++
Apache License 2.0
google/or-tools
polish int_max cut/relaxation code; remove int_min cut/relaxation code
261,230
20.08.2021 13:39:24
-7,200
a6e92bef4e10707fe75b532ba0e5b1b1af3b131e
change default number of cores for CP-SAT to zero, which will tell the solver to use the number of available cores
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -3688,7 +3688,15 @@ bool CpModelPresolver::PresolveCumulative(ConstraintProto* ct) {\nconst int index = proto->intervals(i);\nconst int64_t start_min = context_->Sta...
C++
Apache License 2.0
google/or-tools
change default number of cores for CP-SAT to zero, which will tell the solver to use the number of available cores
261,230
20.08.2021 13:39:45
-7,200
283caa2b605fb9134b41da1447b46ffe791a1658
display warning when using flatzinc without setting the number of cores
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -1076,8 +1076,14 @@ void SolveFzWithCpModelProto(const fz::Model& fz_model,\n// meaning of p.all_solutions is not the same in this case.\nif (p.display_a...
C++
Apache License 2.0
google/or-tools
display warning when using flatzinc without setting the number of cores
261,230
20.08.2021 15:19:04
-7,200
153218dbb116a4a03633f8d66728a3a63282d398
3rd version of minizinc challenge candidate
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -351,7 +351,7 @@ distclean: clean | export/archives\n##########################\n## MINIZINC CHALLENGE ##\n##########################\n-MZN_TAG=or-tools-minizinc-challenge:2021v2\n+MZN_TA...
C++
Apache License 2.0
google/or-tools
3rd version of minizinc challenge candidate
261,218
13.08.2021 18:18:44
-7,200
b9b4b5c4982d2e3246571f781d13cf40db3a7266
ci(travis): Bump CMake 3.18.5 -> 3.21.1
[ { "change_type": "MODIFY", "old_path": ".travis/install.sh", "new_path": ".travis/install.sh", "diff": "@@ -25,11 +25,11 @@ function installdotnetsdk(){\n}\nfunction installcmake(){\n- # Install CMake 3.18.5\n- wget \"https://cmake.org/files/v3.18/cmake-3.18.5-Linux-x86_64.sh\"\n- chmod a+x cmake-3....
C++
Apache License 2.0
google/or-tools
ci(travis): Bump CMake 3.18.5 -> 3.21.1
261,218
13.08.2021 18:19:20
-7,200
9e698443905b0d8da9bc825b8226d0fd6d1450a9
ci(cmake): Bump CMake 3.18+ -> 3.21.1
[ { "change_type": "MODIFY", "old_path": "cmake/docker/arm/glop.Dockerfile", "new_path": "cmake/docker/arm/glop.Dockerfile", "diff": "@@ -10,11 +10,11 @@ RUN apt-get update -qq \\\n&& apt-get clean \\\n&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\n-# Install CMake 3.19.2\n-RUN wget \"https://cmake...
C++
Apache License 2.0
google/or-tools
ci(cmake): Bump CMake 3.18+ -> 3.21.1
261,218
13.08.2021 18:19:44
-7,200
6f80e183a981315717a07833ceaab3e8fc7d70d5
ci(make): Bump CMake 3.18.5 -> 3.21.1
[ { "change_type": "MODIFY", "old_path": "makefiles/docker/centos/Dockerfile", "new_path": "makefiles/docker/centos/Dockerfile", "diff": "@@ -11,11 +11,11 @@ RUN dnf -y update \\\n&& dnf clean all \\\n&& rm -rf /var/cache/dnf\n-# Install CMake 3.18.5\n-RUN wget \"https://cmake.org/files/v3.18/cmake-3....
C++
Apache License 2.0
google/or-tools
ci(make): Bump CMake 3.18.5 -> 3.21.1
261,218
13.08.2021 18:20:13
-7,200
d989d666026f6586ea0bcc55ae98f3dd82d0d0ae
tools: Bump CMake 3.18.5 -> 3.21.1
[ { "change_type": "MODIFY", "old_path": "tools/docker/centos-7.Dockerfile", "new_path": "tools/docker/centos-7.Dockerfile", "diff": "@@ -19,11 +19,11 @@ SHELL [\"/bin/bash\", \"--login\", \"-c\"]\nENTRYPOINT [\"/usr/bin/bash\", \"--login\", \"-c\"]\n# RUN gcc --version\n-# Install CMake 3.20.1\n-RUN ...
C++
Apache License 2.0
google/or-tools
tools: Bump CMake 3.18.5 -> 3.21.1
261,230
23.08.2021 10:36:53
-7,200
77028770bd0aaed176f1a5359158326612bbd0e4
fix auto parallelism code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -2890,7 +2890,7 @@ CpSolverResponse SolveCpModel(const CpModelProto& model_proto, Model* model) {\n#if !defined(__PORTABLE_PLATFORM__)\n// Register SIGINT handler if req...
C++
Apache License 2.0
google/or-tools
fix auto parallelism code
261,218
23.08.2021 13:24:19
-7,200
4eb338fc57bff6da6509bc6402bd47f6c7f31116
Fix format in examples/cpp/README.md
[ { "change_type": "MODIFY", "old_path": "examples/cpp/README.md", "new_path": "examples/cpp/README.md", "diff": "# C++ examples\n-The following examples showcase how to use the different Operations Research libraries.\n+The following examples showcase how to use the different Operations Research\n+li...
C++
Apache License 2.0
google/or-tools
Fix format in examples/cpp/README.md
261,218
23.08.2021 14:46:34
-7,200
a936125aef632d6cbe88d0571ba01ba2dced3be7
Update cross_compile.sh
[ { "change_type": "MODIFY", "old_path": "tools/cross_compile.sh", "new_path": "tools/cross_compile.sh", "diff": "@@ -222,12 +222,14 @@ function run_test() {\nset -x\ncase ${PROJECT} in\nglop)\n+ # shellcheck disable=SC2086\n${RUN_CMD} bin/simple_glop_program ;;\nor-tools)\nfor test_binary in \\\n\"${...
C++
Apache License 2.0
google/or-tools
Update cross_compile.sh
261,218
23.08.2021 14:47:19
-7,200
ec5f05d795e539c88052aa0c2b79593c31979a3e
Update makefiles/README.md
[ { "change_type": "MODIFY", "old_path": "makefiles/README.md", "new_path": "makefiles/README.md", "diff": "# OR-Tools Makefile Build Instructions\n-Dockers [Alpine, Archlinux, Centos, Debian, Fedora, OpenSuse, Ubuntu]x[C++, Python, Java, .Net]: [![Status][docker_svg]][docker_link]\n+\n+Dockers [Alpin...
C++
Apache License 2.0
google/or-tools
Update makefiles/README.md
261,218
23.08.2021 14:47:48
-7,200
a59f0a2031e8273cdee195e52acf987cae33f660
fix indent in examples/tests/*.cs
[ { "change_type": "MODIFY", "old_path": "examples/tests/RoutingSolverTests.cs", "new_path": "examples/tests/RoutingSolverTests.cs", "diff": "@@ -59,11 +59,8 @@ namespace Google.OrTools.Tests\nRoutingModel routing = new RoutingModel(manager);\n// Create a distance callback.\nlong[][] matrix = new long...
C++
Apache License 2.0
google/or-tools
fix indent in examples/tests/*.cs
261,218
23.08.2021 16:04:39
-7,200
a73ec6eddd0fdc01932fc175d9d4638f62cf49e0
Fix glop comment
[ { "change_type": "MODIFY", "old_path": "ortools/glop/lu_factorization.h", "new_path": "ortools/glop/lu_factorization.h", "diff": "@@ -120,8 +120,8 @@ class LuFactorization {\nvoid RightSolveLForScatteredColumn(const ScatteredColumn& b,\nScatteredColumn* x) const;\n- // Specialized version of RightSo...
C++
Apache License 2.0
google/or-tools
Fix glop comment
261,218
23.08.2021 16:05:10
-7,200
0854e77258126ab9d5cd4eb5b0e2e66b69b0b4fe
gscip: Add ctrl+C catch
[ { "change_type": "MODIFY", "old_path": "ortools/gscip/gscip_parameters.cc", "new_path": "ortools/gscip/gscip_parameters.cc", "diff": "@@ -25,6 +25,7 @@ constexpr absl::string_view kLimitsTime = \"limits/time\";\nconstexpr absl::string_view kParallelMaxNThreads = \"parallel/maxnthreads\";\nconstexpr ...
C++
Apache License 2.0
google/or-tools
gscip: Add ctrl+C catch
261,218
23.08.2021 16:05:25
-7,200
c892dbdf64fe94087727d1637846abe61ca295f9
clean java/README.md
[ { "change_type": "MODIFY", "old_path": "ortools/java/README.md", "new_path": "ortools/java/README.md", "diff": "@@ -50,10 +50,10 @@ runtime on which platform the code is currently running.\n### Local Package\n-The pipeline for `linux-x86-64` should be as follow:\n-note: The pipeline will be similar ...
C++
Apache License 2.0
google/or-tools
clean java/README.md
261,218
23.08.2021 16:05:44
-7,200
6da30760ea397dedc2eb0eb93ca23b2a3bbf0341
rework build_delivery_linux.sh
[ { "change_type": "MODIFY", "old_path": "tools/release/build_delivery_linux.sh", "new_path": "tools/release/build_delivery_linux.sh", "diff": "@@ -85,7 +85,7 @@ function build_dotnet() {\n# Install .Net SNK\necho -n \"Install .Net SNK...\" | tee -a build.log\nlocal OPENSSL_PRG=openssl\n- if [ -x \"$(...
C++
Apache License 2.0
google/or-tools
rework build_delivery_linux.sh
261,218
23.08.2021 17:00:37
-7,200
877a0f358b4dfbb6194040927fd8713191415dbb
Fix bump of Protobuf from 3.15.8 to 3.17.3
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/Google.OrTools.csproj.in", "new_path": "ortools/dotnet/Google.OrTools.csproj.in", "diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"Google.Protobuf\" Version=\"3.15.8\"/>\n+ <PackageReference Include=\"Google.Protobuf\" Version=\...
C++
Apache License 2.0
google/or-tools
Fix bump of Protobuf from 3.15.8 to 3.17.3
261,230
25.08.2021 16:35:47
-7,200
cc6c89823c5d29aa47e379771f314720058a3bdd
better treatment of solution hints; add checks
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -475,6 +475,19 @@ std::string ValidateSolutionHint(const CpModelProto& model) {\nreturn absl::StrCat(\"Invalid variable reference in solution hint: \", ref);\n}\n}\n+\...
C++
Apache License 2.0
google/or-tools
better treatment of solution hints; add checks
261,230
26.08.2021 09:52:45
-7,200
8f43182fed6dd0fa8df69e1637b72b3b68b553f4
more model validation
[ { "change_type": "MODIFY", "old_path": "ortools/sat/BUILD", "new_path": "ortools/sat/BUILD", "diff": "@@ -227,14 +227,14 @@ cc_library(\n\":linear_constraint\",\n\":model\",\n\":sat_base\",\n- \"@com_google_absl//absl/base:core_headers\",\n- \"@com_google_absl//absl/container:flat_hash_map\",\n- \"@...
C++
Apache License 2.0
google/or-tools
more model validation
261,230
26.08.2021 14:00:40
-7,200
0c79510928d7fed04d11c6712391111a2d722029
[GLOP] allow using approximate basis as starting basis
[ { "change_type": "MODIFY", "old_path": "ortools/glop/revised_simplex.cc", "new_path": "ortools/glop/revised_simplex.cc", "diff": "@@ -123,6 +123,7 @@ RevisedSimplex::RevisedSimplex()\nvoid RevisedSimplex::ClearStateForNextSolve() {\nSCOPED_TIME_STAT(&function_stats_);\nsolution_state_.statuses.clear...
C++
Apache License 2.0
google/or-tools
[GLOP] allow using approximate basis as starting basis
261,230
26.08.2021 14:01:41
-7,200
97bd8fb63a34f35872a51699c55b4da7a666bc3f
[CP-SAT] fix presolve on cumulative with energy
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -3771,16 +3771,41 @@ bool CpModelPresolver::PresolveCumulative(ConstraintProto* ct) {\nif (gcd == 1) break;\n}\nif (gcd > 1) {\n+ bool compatible_with_energies = tru...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix presolve on cumulative with energy
261,230
26.08.2021 14:02:53
-7,200
703e313367c7fb1013ee8a9f4e31b128c460b47c
[CP-SAT] add more model simplification when building a python model
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -166,13 +166,26 @@ class LinearExpr(object):\n@classmethod\ndef ScalProd(cls, expressions, coefficients):\n\"\"\"Creates the expression sum(expressions[i] * coefficients...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add more model simplification when building a python model
261,230
26.08.2021 14:21:53
-7,200
8f3b524608a350f788d101f162f190e6dd7e5893
[CP-SAT] simplify presolve rule
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -3771,43 +3771,22 @@ bool CpModelPresolver::PresolveCumulative(ConstraintProto* ct) {\nif (gcd == 1) break;\n}\nif (gcd > 1) {\n- bool compatible_with_energies = tru...
C++
Apache License 2.0
google/or-tools
[CP-SAT] simplify presolve rule
261,230
26.08.2021 14:58:42
-7,200
78a92ee06a7b43edf4ed77de393fc5b9989b38f6
[CP-SAT] fix bug with hints containing negative references
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -3076,15 +3076,16 @@ CpSolverResponse SolveCpModel(const CpModelProto& model_proto, Model* model) {\nif (model_proto.has_solution_hint() && !context->ModelIsUnsat()) {\n...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix bug with hints containing negative references
261,218
27.08.2021 10:22:52
-7,200
4346301bee1ff80ac9eecb5390ca1547589e47d6
Update Linear solver README.md
[ { "change_type": "DELETE", "old_path": "ortools/linear_solver/README", "new_path": null, "diff": "-<summary>Linear programming and integer programming</summary>\n-\n-See the comments at the top of linear_solver.h for an introduction to\n-linear programming and integer programming.\n-\n-- linear_solv...
C++
Apache License 2.0
google/or-tools
Update Linear solver README.md
261,218
27.08.2021 10:23:27
-7,200
a8e738517dd1bf67587963fd5d2636f9e0bae515
Updape glpk_interface.cc
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/glpk_interface.cc", "new_path": "ortools/linear_solver/glpk_interface.cc", "diff": "#include \"ortools/base/integral_types.h\"\n#include \"ortools/base/logging.h\"\n#include \"ortools/base/timer.h\"\n+#include \"ortools/glpk/glpk_env_dele...
C++
Apache License 2.0
google/or-tools
Updape glpk_interface.cc
261,218
27.08.2021 10:59:58
-7,200
4e8cab26ff33626e67bdf4a7001740fff8f1f58b
remove MPModelExportOptions
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/model_exporter.cc", "new_path": "ortools/linear_solver/model_exporter.cc", "diff": "@@ -129,9 +129,7 @@ class MPModelProtoExporter {\n// into two constraints, one for the left hand side (_lhs) and one for right\n// hand side (_rhs).\nbool...
C++
Apache License 2.0
google/or-tools
remove MPModelExportOptions
261,218
27.08.2021 11:44:29
-7,200
bdd8b0a10972d9b855ff56bb8b77fb638df9a2a2
linear solver: Add InterruptSolve feature
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/linear_solver.cc", "new_path": "ortools/linear_solver/linear_solver.cc", "diff": "#include <unistd.h>\n#endif\n+#include <atomic>\n#include <cmath>\n#include <cstddef>\n#include <cstdint>\n#include \"absl/strings/str_format.h\"\n#include ...
C++
Apache License 2.0
google/or-tools
linear solver: Add InterruptSolve feature
261,218
27.08.2021 11:53:24
-7,200
70fa00beaad1fa043a04f59a652238d4bf94d189
Update CMake requirement 3.14 -> 3.15 (Fix
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "# This file is just an orchestration\n-cmake_minimum_required(VERSION 3.14)\n+cmake_minimum_required(VERSION 3.15)\nlist(APPEND CMAKE_MODULE_PATH \"${CMAKE_CURRENT_SOURCE_DIR}/cmake\")\n# Apple: Don't mod...
C++
Apache License 2.0
google/or-tools
Update CMake requirement 3.14 -> 3.15 (Fix #2528)
261,218
27.08.2021 13:27:19
-7,200
454bb2cb44ad368fa560d1203358addfae64ba75
fix .Net and Java build
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -409,6 +409,7 @@ $(DOTNET_ORTOOLS_RUNTIME_NUPKG): \\\n$(GEN_DIR)/ortools/constraint_solver/RoutingParameters.pb.cs \\\n$(GEN_DIR)/ortools/constraint_solver/RoutingEnums.pb.c...
C++
Apache License 2.0
google/or-tools
fix .Net and Java build
261,218
27.08.2021 13:40:19
-7,200
9e54554cf3cf1c3869417aad999371ae45272cdc
ci(bazel): Fix Alpine docker
[ { "change_type": "MODIFY", "old_path": "bazel/docker/alpine/Dockerfile", "new_path": "bazel/docker/alpine/Dockerfile", "diff": "@@ -7,9 +7,9 @@ ENV PATH=/usr/local/bin:$PATH\nRUN apk add --no-cache git build-base linux-headers zlib-dev\nRUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/...
C++
Apache License 2.0
google/or-tools
ci(bazel): Fix Alpine docker
261,230
27.08.2021 13:56:52
-7,200
5ca9c4329a30c1e04c4d8437a7cd62dafcbe98c5
adds maze escape in sat python
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/python/maze_escape_sat.py", "diff": "+#!/usr/bin/env python3\n+# Copyright 2010-2021 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n...
C++
Apache License 2.0
google/or-tools
adds maze escape in sat python
261,218
27.08.2021 18:18:37
-7,200
28804fd612e0e8ec85795bb4220663ee85a7193e
java: Quick fix SatSolverTest by using one worker Need further investigation...
[ { "change_type": "MODIFY", "old_path": "examples/tests/SatSolverTest.java", "new_path": "examples/tests/SatSolverTest.java", "diff": "@@ -163,6 +163,7 @@ public class SatSolverTest {\n@Test\npublic void testLogCapture() {\n+ Loader.loadNativeLibraries();\nSystem.out.println(\"testLogCapture\");\n// ...
C++
Apache License 2.0
google/or-tools
java: Quick fix SatSolverTest by using one worker Need further investigation...
261,218
30.08.2021 10:10:21
-7,200
58c971fb3bdbf2ccc14e27718459ff7818fe853c
python: Fix internal doc
[ { "change_type": "MODIFY", "old_path": "ortools/python/README.md", "new_path": "ortools/python/README.md", "diff": "@@ -31,9 +31,6 @@ To Create a native dependent package which will contains two parts:\n* A bunch of native libraries for the supported platform targeted.\n* The Python code depending o...
C++
Apache License 2.0
google/or-tools
python: Fix internal doc
261,218
30.08.2021 11:41:16
-7,200
e5a5b8e18fdfa3231662be5b54896763ac5689b0
java(sat): Fix log handler when having NumSearchWorkers > 1
[ { "change_type": "MODIFY", "old_path": "examples/tests/SatSolverTest.java", "new_path": "examples/tests/SatSolverTest.java", "diff": "@@ -19,8 +19,9 @@ import com.google.ortools.sat.CpSolverStatus;\nimport com.google.ortools.sat.IntVar;\nimport com.google.ortools.sat.LinearExpr;\nimport com.google.o...
C++
Apache License 2.0
google/or-tools
java(sat): Fix log handler when having NumSearchWorkers > 1
261,230
31.08.2021 10:31:52
-7,200
58d09d0dd48539268e21d289a25bda476e227fe6
bump flex/bison version
[ { "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.5. */\n+/* A Bison pars...
C++
Apache License 2.0
google/or-tools
bump flex/bison version
261,230
31.08.2021 13:07:58
-7,200
be7019f2fda85c31b8afa945144e78e5d6cf7776
[CP-SAT] simplify presolve code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -263,6 +263,9 @@ bool CpModelPresolver::PresolveBoolOr(ConstraintProto* ct) {\nreturn changed;\n}\n+// Note this constraint does not update the constraint graph. The...
C++
Apache License 2.0
google/or-tools
[CP-SAT] simplify presolve code
261,230
01.09.2021 11:53:03
-7,200
a18d290bd740746048765a0536bcefb3d6ef6100
[CP-SAT] fix more corner cases in checker and presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -187,6 +187,51 @@ bool PossibleIntegerOverflow(const CpModelProto& model,\nreturn false;\n}\n+int64_t MinOfRef(const CpModelProto& model, int ref) {\n+ const IntegerVa...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix more corner cases in checker and presolve