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
01.09.2021 11:57:11
-7,200
e4a1eab12bbffa9f69536c955f10d39011008778
work on glop crossover
[ { "change_type": "MODIFY", "old_path": "ortools/glop/parameters.proto", "new_path": "ortools/glop/parameters.proto", "diff": "@@ -22,7 +22,7 @@ syntax = \"proto2\";\npackage operations_research.glop;\n-// next id = 64\n+// next id = 65\nmessage GlopParameters {\n// Supported algorithms for scaling:\...
C++
Apache License 2.0
google/or-tools
work on glop crossover
261,218
03.09.2021 15:25:02
-7,200
5e8ab7023950457ecddc84133f48c6b3324e3355
Export glop dev from Google
[ { "change_type": "MODIFY", "old_path": "ortools/glop/revised_simplex.h", "new_path": "ortools/glop/revised_simplex.h", "diff": "@@ -235,6 +235,44 @@ class RevisedSimplex {\nvoid SetIntegralityScale(ColIndex col, Fractional scale);\nprivate:\n+ struct IterationStats : public StatsGroup {\n+ Iteration...
C++
Apache License 2.0
google/or-tools
Export glop dev from Google
261,218
03.09.2021 15:25:40
-7,200
a61cf1f80c5b15ddff5cdeceee1d98c881062381
Update sat internal doc
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/README.md", "new_path": "ortools/sat/doc/README.md", "diff": "# Using the CP-SAT solver\n+https://developers.google.com/optimization/cp/cp_solver\n<!--ts-->\n" }, { "change_type": "MODIFY", "old_path": "ortools/sat/doc/boolean_logic...
C++
Apache License 2.0
google/or-tools
Update sat internal doc
261,218
03.09.2021 15:26:43
-7,200
347fa61799e1635434bcc9d9e6fd4780440599f5
Update comment in algorithms
[ { "change_type": "MODIFY", "old_path": "ortools/algorithms/hungarian.cc", "new_path": "ortools/algorithms/hungarian.cc", "diff": "@@ -463,6 +463,7 @@ void HungarianOptimizer::ReduceRows() {\n// Step 2.\n// Find a zero (Z) in the matrix. If there is no starred zero in its row\n// or column, star Z. R...
C++
Apache License 2.0
google/or-tools
Update comment in algorithms
261,218
03.09.2021 15:27:25
-7,200
6f04a4e7171a91af53928140e77cbda0d3398fd8
Export Google dev in constraint_solver
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/constraint_solveri.h", "new_path": "ortools/constraint_solver/constraint_solveri.h", "diff": "@@ -1311,23 +1311,39 @@ class ChangeValue : public IntVarLocalSearchOperator {\n/// the services above (no direct manipulation of assignment...
C++
Apache License 2.0
google/or-tools
Export Google dev in constraint_solver
261,218
03.09.2021 15:27:46
-7,200
2f0f8964f4ba558206329598894934032fde163a
Export ortools/util dev from Google
[ { "change_type": "MODIFY", "old_path": "ortools/util/sorted_interval_list.cc", "new_path": "ortools/util/sorted_interval_list.cc", "diff": "@@ -215,6 +215,19 @@ int64_t Domain::Max() const {\nreturn intervals_.back().end;\n}\n+int64_t Domain::SmallestValue() const {\n+ DCHECK(!IsEmpty());\n+ int64_t...
C++
Apache License 2.0
google/or-tools
Export ortools/util dev from Google
261,218
03.09.2021 15:28:10
-7,200
21b3cc679628a4d9c81f33da77012339aabc6c72
update comment in sat_proto_solver.h
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/sat_proto_solver.h", "new_path": "ortools/linear_solver/sat_proto_solver.h", "diff": "@@ -31,6 +31,12 @@ namespace operations_research {\n// EncodeSatParametersAsString() function below to set the request's\n// solver_specific_parameters ...
C++
Apache License 2.0
google/or-tools
update comment in sat_proto_solver.h
261,230
03.09.2021 16:11:39
-7,200
90824fab681ddb7741870197a3cd1a7f32d3d599
[CP-SAT] more corner case fixes
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -205,10 +205,25 @@ int64_t MaxOfRef(const CpModelProto& model, int ref) {\n}\n}\n+template <class LinearExpressionProto>\n+int64_t MinOfExpression(const CpModelProto& ...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more corner case fixes
261,218
03.09.2021 17:00:51
-7,200
3327838e5ab95ac91fb1ab380ada7ad5cbd4097f
java: Fix constraint_solver build
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/java/constraint_solver.i", "new_path": "ortools/constraint_solver/java/constraint_solver.i", "diff": "@@ -1409,6 +1409,10 @@ import java.util.function.LongToIntFunction;\n%rename (restartAtPathStartOnSynchronize) PathOperator::Restart...
C++
Apache License 2.0
google/or-tools
java: Fix constraint_solver build
261,218
02.09.2021 11:44:49
-7,200
7f01735c788eb0ddc428a01727bce28faa59c7ef
java: Add com.google.truth for test
[ { "change_type": "MODIFY", "old_path": "ortools/java/pom-test.xml.in", "new_path": "ortools/java/pom-test.xml.in", "diff": "<scope>test</scope>\n</dependency>\n<dependency>\n- <groupId>org.junit.jupiter</groupId>\n- <artifactId>junit-jupiter-params</artifactId>\n- <version>5.7.0</version>\n+ <groupI...
C++
Apache License 2.0
google/or-tools
java: Add com.google.truth for test
261,218
06.09.2021 10:37:34
-7,200
5688b39b7ee29f9d98f90596011ebda94a742808
python: Remove unneeded __future__ note: we only support Python3
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -44,10 +44,6 @@ Other methods and functions listed are primarily used for developing OR-Tools,\nrather than for solving specific optimization problems.\n\"\"\"\n-from __...
C++
Apache License 2.0
google/or-tools
python: Remove unneeded __future__ note: we only support Python3
261,218
06.09.2021 13:06:35
-7,200
288c3709a7561e5a96fa6bfc6596030981b14517
python: fix pywraprouting_test.py
[ { "change_type": "MODIFY", "old_path": "examples/tests/pywraprouting_test.py", "new_path": "examples/tests/pywraprouting_test.py", "diff": "@@ -567,7 +567,7 @@ class TestPyWrapRoutingModel(unittest.TestCase):\nrouting_enums_pb2.FirstSolutionStrategy.PATH_CHEAPEST_ARC)\nassignment = model.SolveWithPa...
C++
Apache License 2.0
google/or-tools
python: fix pywraprouting_test.py
261,218
06.09.2021 13:08:03
-7,200
5570bc855ae1704c0d3a6a9fdf812833acb47c47
tools/docker: Add internal doc
[ { "change_type": "ADD", "old_path": null, "new_path": "tools/docker/README.md", "diff": "+# CI: Makefile/Docker testing\n+To test the build on various distro, we are using docker containers and a Makefile for orchestration.\n+\n+pros:\n+* You are independent of third party CI runner config (e.g. git...
C++
Apache License 2.0
google/or-tools
tools/docker: Add internal doc
261,218
06.09.2021 16:00:57
-7,200
609f4cce2de6e47ef1221892864e035ad5f78827
java: Fix LinearSolverTest
[ { "change_type": "MODIFY", "old_path": "examples/tests/LinearSolverTest.java", "new_path": "examples/tests/LinearSolverTest.java", "diff": "@@ -416,13 +416,13 @@ public final class LinearSolverTest {\npublic void testMPSolver_sameConstraintName() {\nMPSolver solver = MPSolver.createSolver(\"GLOP\");...
C++
Apache License 2.0
google/or-tools
java: Fix LinearSolverTest
261,218
06.09.2021 16:01:11
-7,200
56a38f0a589b998fec872b2565a087bbfa9931d8
dotnet: Fix build
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/csharp/constraint_solver.i", "new_path": "ortools/constraint_solver/csharp/constraint_solver.i", "diff": "@@ -815,6 +815,9 @@ namespace operations_research {\n// Methods:\n%unignore PathOperator::MakeNeighbor;\n+// PathOperator::Itera...
C++
Apache License 2.0
google/or-tools
dotnet: Fix build
261,230
07.09.2021 11:16:14
-7,200
84903af290ef11636a3bf6dbe461784288f89c38
[FZ] better element encoding
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -476,7 +476,7 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\n// Add a dummy variable at position zero because flatzinc ind...
C++
Apache License 2.0
google/or-tools
[FZ] better element encoding
261,230
07.09.2021 11:17:17
-7,200
e90f384c6235f30dd3dcb4b3c581dacd13f82c6f
[CP-SAT] more checkers, more presolve, better expand of element, detect overflows in more cuts
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.proto", "new_path": "ortools/sat/cp_model.proto", "diff": "@@ -373,7 +373,8 @@ message ConstraintProto {\nIntegerArgumentProto int_div = 7;\n// The int_mod constraint forces the target to equal vars[0] % vars[1].\n- // The domain of vars[1...
C++
Apache License 2.0
google/or-tools
[CP-SAT] more checkers, more presolve, better expand of element, detect overflows in more cuts
261,230
07.09.2021 11:17:33
-7,200
4c63e2047c30c25f430b357dbca538a6ff894754
more domain operators
[ { "change_type": "MODIFY", "old_path": "ortools/util/sorted_interval_list.cc", "new_path": "ortools/util/sorted_interval_list.cc", "diff": "@@ -478,6 +478,22 @@ Domain Domain::InverseMultiplicationBy(const int64_t coeff) const {\nreturn result;\n}\n+Domain Domain::PositiveModuloBySuperset(const Doma...
C++
Apache License 2.0
google/or-tools
more domain operators
261,230
07.09.2021 14:14:36
-7,200
4a08a40d33495086dcc60f7a44cd8a6371163234
[CP-SAT] new scheduling recipe
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/scheduling.md", "new_path": "ortools/sat/doc/scheduling.md", "diff": "@@ -32,6 +32,8 @@ https://developers.google.com/optimization/\n* [C# code](#c-code-7)\n* [Intervals spanning over breaks in the calendar](#intervals-spanning-over-breaks-in-t...
C++
Apache License 2.0
google/or-tools
[CP-SAT] new scheduling recipe
261,230
07.09.2021 14:29:04
-7,200
915e5591acda1d431e649cf5dc4d0fd8ad72e7ef
[CP-SAT] fix another corner case in presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -1917,7 +1917,8 @@ void TakeIntersectionWith(const absl::flat_hash_set<int>& current,\n} // namespace\n-bool CpModelPresolver::PropagateDomainsInLinear(int c, Constr...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix another corner case in presolve
261,230
08.09.2021 21:19:11
-7,200
e78c9ab6315548f725b6bfe2ef5e76defdf2310f
[GLOP] add API for crash procedures
[ { "change_type": "MODIFY", "old_path": "ortools/glop/dual_edge_norms.cc", "new_path": "ortools/glop/dual_edge_norms.cc", "diff": "@@ -22,7 +22,7 @@ DualEdgeNorms::DualEdgeNorms(const BasisFactorization& basis_factorization)\n: basis_factorization_(basis_factorization),\nrecompute_edge_squared_norms_...
C++
Apache License 2.0
google/or-tools
[GLOP] add API for crash procedures
261,230
08.09.2021 21:48:32
-7,200
00fe155477dc1889ab65aca79d251b6df6c10cc8
[CP-SAT] update code samples
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/scheduling.md", "new_path": "ortools/sat/doc/scheduling.md", "diff": "@@ -71,16 +71,28 @@ from ortools.sat.python import cp_model\ndef IntervalSampleSat():\n+ \"\"\"Showcases how to build interval variables.\"\"\"\nmodel = cp_model.CpModel()\n-...
C++
Apache License 2.0
google/or-tools
[CP-SAT] update code samples
261,230
08.09.2021 23:01:36
-7,200
7e18238edba719dc601766fc830a6b6f89dbf848
fix LinearExpressionProto in CP-SAT python
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -131,6 +131,25 @@ def ShortName(model, i):\ndef ShortExprName(model, e):\n+ \"\"\"Pretty-print LinearExpressionProto instances.\"\"\"\n+ if not e.vars:\n+ return str(e.o...
C++
Apache License 2.0
google/or-tools
fix LinearExpressionProto in CP-SAT python
261,230
09.09.2021 06:41:35
-7,200
41a9c08fa28887e60d97334a12d2b7169094a306
[CP-SAT] polish new interval code and samples
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.cc", "new_path": "ortools/sat/cp_model.cc", "diff": "@@ -958,8 +958,10 @@ IntervalVar CpModelBuilder::GetIntervalVarFromProtoIndex(int index) {\nint64_t SolutionIntegerValue(const CpSolverResponse& r,\nconst LinearExpr& expr) {\nint64_t re...
C++
Apache License 2.0
google/or-tools
[CP-SAT] polish new interval code and samples
261,230
10.09.2021 15:10:37
-7,200
d0a1d23d575202db869b0ece2552a59f68a1a1f6
add range iterator on domains
[ { "change_type": "MODIFY", "old_path": "ortools/util/sorted_interval_list.h", "new_path": "ortools/util/sorted_interval_list.h", "diff": "@@ -159,6 +159,63 @@ class Domain {\n*/\nstd::vector<int64_t> FlattenedIntervals() const;\n+#if !defined(SWIG)\n+ /**\n+ * Allows to iterate over all values of a ...
C++
Apache License 2.0
google/or-tools
add range iterator on domains
261,230
10.09.2021 15:11:11
-7,200
8f5bfbc252f115c896a5050e72c0672ed0ce4169
[CP-SAT] Fix performance bug on product/square cuts; polish new interval code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.cc", "new_path": "ortools/sat/cp_model.cc", "diff": "@@ -217,6 +217,18 @@ LinearExpr& LinearExpr::AddExpression(const LinearExpr& expr) {\nreturn *this;\n}\n+IntVar LinearExpr::Var() const {\n+ CHECK_EQ(constant_, 0);\n+ CHECK_EQ(1, variab...
C++
Apache License 2.0
google/or-tools
[CP-SAT] Fix performance bug on product/square cuts; polish new interval code
261,230
10.09.2021 15:11:53
-7,200
79a83b50ec984fa02cf80ac6e4074be46735c5a8
[FZ] exploit fixed sized interval vars
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -56,6 +56,13 @@ namespace sat {\nnamespace {\n+static const int kNoVar = std::numeric_limits<int>::min();\n+\n+struct VarOrValue {\n+ int var = kNoVar;\n...
C++
Apache License 2.0
google/or-tools
[FZ] exploit fixed sized interval vars
261,218
10.09.2021 15:00:12
-7,200
c45cd04d1c9ff4d0fe59aabc9015815d3e38a8b9
Fix java wrappers
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/java/constraint_solver.i", "new_path": "ortools/constraint_solver/java/constraint_solver.i", "diff": "@@ -51,14 +51,23 @@ struct FailureProtect {\n/* Global JNI reference deleter */\nclass GlobalRefGuard {\n- JNIEnv *jenv_;\n+ JavaVM ...
C++
Apache License 2.0
google/or-tools
Fix java wrappers
261,218
10.09.2021 15:02:24
-7,200
8cf863e67b65fa4741bb38f51e1656cc04ffc431
python: Add pywrapinit to basic_example.py
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/samples/basic_example.py", "new_path": "ortools/linear_solver/samples/basic_example.py", "diff": "# [START program]\n# [START import]\nfrom ortools.linear_solver import pywraplp\n+from ortools.init import pywrapinit\n# [END import]\n@@ -6...
C++
Apache License 2.0
google/or-tools
python: Add pywrapinit to basic_example.py
261,218
10.09.2021 18:15:38
-7,200
f9843927f3c0f82185dc4a90199de22111b8bcd1
dotnet: fix CpModel.cs
[ { "change_type": "MODIFY", "old_path": "ortools/sat/csharp/CpModel.cs", "new_path": "ortools/sat/csharp/CpModel.cs", "diff": "@@ -780,7 +780,7 @@ namespace Google.OrTools.Sat\n{\nreturn (IntVar)(Object)x;\n}\n- if (typeof(X) == typeof(long) || typeof(X) == typeof(int) || typeof(X) == = typeof(short)...
C++
Apache License 2.0
google/or-tools
dotnet: fix CpModel.cs
261,218
10.09.2021 18:28:34
-7,200
b83302a60e55217dd000cd06d0a336089323d301
bazel: Add ortools/init/init.h
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/init/BUILD", "diff": "+package(default_visibility = [\"//visibility:public\"])\n+\n+cc_library(\n+ name = \"init\",\n+ hdrs = [\"init.h\"],\n+ deps = [\n+ \"//ortools/base\",\n+ \"//ortools/sat:cp_model_solver\",\n+ \"@com_google_absl//a...
C++
Apache License 2.0
google/or-tools
bazel: Add ortools/init/init.h
261,230
13.09.2021 13:09:21
-7,200
a1a9e9b39ba0b8acbf12649bd3491388ff50b967
[CP-SAT] improve display of linear expressions in C++ API; fix another corner case in the checker
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.cc", "new_path": "ortools/sat/cp_model.cc", "diff": "@@ -238,7 +238,7 @@ std::string LinearExpr::DebugString() const {\nabsl::StrAppend(&result, variables_[i].DebugString());\n} else if (coeff == -1) {\nabsl::StrAppend(&result, \"-\", vari...
C++
Apache License 2.0
google/or-tools
[CP-SAT] improve display of linear expressions in C++ API; fix another corner case in the checker
261,230
13.09.2021 13:09:56
-7,200
03e6e36e92fcb65ff39c8046e477130d2bbdc8ad
improve fz translation to CP-SAT to create fixed size interval var if possible; cleanup code
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -80,22 +80,21 @@ struct CpModelProtoWithMapping {\nstd::vector<VarOrValue> LookupVarsOrValues(const fz::Argument& argument);\n// Create and return the in...
C++
Apache License 2.0
google/or-tools
improve fz translation to CP-SAT to create fixed size interval var if possible; cleanup code
261,230
13.09.2021 13:10:12
-7,200
324ae93e64eeb75eb63e184905cfab0346eff9be
improve jobshop_sat.cc code
[ { "change_type": "MODIFY", "old_path": "examples/cpp/jobshop_sat.cc", "new_path": "examples/cpp/jobshop_sat.cc", "diff": "@@ -117,7 +117,6 @@ struct JobTaskData {\nstruct AlternativeTaskData {\nIntervalVar interval;\nIntVar start;\n- IntVar end;\nBoolVar presence;\n};\n@@ -209,8 +208,7 @@ void Creat...
C++
Apache License 2.0
google/or-tools
improve jobshop_sat.cc code
261,218
13.09.2021 13:08:31
-7,200
67ba7cde6bbda436c5b0e8df87fe0a203da670f4
Fix comments in .cs samples
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/samples/Tsp.cs", "new_path": "ortools/constraint_solver/samples/Tsp.cs", "diff": "@@ -21,7 +21,7 @@ using Google.OrTools.ConstraintSolver;\n/// <summary>\n/// Minimal TSP.\n/// A description of the problem can be found here:\n-/// htt...
C++
Apache License 2.0
google/or-tools
Fix comments in .cs samples
261,218
13.09.2021 13:09:06
-7,200
c5eca976639c285e38cef8b4b5f981b8814c539d
Fix init/init.h
[ { "change_type": "MODIFY", "old_path": "ortools/init/init.h", "new_path": "ortools/init/init.h", "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 obtai...
C++
Apache License 2.0
google/or-tools
Fix init/init.h
261,218
13.09.2021 13:09:50
-7,200
452d2654f12afb1e56fec0970059861dc2f28874
Fix license in java/init.i
[ { "change_type": "MODIFY", "old_path": "ortools/init/java/init.i", "new_path": "ortools/init/java/init.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...
C++
Apache License 2.0
google/or-tools
Fix license in java/init.i
261,218
13.09.2021 13:10:16
-7,200
bec9bc1790bd3594867ada94c7a2193680d7c3b9
Fix comment in linear_expr.h
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/linear_expr.h", "new_path": "ortools/linear_solver/linear_expr.h", "diff": "@@ -217,7 +217,7 @@ LinearRange operator<=(const LinearExpr& lhs, const LinearExpr& rhs);\nLinearRange operator==(const LinearExpr& lhs, const LinearExpr& rhs);\n...
C++
Apache License 2.0
google/or-tools
Fix comment in linear_expr.h
261,218
13.09.2021 13:10:46
-7,200
5daa98b98e10a53763f995a0ac54e2383b9b068e
format java/sat.i
[ { "change_type": "MODIFY", "old_path": "ortools/sat/java/sat.i", "new_path": "ortools/sat/java/sat.i", "diff": "@@ -82,7 +82,6 @@ PROTO2_RETURN(operations_research::sat::CpSolverResponse,\n%}\n%typemap(in) std::function<void(const std::string&)> %{\n-\n// $input will be deleted once this function re...
C++
Apache License 2.0
google/or-tools
format java/sat.i
261,230
13.09.2021 14:09:11
-7,200
1ea133254a7b70c9d59da25ee7c12fb2f8085710
[CP-SAT] improve scheduling default search
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_search.cc", "new_path": "ortools/sat/cp_model_search.cc", "diff": "@@ -135,9 +135,11 @@ struct VarValue {\nnamespace {\n-bool ModelContainsNoOverlaps(const CpModelProto& cp_model_proto) {\n+// TODO(user): Save this somewhere instead of rec...
C++
Apache License 2.0
google/or-tools
[CP-SAT] improve scheduling default search
261,230
13.09.2021 16:09:38
-7,200
b474299fcf4d0cf74dad1b269916acfa3de24121
[CP-SAT] detect overflow on product; fix expansion of division with positive and negative domains
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -319,6 +319,17 @@ std::string ValidateIntProdConstraint(const CpModelProto& model,\nreturn absl::StrCat(\"An int_prod constraint should have exactly 2 terms: \",\nProt...
C++
Apache License 2.0
google/or-tools
[CP-SAT] detect overflow on product; fix expansion of division with positive and negative domains
261,218
13.09.2021 13:17:18
-7,200
c75e709180c753505308d77eed1c1dc517ae3e7b
tools/release: Fix script
[ { "change_type": "MODIFY", "old_path": "tools/release/build_delivery_linux.sh", "new_path": "tools/release/build_delivery_linux.sh", "diff": "@@ -105,7 +105,7 @@ function build_dotnet() {\n#make test_dotnet -l 4 UNIX_PYTHON_VER=3\n#echo \"make test_dotnet: DONE\" | tee -a build.log\n- cp packages/*n...
C++
Apache License 2.0
google/or-tools
tools/release: Fix script
261,218
14.09.2021 11:25:14
-7,200
9a544ab8266b622f156b9acf14e01352ded7f067
make: Fix make archive
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.archive.mk", "new_path": "makefiles/Makefile.archive.mk", "diff": "@@ -142,7 +142,7 @@ $(TEMP_ARCHIVE_DIR)/$(INSTALL_DIR)/examples/dotnet: | $(TEMP_ARCHIVE_DIR)/$(INST\n.PHONY: archive_dotnet # Add .Net OR-Tools to archive.\narchive_dotnet: ...
C++
Apache License 2.0
google/or-tools
make: Fix make archive
261,230
14.09.2021 11:43:20
-7,200
676462d79f86c57754f7c59b4559a0071294f41a
Make BoundedLinearExpression more pedantic, fix
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -647,28 +647,25 @@ class BoundedLinearExpression(object):\nreturn self.__bounds\ndef __bool__(self):\n- # Check for x == y\n- if self.__bounds == [0, 0]:\ncoeffs_map, co...
C++
Apache License 2.0
google/or-tools
Make BoundedLinearExpression more pedantic, fix #2762
261,230
14.09.2021 12:16:58
-7,200
08dbf8cb095c6223bb6ac452ac9ecfc15bdbf05c
[CP-SAT] improve display of expr != constant
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -636,6 +636,10 @@ class BoundedLinearExpression(object):\nreturn str(self.__expr) + ' <= ' + str(ub)\nelse:\nreturn 'True (unbounded expr ' + str(self.__expr) + ')'\n+ e...
C++
Apache License 2.0
google/or-tools
[CP-SAT] improve display of expr != constant
261,230
14.09.2021 17:32:15
-7,200
341494295795003b1fda38cbf31fb61fa32b6e44
[CP-SAT] add parameter to control the size of the solution pool; improve expand of multiplications spanning across 0; fix scaling bug
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -319,17 +319,6 @@ std::string ValidateIntProdConstraint(const CpModelProto& model,\nreturn absl::StrCat(\"An int_prod constraint should have exactly 2 terms: \",\nProt...
C++
Apache License 2.0
google/or-tools
[CP-SAT] add parameter to control the size of the solution pool; improve expand of multiplications spanning across 0; fix scaling bug
261,230
14.09.2021 17:32:52
-7,200
e7837137ef6eceba82b3f46a8bf42a5ae8638a4d
[FZ] support variable array base in the inverse constraint
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/checker.cc", "new_path": "ortools/flatzinc/checker.cc", "diff": "@@ -818,18 +818,21 @@ bool CheckInverse(const Constraint& ct,\nconst std::function<int64_t(IntegerVariable*)>& evaluator) {\nCHECK_EQ(Size(ct.arguments[0]), Size(ct.arguments[1])...
C++
Apache License 2.0
google/or-tools
[FZ] support variable array base in the inverse constraint
261,230
14.09.2021 17:33:20
-7,200
5763e5e8da1d001c76a1f7d17e2933b1a561edfa
improve jobshop_sat example
[ { "change_type": "MODIFY", "old_path": "examples/cpp/jobshop_sat.cc", "new_path": "examples/cpp/jobshop_sat.cc", "diff": "@@ -43,9 +43,6 @@ ABSL_FLAG(bool, use_interval_makespan, true,\nABSL_FLAG(\nbool, use_cumulative_relaxation, true,\n\"Whether we regroup multiple machines to create a cumulative ...
C++
Apache License 2.0
google/or-tools
improve jobshop_sat example
261,239
30.11.2020 17:10:28
-3,600
9ff67e012d23af363c9c7b13b9136461c7aba56f
Add routing example with driver breaks, based on route start time, for multiple vehicles
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/constraint_solver/samples/cvrptw_breaks_intvar.py", "diff": "+\"\"\"Vehicles Routing Problem (VRP) with Time Windows and breaks relative to the start time of the route.\"\"\"\n+\n+from __future__ import print_function\n+from ortools.cons...
C++
Apache License 2.0
google/or-tools
Add routing example with driver breaks, based on route start time, for multiple vehicles
261,230
15.09.2021 17:37:52
-7,200
32149058da53f3e3d56281f131da2016b6b93993
[GLOP] interval cleanup
[ { "change_type": "MODIFY", "old_path": "ortools/glop/revised_simplex.cc", "new_path": "ortools/glop/revised_simplex.cc", "diff": "@@ -2372,6 +2372,29 @@ Status RevisedSimplex::UpdateAndPivot(ColIndex entering_col,\nRowIndex leaving_row,\nFractional target_bound) {\nSCOPED_TIME_STAT(&function_stats_)...
C++
Apache License 2.0
google/or-tools
[GLOP] interval cleanup
261,218
15.09.2021 17:50:04
-7,200
7c588523669c9e97903cae0c1c0ce0b9bab10c94
java: Use auto-value in test
[ { "change_type": "MODIFY", "old_path": "examples/tests/ConstraintSolverTest.java", "new_path": "examples/tests/ConstraintSolverTest.java", "diff": "@@ -20,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;\nimport static org.junit.jupiter.api.Assertions.assertTrue;\nimport com....
C++
Apache License 2.0
google/or-tools
java: Use auto-value in test
261,230
16.09.2021 17:43:08
-7,200
b17cc59129d1ed10532330a044a72e402c729171
fix rare bugs
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -1557,6 +1557,34 @@ bool SolutionIsFeasible(const CpModelProto& model,\nreturn false;\n}\n}\n+\n+ // Check that the objective is within its domain.\n+ //\n+ // TODO(us...
C++
Apache License 2.0
google/or-tools
fix rare bugs
261,230
16.09.2021 17:43:19
-7,200
444f81bcf4b74c5d439cf00e3ac9dcef5f17333b
remove gtl::ContainsKey
[ { "change_type": "MODIFY", "old_path": "ortools/util/tuple_set.h", "new_path": "ortools/util/tuple_set.h", "diff": "@@ -199,7 +199,7 @@ bool IntTupleSet::Data::Contains(const std::vector<T>& candidate) const {\nreturn false;\n}\nconst int64_t fingerprint = Fingerprint(candidate);\n- if (gtl::Contain...
C++
Apache License 2.0
google/or-tools
remove gtl::ContainsKey
261,230
16.09.2021 17:43:32
-7,200
84a51c8e0aa12825da5f82cbef19257def6072f7
new model for SDST jobshops
[ { "change_type": "MODIFY", "old_path": "examples/cpp/jobshop_sat.cc", "new_path": "examples/cpp/jobshop_sat.cc", "diff": "@@ -40,6 +40,8 @@ ABSL_FLAG(bool, use_optional_variables, false,\n\"interval or not.\");\nABSL_FLAG(bool, use_interval_makespan, true,\n\"Whether we encode the makespan using an ...
C++
Apache License 2.0
google/or-tools
new model for SDST jobshops
261,218
13.09.2021 13:18:04
-7,200
1f76cc3e4d0465ad5d8c15094fd49b47c7bcb367
tools/docker: Few fixes
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -46,11 +46,13 @@ help:\n@echo -e \"\\t\\t${BOLD}export${RESET}\"\n@echo\n@echo\n- @echo -e \"\\t${BOLD}<stage>_amd64${RESET}: build <stage> docker images for ALL DISTROS.\"\n- @echo -e \"...
C++
Apache License 2.0
google/or-tools
tools/docker: Few fixes
261,218
13.09.2021 16:21:53
-7,200
abbeaace99f8aa47d74a294a30dc4fa7a52e991f
tools/docker: Fix python Dockerfiles and manylinux script
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -147,10 +147,6 @@ export:\nexport/python: | export\n-mkdir $@\n-export/python/%/build-manylinux1.sh: python/build-manylinux1.sh | export/python\n- -mkdir -p export/python/$*\n- cp $< $@\n...
C++
Apache License 2.0
google/or-tools
tools/docker: Fix python Dockerfiles and manylinux script
261,218
17.09.2021 09:44:04
-7,200
de098cd136ab4b6a17aac73a8939c5b8bfad1cc5
java: Fix ConstraintSolverTest.java
[ { "change_type": "MODIFY", "old_path": "examples/tests/ConstraintSolverTest.java", "new_path": "examples/tests/ConstraintSolverTest.java", "diff": "@@ -20,6 +20,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;\nimport static org.junit.jupiter.api.Assertions.assertTrue;\nimport com....
C++
Apache License 2.0
google/or-tools
java: Fix ConstraintSolverTest.java
261,218
17.09.2021 09:08:32
-7,200
3781b8511db9fb8fe24cd144639d8bbab391a47d
ci: Add github workflow for Makefile based build
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/make_linux_cpp.yml", "diff": "+name: Make Linux C++\n+\n+on: [push, pull_request]\n+\n+jobs:\n+ # Building using the github runner environement directly.\n+ make:\n+ runs-on: ubuntu-latest\n+ steps:\n+ - uses: actions/checkout@...
C++
Apache License 2.0
google/or-tools
ci: Add github workflow for Makefile based build
261,218
17.09.2021 14:36:24
-7,200
0a241f954b2d039c5462cbe3ecaba7c5a536c309
ci: Rework windows workflows
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_windows_cpp.yml", "new_path": ".github/workflows/make_windows_cpp.yml", "diff": "@@ -10,6 +10,8 @@ jobs:\n- uses: actions/checkout@v2\n- name: Check make\nrun: make --version\n+ - name: Check system\n+ run: make detect_port\n- name: Buil...
C++
Apache License 2.0
google/or-tools
ci: Rework windows workflows
261,218
17.09.2021 15:13:30
-7,200
639220da575d2b92b309df9436d716c8d18bd1d2
cmake: compile examples/test/*.cc
[ { "change_type": "MODIFY", "old_path": "examples/tests/CMakeLists.txt", "new_path": "examples/tests/CMakeLists.txt", "diff": "@@ -5,7 +5,7 @@ endif()\nif(BUILD_CXX_EXAMPLES)\nfile(GLOB CXX_SRCS \"*.cc\")\nforeach(FILE_NAME IN LISTS CXX_SRCS)\n- #add_cxx_test(${FILE_NAME})\n+ add_cxx_test(${FILE_NAME...
C++
Apache License 2.0
google/or-tools
cmake: compile examples/test/*.cc
261,218
17.09.2021 15:13:49
-7,200
522474264e0e3f804fc6b9cc5185833bc69d1afd
cmake: compile examples/cpp/*.cc
[ { "change_type": "MODIFY", "old_path": "examples/cpp/CMakeLists.txt", "new_path": "examples/cpp/CMakeLists.txt", "diff": "@@ -2,91 +2,24 @@ if(NOT BUILD_CXX_EXAMPLES)\nreturn()\nendif()\n-if(APPLE)\n- set(CMAKE_INSTALL_RPATH\n- \"@loader_path/../${CMAKE_INSTALL_LIBDIR};@loader_path\")\n-elseif(UNIX)...
C++
Apache License 2.0
google/or-tools
cmake: compile examples/cpp/*.cc
261,218
17.09.2021 15:14:05
-7,200
ed7584e35d9706eed99f11b957871edb40f866a5
cmake: cleanup contrib
[ { "change_type": "MODIFY", "old_path": "examples/contrib/CMakeLists.txt", "new_path": "examples/contrib/CMakeLists.txt", "diff": "@@ -3,7 +3,10 @@ if(NOT BUILD_EXAMPLES)\nendif()\nif(BUILD_CXX_EXAMPLES)\n-\n+ file(GLOB CXX_SRCS \"*.cc\")\n+ foreach(FILE_NAME IN LISTS CXX_SRCS)\n+ add_cxx_example(${F...
C++
Apache License 2.0
google/or-tools
cmake: cleanup contrib
261,218
17.09.2021 15:54:24
-7,200
dcc66d7c73eced791c176ac29cc25d56ef50abef
routing: reduce time limit sample to 5 seconds
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/samples/VrpWithTimeLimit.cs", "new_path": "ortools/constraint_solver/samples/VrpWithTimeLimit.cs", "diff": "@@ -106,7 +106,7 @@ public class Vrp\nsearchParameters.FirstSolutionStrategy = FirstSolutionStrategy.Types.Value.PathCheapestA...
C++
Apache License 2.0
google/or-tools
routing: reduce time limit sample to 5 seconds
261,218
17.09.2021 15:54:43
-7,200
ccb4f15c8100b39fa6672d043b4f7dfbcc1de541
cmake: Fix examples/cpp
[ { "change_type": "MODIFY", "old_path": "examples/cpp/CMakeLists.txt", "new_path": "examples/cpp/CMakeLists.txt", "diff": "@@ -2,24 +2,49 @@ if(NOT BUILD_CXX_EXAMPLES)\nreturn()\nendif()\n+#file(GLOB_RECURSE proto_files RELATIVE ${PROJECT_SOURCE_DIR} \"*.proto\")\n+#foreach(PROTO_FILE IN LISTS proto_...
C++
Apache License 2.0
google/or-tools
cmake: Fix examples/cpp
261,218
17.09.2021 16:55:22
-7,200
942195d7c1290b70fcf56fe1779394769fb25321
python: fix cp_model_test.py
[ { "change_type": "MODIFY", "old_path": "examples/tests/cp_model_test.py", "new_path": "examples/tests/cp_model_test.py", "diff": "@@ -503,6 +503,7 @@ class CpModelTest(unittest.TestCase):\nself.assertEqual(3, model_var.domain[1])\ndef testStr(self):\n+ print('testStr')\nmodel = cp_model.CpModel()\nx...
C++
Apache License 2.0
google/or-tools
python: fix cp_model_test.py
261,230
20.09.2021 15:24:31
-7,200
85f2c4189c482e4d01822eaa1ffc1e19272f3f5a
add routing based LNS
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_lns.cc", "new_path": "ortools/sat/cp_model_lns.cc", "diff": "#include \"ortools/sat/cp_model_lns.h\"\n+#include <algorithm>\n#include <cstdint>\n#include <limits>\n#include <numeric>\n@@ -295,20 +296,102 @@ std::vector<int> NeighborhoodGen...
C++
Apache License 2.0
google/or-tools
add routing based LNS
261,230
20.09.2021 15:24:56
-7,200
058618a9c44ebab22f634998e64aedba6da1b8e2
fix more corner cases bugs
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.proto", "new_path": "ortools/sat/cp_model.proto", "diff": "@@ -401,6 +401,10 @@ message ConstraintProto {\n// variables. By convention, because we can just remove term equal to one,\n// the empty product forces the target to be one.\n//\n+...
C++
Apache License 2.0
google/or-tools
fix more corner cases bugs
261,218
20.09.2021 15:26:56
-7,200
3f0074f7e69b3e8d1866ef901f20f85e5be79cbe
tools/docker: rename ENV_DIR -> VENV_DIR
[ { "change_type": "MODIFY", "old_path": "tools/docker/python/build-manylinux.sh", "new_path": "tools/docker/python/build-manylinux.sh", "diff": "@@ -50,9 +50,9 @@ function build_wheel() {\n# this is needed so protoc can call the correct python executable\nlocal -r PYBIN=\"$1/bin\"\n\"${PYBIN}/pip\" i...
C++
Apache License 2.0
google/or-tools
tools/docker: rename ENV_DIR -> VENV_DIR
261,218
17.09.2021 15:57:47
-7,200
7d374004b0871dff18d4bf9cc657710af37dc2ef
ci(windows): Fix Makefile build
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_windows_cpp.yml", "new_path": ".github/workflows/make_windows_cpp.yml", "diff": "@@ -8,15 +8,22 @@ jobs:\nruns-on: windows-latest\nsteps:\n- uses: actions/checkout@v2\n+ - uses: ilammy/msvc-dev-cmd@v1\n+ - name: Clean sh.exe\n+ run: |\n+...
C++
Apache License 2.0
google/or-tools
ci(windows): Fix Makefile build
261,218
20.09.2021 16:55:59
-7,200
0ae20b26fce3d3f47e80ae71ea1939d16712159c
deps: bump Protobuf to 3.18.0
[ { "change_type": "MODIFY", "old_path": "Dependencies.txt", "new_path": "Dependencies.txt", "diff": "-Protobuf=3.17.3\n+Protobuf=3.18.0\nabseil-cpp=20210324.2\nCbc=2.10.5\nCgl=0.60.3\n" }, { "change_type": "MODIFY", "old_path": "WORKSPACE", "new_path": "WORKSPACE", "diff": "@@ -31...
C++
Apache License 2.0
google/or-tools
deps: bump Protobuf to 3.18.0
261,230
21.09.2021 09:24:58
-7,200
8c781c0ba4cc81f280e054a98674ae82eef37ca5
bump .net targets to netcoreapp3.1 and net5.0
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/Google.OrTools.FSharp/Google.OrTools.FSharp.fsproj.in", "new_path": "ortools/dotnet/Google.OrTools.FSharp/Google.OrTools.FSharp.fsproj.in", "diff": "<Project Sdk=\"Microsoft.NET.Sdk\">\n<PropertyGroup>\n<OutputType>Library</OutputType>\n- <Targe...
C++
Apache License 2.0
google/or-tools
bump .net targets to netcoreapp3.1 and net5.0
261,230
21.09.2021 10:09:32
-7,200
a3dc3b53049593ca6c99728011d8b01b6968b462
bump cmake dotnet actions
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cmake_linux_dotnet.yml", "new_path": ".github/workflows/cmake_linux_dotnet.yml", "diff": "@@ -6,6 +6,10 @@ jobs:\n# Building using the github runner environement directly.\ncmake:\nruns-on: ubuntu-latest\n+ strategy:\n+ fail-fast: false\n+ ma...
C++
Apache License 2.0
google/or-tools
bump cmake dotnet actions
261,230
21.09.2021 10:16:23
-7,200
21793b6d0153ac92bbc7a64ac36728e04a5845c0
fix github actions for dotnet
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cmake_linux_dotnet.yml", "new_path": ".github/workflows/cmake_linux_dotnet.yml", "diff": "@@ -19,7 +19,7 @@ jobs:\n- name: Check swig\nrun: swig -version\n- name: Setup dotnet ${{ matrix.dotnet-version }}\n- uses: ./\n+ uses: actions/setup-do...
C++
Apache License 2.0
google/or-tools
fix github actions for dotnet
261,230
21.09.2021 10:24:38
-7,200
ca8d535668f6ff7bb1cdd4d085baf72b7d5e9a70
use latest versions of dotnet in github actions
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cmake_linux_dotnet.yml", "new_path": ".github/workflows/cmake_linux_dotnet.yml", "diff": "@@ -9,7 +9,7 @@ jobs:\nstrategy:\nfail-fast: false\nmatrix:\n- dotnet-version: ['3.1', '5.0']\n+ dotnet-version: ['3.1.x', '5.0.x']\nsteps:\n- uses: act...
C++
Apache License 2.0
google/or-tools
use latest versions of dotnet in github actions
261,230
21.09.2021 12:50:22
-7,200
ae6f0e8431a3d1432de79e764982df50ec724986
try github actions without dotnet setup
[ { "change_type": "MODIFY", "old_path": ".github/workflows/make_linux_dotnet.yml", "new_path": ".github/workflows/make_linux_dotnet.yml", "diff": "@@ -6,10 +6,6 @@ jobs:\n# Building using the github runner environement directly.\nmake:\nruns-on: ubuntu-latest\n- strategy:\n- fail-fast: false\n- matri...
C++
Apache License 2.0
google/or-tools
try github actions without dotnet setup
261,230
21.09.2021 12:53:39
-7,200
279144fa019535bec6237d37566d00e8fc40ccbc
bump absl version in setup.py
[ { "change_type": "MODIFY", "old_path": "tools/setup.py.in", "new_path": "tools/setup.py.in", "diff": "@@ -43,7 +43,7 @@ setup(\npackages=find_packages(),\ninstall_requires=[\n'protobuf >= 3.18.0',\n- 'absl-py >= 0.11',\n+ 'absl-py >= 0.13',\n],\npackage_data={\n'ortools.init' : ['_pywrapinit.dll', '...
C++
Apache License 2.0
google/or-tools
bump absl version in setup.py
261,230
21.09.2021 13:10:01
-7,200
7f1e83ef666a48e8ee6a3c082b02f013b9debf8b
remove cmake linux code
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cmake_linux_dotnet.yml", "new_path": ".github/workflows/cmake_linux_dotnet.yml", "diff": "@@ -6,10 +6,6 @@ jobs:\n# Building using the github runner environement directly.\ncmake:\nruns-on: ubuntu-latest\n- strategy:\n- fail-fast: false\n- ma...
C++
Apache License 2.0
google/or-tools
remove cmake linux code
261,230
21.09.2021 13:21:26
-7,200
0d8b878caf6b91993e725fa288e0023706c01b7e
bump fsproj examples to coreapp 3.1
[ { "change_type": "MODIFY", "old_path": "examples/contrib/SimpleProgramFSharp.fsproj", "new_path": "examples/contrib/SimpleProgramFSharp.fsproj", "diff": "<PropertyGroup>\n<OutputType>Exe</OutputType>\n- <TargetFramework>netcoreapp2.1</TargetFramework>\n+ <TargetFramework>netcoreapp3.1</TargetFramewo...
C++
Apache License 2.0
google/or-tools
bump fsproj examples to coreapp 3.1
261,230
21.09.2021 13:23:27
-7,200
058ab7bce0ad8229d4c0b50ac997ade3780b2747
remove github actions setup_dotnet code
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cmake_macos_dotnet.yml", "new_path": ".github/workflows/cmake_macos_dotnet.yml", "diff": "@@ -6,10 +6,6 @@ jobs:\n# Building using the github runner environement directly.\ncmake_make:\nruns-on: macos-latest\n- strategy:\n- fail-fast: false\n...
C++
Apache License 2.0
google/or-tools
remove github actions setup_dotnet code
261,230
21.09.2021 13:47:34
-7,200
8c733da2a674dc3a4d4d098a8239979d76e34f08
update cmake dockerfiles and tools alpine dockerfile for dotnet 5.0
[ { "change_type": "MODIFY", "old_path": "cmake/docker/alpine/dotnet.Dockerfile", "new_path": "cmake/docker/alpine/dotnet.Dockerfile", "diff": "@@ -12,6 +12,17 @@ RUN dotnet_sdk_version=3.1.404 \\\n&& rm dotnet.tar.gz\n# Trigger first run experience by running arbitrary cmd\nRUN dotnet --info\n+# see:...
C++
Apache License 2.0
google/or-tools
update cmake dockerfiles and tools alpine dockerfile for dotnet 5.0
261,230
21.09.2021 13:57:38
-7,200
337b9550567fb64bb1007ccc73096130b459b9b4
tag last version for the minizinc challenge
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -471,7 +471,7 @@ distclean: clean | export/archives\n##########################\n## MINIZINC CHALLENGE ##\n##########################\n-MZN_TAG=or-tools-minizinc-challenge:2021v3\n+MZN_TA...
C++
Apache License 2.0
google/or-tools
tag last version for the minizinc challenge
261,230
22.09.2021 14:57:08
-7,200
980e0620972c10ab25db5be9a4ae3283f917fb91
reduce usage of gtl::ContainsKey
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/checker.cc", "new_path": "ortools/flatzinc/checker.cc", "diff": "@@ -72,7 +72,7 @@ bool CheckAllDifferentInt(const Constraint& ct,\nabsl::flat_hash_set<int64_t> visited;\nfor (int i = 0; i < Size(ct.arguments[0]); ++i) {\nconst int64_t value =...
C++
Apache License 2.0
google/or-tools
reduce usage of gtl::ContainsKey
261,230
22.09.2021 14:57:59
-7,200
a188a66a9bbf78a93b732a74d1ddce0bcb060a25
[CP-SAT] fix presolve and postsolve corner cases
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_postsolve.cc", "new_path": "ortools/sat/cp_model_postsolve.cc", "diff": "@@ -230,12 +230,12 @@ void PostsolveElement(const ConstraintProto& ct, std::vector<Domain>* domains) {\n// whatever the value of the index and selected variable, we c...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix presolve and postsolve corner cases
261,230
22.09.2021 17:37:02
-7,200
9b5bc8a5fcc6d48acb84baa7cdeb27366406dd8b
[CP-SAT] fix bug in routing LNS; improve routing presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_lns.cc", "new_path": "ortools/sat/cp_model_lns.cc", "diff": "@@ -1060,6 +1060,8 @@ Neighborhood RoutingFullPathNeighborhoodGenerator::Generate(\nabsl::BitGenRef random) {\nstd::vector<std::vector<int>> all_paths =\nhelper_.GetRoutingPaths(...
C++
Apache License 2.0
google/or-tools
[CP-SAT] fix bug in routing LNS; improve routing presolve
261,230
22.09.2021 18:27:06
-7,200
d04f608f0580d957d817d922dca80394ad918468
polish last push
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_lns.cc", "new_path": "ortools/sat/cp_model_lns.cc", "diff": "@@ -240,6 +240,12 @@ Neighborhood NeighborhoodGeneratorHelper::FullNeighborhood() const {\nreturn neighborhood;\n}\n+Neighborhood NeighborhoodGeneratorHelper::NoNeighborhood() co...
C++
Apache License 2.0
google/or-tools
polish last push
261,230
22.09.2021 20:07:41
-7,200
6625a0b5a7b74b83dd408e21c082dddebb053f76
remove a few C# warnings
[ { "change_type": "MODIFY", "old_path": "ortools/sat/csharp/CpSolver.cs", "new_path": "ortools/sat/csharp/CpSolver.cs", "diff": "@@ -154,7 +154,7 @@ namespace Google.OrTools.Sat\nelse if (expr is SumArray)\n{\nSumArray a = (SumArray)expr;\n- constant += coeff * a.Constant;\n+ constant += coeff * a.Of...
C++
Apache License 2.0
google/or-tools
remove a few C# warnings
261,230
22.09.2021 20:41:43
-7,200
cbc4887bfb0aabc014a153d686cfea03a52fed6f
[CP-SAT] overwrite the number of workers when enumerating all solutions
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -3014,7 +3014,8 @@ CpSolverResponse SolveCpModel(const CpModelProto& model_proto, Model* model) {\nSOLVER_LOG(logger, \"Starting CP-SAT solver.\");\n// Initialize the nu...
C++
Apache License 2.0
google/or-tools
[CP-SAT] overwrite the number of workers when enumerating all solutions
261,230
23.09.2021 11:35:31
-7,200
a7e1bc741cec386e24bfe6cca60a03e147816f07
[CP-SAT] prevent overflow with hints
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -7143,7 +7143,10 @@ void ApplyVariableMapping(const std::vector<int>& mapping,\n// the hint is clearly infeasible, but we still set it to a \"close\" value.\nconst A...
C++
Apache License 2.0
google/or-tools
[CP-SAT] prevent overflow with hints
261,230
23.09.2021 14:30:01
-7,200
778b1b3854c96f82aeae6162207ee789e3e63d30
[MPSolver] Add better code to interrupt solve; rewrite thread management code when using the CP-SAT solver backend
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/gurobi_interface.cc", "new_path": "ortools/linear_solver/gurobi_interface.cc", "diff": "@@ -83,7 +83,7 @@ class GurobiInterface : public MPSolverInterface {\n// Solves the problem using the parameter values specified.\nMPSolver::ResultSta...
C++
Apache License 2.0
google/or-tools
[MPSolver] Add better code to interrupt solve; rewrite thread management code when using the CP-SAT solver backend
261,230
23.09.2021 14:30:25
-7,200
623706668c67eeb87dc9e53989827a19650cc12c
[CP-SAT] deal with overflow in hints
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -793,7 +793,7 @@ std::string ValidateSolutionHint(const CpModelProto& model) {\n}\n}\n- // Reject hint with duplicate variables has this is likely a user error.\n+ // ...
C++
Apache License 2.0
google/or-tools
[CP-SAT] deal with overflow in hints
261,218
24.09.2021 08:25:23
-7,200
c33d76208d8d0cc7ab02ebd2f25f1dac867c9f86
ci(cmake): make wget quiet
[ { "change_type": "MODIFY", "old_path": "cmake/docker/arm/glop.Dockerfile", "new_path": "cmake/docker/arm/glop.Dockerfile", "diff": "@@ -11,7 +11,7 @@ RUN apt-get update -qq \\\n&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*\n# Install CMake 3.21.1\n-RUN wget \"https://cmake.org/files/v3.21/cmake-3...
C++
Apache License 2.0
google/or-tools
ci(cmake): make wget quiet
261,218
24.09.2021 08:25:31
-7,200
56b79baba66d4d20f67f3f40bce338d1b89412ac
ci(make): make wget quiet
[ { "change_type": "MODIFY", "old_path": "makefiles/docker/centos/Dockerfile", "new_path": "makefiles/docker/centos/Dockerfile", "diff": "@@ -12,7 +12,7 @@ RUN dnf -y update \\\n&& rm -rf /var/cache/dnf\n# Install CMake 3.21.1\n-RUN wget \"https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh\" \...
C++
Apache License 2.0
google/or-tools
ci(make): make wget quiet
261,218
24.09.2021 08:25:50
-7,200
9b18da3e9c9e5a853176ba92d203093421666d5a
tools/release: make wget quiet
[ { "change_type": "MODIFY", "old_path": "tools/release/Dockerfile", "new_path": "tools/release/Dockerfile", "diff": "@@ -22,7 +22,7 @@ SHELL [\"/bin/bash\", \"--login\", \"-c\"]\n# RUN gcc --version\n# Install CMake 3.21.1\n-RUN wget \"https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_64.sh\" \\\n...
C++
Apache License 2.0
google/or-tools
tools/release: make wget quiet
261,230
24.09.2021 11:04:39
-7,200
b90bcd58f9f71b7d87ce123c1cc1edd5f3184d69
cleanup thread manager for CP-SAT linear solver backend
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/sat_interface.cc", "new_path": "ortools/linear_solver/sat_interface.cc", "diff": "@@ -286,8 +286,8 @@ void SatInterface::ExtractObjective() { NonIncrementalChange(); }\nvoid SatInterface::SetParameters(const MPSolverParameters& param) {\n...
C++
Apache License 2.0
google/or-tools
cleanup thread manager for CP-SAT linear solver backend
261,218
24.09.2021 13:42:18
-7,200
0ad4e86c6e22c16c6ecd8cc691100cdb9ac404f8
tools/docker: Add Fedora 34 tests container
[ { "change_type": "ADD", "old_path": null, "new_path": "tools/docker/test/amd64/fedora-34/cc.Dockerfile", "diff": "+FROM fedora:34\n+LABEL maintainer=\"corentinl@google.com\"\n+\n+RUN dnf -y update \\\n+&& dnf -y install git \\\n+ wget which redhat-lsb-core pkgconfig autoconf libtool zlib-devel \\\n+...
C++
Apache License 2.0
google/or-tools
tools/docker: Add Fedora 34 tests container
261,218
24.09.2021 13:42:36
-7,200
0ce707312a28fa82887da082f3586274f6316441
tools/docker: Add Debian 11 tests container
[ { "change_type": "ADD", "old_path": null, "new_path": "tools/docker/test/amd64/debian-11/cc.Dockerfile", "diff": "+FROM debian:11\n+LABEL maintainer=\"corentinl@google.com\"\n+\n+RUN apt-get update \\\n+&& apt-get install -y -q build-essential zlib1g-dev \\\n+&& apt-get clean \\\n+&& rm -rf /var/lib...
C++
Apache License 2.0
google/or-tools
tools/docker: Add Debian 11 tests container
261,218
24.09.2021 13:43:16
-7,200
827e3d406d150e388f0169de7ade623ae32ad177
tools/docker: Fix .Net install in Debian container
[ { "change_type": "MODIFY", "old_path": "tools/docker/amd64/debian-10.Dockerfile", "new_path": "tools/docker/amd64/debian-10.Dockerfile", "diff": "@@ -27,13 +27,12 @@ RUN apt-get update -qq \\\nENV JAVA_HOME=/usr/lib/jvm/default-java\n# Dotnet Install\n-# see https://docs.microsoft.com/en-us/dotnet/c...
C++
Apache License 2.0
google/or-tools
tools/docker: Fix .Net install in Debian container
261,218
24.09.2021 14:00:30
-7,200
431fa90c8695c3f03e9cf402e09ff8f9170a5295
tools/docker: Fixup Makefile
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -71,7 +71,7 @@ help:\n@echo -e \"\\t\\t${BOLD}ubuntu-21.04${RESET} (rolling)\"\n@echo -e \"\\t\\t${BOLD}ubuntu-20.04${RESET} (Ubuntu 20.04 LTS, latest)\"\n@echo -e \"\\t\\t${BOLD}ubuntu-1...
C++
Apache License 2.0
google/or-tools
tools/docker: Fixup Makefile
261,218
24.09.2021 14:03:14
-7,200
e5b6e548009da9538c1501eff7369068205fea2d
ci: Remove appveyor we now have github action windows workflows...
[ { "change_type": "DELETE", "old_path": ".appveyor.yml", "new_path": null, "diff": "-version: '{build}'\n-shallow_clone: true\n-\n-platform: x64\n-\n-environment:\n- MSBUILD_FLAGS: /verbosity:minimal /maxcpucount\n- APPVEYOR_SAVE_CACHE_ON_ERROR: true\n- matrix:\n-# Makefile\n- - APPVEYOR_BUILD_WORKER...
C++
Apache License 2.0
google/or-tools
ci: Remove appveyor we now have github action windows workflows...
261,218
24.09.2021 14:10:55
-7,200
943e513935518bd07b480e9c366893f8adc13e92
tools/docker: Fix manylinux export
[ { "change_type": "MODIFY", "old_path": "tools/docker/Makefile", "new_path": "tools/docker/Makefile", "diff": "@@ -209,7 +209,7 @@ $(python_targets_export): python_amd64_%_export: python_amd64_%_build | export\n${DOCKER_RUN_CMD} \\\n-v `pwd`/export:/export \\\n-it ${IMAGE}:python_amd64_$*_build \\\n-...
C++
Apache License 2.0
google/or-tools
tools/docker: Fix manylinux export