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 | 04.11.2021 18:58:34 | -3,600 | 3b745ab2c12264fc6cc7cffc55eb996a3602351e | [CP-SAT] tweak to lb_tree_search | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/integer_expr.cc",
"new_path": "ortools/sat/integer_expr.cc",
"diff": "@@ -77,16 +77,11 @@ void IntegerSumLE::FillIntegerReason() {\n}\nstd::pair<IntegerValue, IntegerValue> IntegerSumLE::ConditionalLb(\n- IntegerVariable bool_view, IntegerVariable ... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] tweak to lb_tree_search |
261,218 | 05.11.2021 14:08:25 | -3,600 | d43ce9860bb6843aaa6a5c1b8a7fabf4b5024153 | python: clean setup.py.in | [
{
"change_type": "MODIFY",
"old_path": "ortools/python/setup.py.in",
"new_path": "ortools/python/setup.py.in",
"diff": "@@ -69,21 +69,32 @@ setup(\ndownload_url='https://github.com/google/or-tools/releases',\nclassifiers=[\n'Development Status :: 5 - Production/Stable',\n+ 'Environment :: Console',\... | C++ | Apache License 2.0 | google/or-tools | python: clean setup.py.in |
261,218 | 08.11.2021 11:57:18 | -3,600 | a6d96b8db978e30667039189da60480cf8a29115 | ci(linux): Add ninja jobs for C++ | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/cmake_linux_cpp.yml",
"new_path": ".github/workflows/cmake_linux_cpp.yml",
"diff": "@@ -4,7 +4,43 @@ on: [push, pull_request]\njobs:\n# Building using the github runner environement directly.\n- cmake:\n+ ninja:\n+ runs-on: ubuntu-latest\n+ s... | C++ | Apache License 2.0 | google/or-tools | ci(linux): Add ninja jobs for C++ |
261,218 | 08.11.2021 11:57:36 | -3,600 | 02047c14c20093a50206f637b84e96fabc48954d | ci(linux): Add ninja jobs for Python | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/cmake_linux_python.yml",
"new_path": ".github/workflows/cmake_linux_python.yml",
"diff": "@@ -4,7 +4,60 @@ on: [push, pull_request]\njobs:\n# Building using the github runner environement directly.\n- cmake:\n+ ninja:\n+ runs-on: ubuntu-lates... | C++ | Apache License 2.0 | google/or-tools | ci(linux): Add ninja jobs for Python |
261,230 | 13.11.2021 08:36:50 | -3,600 | ccc1f0bfeba13cf6028e28c95a0a683679f5c42e | [GLOP] little speed optim | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/sparse_vector.h",
"new_path": "ortools/lp_data/sparse_vector.h",
"diff": "@@ -597,6 +597,10 @@ void SparseVector<IndexType, IteratorType>::PopulateFromSparseVector(\n// the next step anyway.\nClear();\nReserve(sparse_vector.capacity_);\n+ // If... | C++ | Apache License 2.0 | google/or-tools | [GLOP] little speed optim |
261,230 | 13.11.2021 08:37:25 | -3,600 | a90184b091083f76eed0ec05b512523174dece20 | [UTIL] add CapAddTo saturated arithmetic method | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/saturated_arithmetic.h",
"new_path": "ortools/util/saturated_arithmetic.h",
"diff": "@@ -131,6 +131,8 @@ inline int64_t CapAdd(int64_t x, int64_t y) {\n#endif\n}\n+inline void CapAddTo(int64_t x, int64_t* y) { *y = CapAdd(*y, x); }\n+\ninline int6... | C++ | Apache License 2.0 | google/or-tools | [UTIL] add CapAddTo saturated arithmetic method |
261,230 | 13.11.2021 13:22:22 | -3,600 | f716236b0431f9c5258b8c5fb797efbc34662f8b | 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": "@@ -399,11 +399,11 @@ class CpModelTest(unittest.TestCase):\nx = model.NewIntVar(0, 10, 'x')\ny = model.NewIntVar(0, 50, 'y')\nmodel.AddDivisionEquality(x, y, 6)\n- self.... | C++ | Apache License 2.0 | google/or-tools | fix cp_model_test.py |
261,230 | 14.11.2021 15:45:17 | -3,600 | 9d1fffebe5af0edba49f3e9c5c419f419109cad0 | [CP-SAT] add better detection of linearizable product | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/implied_bounds.cc",
"new_path": "ortools/sat/implied_bounds.cc",
"diff": "@@ -336,6 +336,26 @@ bool DetectLinearEncodingOfProducts(const AffineExpression& left,\nreturn true;\n}\n+ // Linearization is possible if both left and right have the same B... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] add better detection of linearizable product |
261,230 | 14.11.2021 15:45:37 | -3,600 | f76c909bc468920b6d25cdc42ddf86bc4d905063 | [CP-SAT] add no_overlap_2d linear relaxation | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_relaxation.cc",
"new_path": "ortools/sat/linear_relaxation.cc",
"diff": "@@ -761,6 +761,58 @@ void AppendNoOverlapRelaxation(const CpModelProto& model_proto,\nrelaxation);\n}\n+void AppendNoOverlap2dRelaxation(const CpModelProto& model_proto... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] add no_overlap_2d linear relaxation |
261,230 | 14.11.2021 19:18:00 | -3,600 | 503a4c3bd2a0665e258fe8c0e401abed4fb59d0e | improve 2d packing example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/packing_2d_sat.py",
"new_path": "examples/python/packing_2d_sat.py",
"diff": "@@ -37,6 +37,10 @@ flags.DEFINE_string('params', 'num_search_workers:16,log_search_progress:true',\nflags.DEFINE_string('model', 'rotation', '\\'duplicate\\' or \\'ro... | C++ | Apache License 2.0 | google/or-tools | improve 2d packing example |
261,218 | 15.11.2021 11:46:27 | -3,600 | bcd652c7b2110f8297cb93a225c5ced34e95ef9d | python: Add numpy as dependency
Use version shipped with Ubuntu 18.04 as minimal version.
src: | [
{
"change_type": "MODIFY",
"old_path": "cmake/python.cmake",
"new_path": "cmake/python.cmake",
"diff": "@@ -271,10 +271,6 @@ install(SCRIPT ${PROJECT_BINARY_DIR}/python/python-install.cmake)\n## Python Test ##\n###################\nif(BUILD_TESTING)\n- search_python_module(\n- NAME absl\n- PACKAGE a... | C++ | Apache License 2.0 | google/or-tools | python: Add numpy as dependency
Use version shipped with Ubuntu 18.04 as minimal version.
src: https://launchpad.net/ubuntu/+source/python-numpy |
261,230 | 15.11.2021 11:48:17 | -3,600 | 9b75a7118d4a73a8f93f295a0b0e0f448c71733c | [CP-SAT] support numpy integers in most of the API | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -45,14 +45,13 @@ rather than for solving specific optimization problems.\n\"\"\"\nimport collections\n-import numbers\nimport threading\nimport time\nimport warnings\nfr... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] support numpy integers in most of the API |
261,230 | 15.11.2021 11:48:34 | -3,600 | 5111c0d7b5538d0ff092f9d8502bc49fe90af9f5 | continue improving 2d packing example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/packing_2d_sat.py",
"new_path": "examples/python/packing_2d_sat.py",
"diff": "@@ -69,9 +69,6 @@ def build_data():\nreturn (data, max_height, max_width)\n-# pytype: disable=wrong-arg-types\n-\n-\ndef solve_with_duplicate_items(data, max_height, ... | C++ | Apache License 2.0 | google/or-tools | continue improving 2d packing example |
261,218 | 15.11.2021 12:54:08 | -3,600 | 31ed4a4a509e123cebd31bdf4f2a00570629662d | python: Add minimum python version supported | [
{
"change_type": "MODIFY",
"old_path": "ortools/python/setup.py.in",
"new_path": "ortools/python/setup.py.in",
"diff": "@@ -41,6 +41,7 @@ setup(\nname='@PROJECT_NAME@',\nversion='@PROJECT_VERSION@',\npackages=find_packages(),\n+ python_requires=[\">=3.6\"],\ninstall_requires=[\n'protobuf >= 3.18.0',... | C++ | Apache License 2.0 | google/or-tools | python: Add minimum python version supported |
261,230 | 15.11.2021 19:42:38 | -3,600 | fc4cbe4a34deb0061660ecaca863c8a04b5c26c9 | [CP-SAT] polish no_overlap_2d relaxation code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_relaxation.cc",
"new_path": "ortools/sat/linear_relaxation.cc",
"diff": "@@ -761,11 +761,12 @@ void AppendNoOverlapRelaxation(const CpModelProto& model_proto,\nrelaxation);\n}\n-void AppendNoOverlap2dRelaxation(const CpModelProto& model_prot... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] polish no_overlap_2d relaxation code |
261,230 | 16.11.2021 23:52:58 | -3,600 | 028dc3b39f19b5ff28e287c2ef35b024716ca91d | [GLOP] remove unused flag; do not recompute prices if we are not going to use them | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lp_solver.cc",
"new_path": "ortools/glop/lp_solver.cc",
"diff": "#include \"ortools/util/file_util.h\"\n#endif\n-ABSL_FLAG(bool, lp_solver_enable_fp_exceptions, false,\n- \"When true, NaNs and division / zero produce errors. \"\n- \"This is very u... | C++ | Apache License 2.0 | google/or-tools | [GLOP] remove unused flag; do not recompute prices if we are not going to use them |
261,230 | 16.11.2021 23:53:16 | -3,600 | 11450544b3e8d92b22a9aeb32ba2084c338f21a3 | update mps reader to support semi continous variables | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/BUILD",
"new_path": "ortools/lp_data/BUILD",
"diff": "@@ -274,6 +274,7 @@ cc_library(\n\"//ortools/base:status_macros\",\n\"//ortools/base:strong_vector\",\n\"//ortools/linear_solver:linear_solver_cc_proto\",\n+ \"@com_google_absl//absl/contain... | C++ | Apache License 2.0 | google/or-tools | update mps reader to support semi continous variables |
261,230 | 16.11.2021 23:55:30 | -3,600 | b42582de2763828579748de0f85604b998d64fd1 | [CP-SAT] better use of symmetries; better presolve of products; add affine API in the python API; fix linearization of products | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/BUILD",
"new_path": "ortools/sat/BUILD",
"diff": "@@ -78,6 +78,7 @@ cc_library(\n\"//ortools/base\",\n\"//ortools/base:stl_util\",\n\"//ortools/util:sorted_interval_list\",\n+ \"@com_google_absl//absl/container:flat_hash_map\",\n\"@com_google_absl/... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] better use of symmetries; better presolve of products; add affine API in the python API; fix linearization of products |
261,230 | 19.11.2021 00:27:59 | -3,600 | 179b088c505286aa157a4bf0b8dbcbac66316525 | remove uncorrectly exported code | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/BUILD",
"new_path": "ortools/graph/BUILD",
"diff": "@@ -39,18 +39,6 @@ cc_library(\nhdrs = [\"iterators.h\"],\n)\n-cc_library(\n- name = \"io\",\n- hdrs = [\"io.h\"],\n- deps = [\n- \":graph\",\n- \"//ortools/base:filelineiter\",\n- \"@com_google... | C++ | Apache License 2.0 | google/or-tools | remove uncorrectly exported code |
261,230 | 19.11.2021 01:00:59 | -3,600 | 7826f2a8a0b6983c17041fa59960f1a398393baf | reorder build file; reindent code | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/christofides.h",
"new_path": "ortools/graph/christofides.h",
"diff": "@@ -81,9 +81,7 @@ class ChristofidesPathSolver {\nbool Solve();\nprivate:\n- int64_t SafeAdd(int64_t a, int64_t b) {\n- return CapAdd(a, b);\n- }\n+ int64_t SafeAdd(int64_t a, ... | C++ | Apache License 2.0 | google/or-tools | reorder build file; reindent code |
261,230 | 19.11.2021 10:34:24 | -3,600 | 6c474223bded713442d87da01bc67edcd457d05b | [PACKING] update packing solver | [
{
"change_type": "MODIFY",
"old_path": "ortools/packing/arc_flow_solver.cc",
"new_path": "ortools/packing/arc_flow_solver.cc",
"diff": "@@ -72,14 +72,19 @@ double ConvertVectorBinPackingProblem(const vbp::VectorBinPackingProblem& input,\nvbp::VectorBinPackingSolution SolveVectorBinPackingWithArcFlow... | C++ | Apache License 2.0 | google/or-tools | [PACKING] update packing solver |
261,230 | 19.11.2021 13:57:23 | -3,600 | 94d37c40ad803590cf0b65d5e1707bfda048df42 | add numpy install to github make python actions | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/make_linux_python.yml",
"new_path": ".github/workflows/make_linux_python.yml",
"diff": "@@ -13,7 +13,7 @@ jobs:\n- name: Install python3\nrun: |\nsudo apt-get install python3-venv python3-pip\n- python3 -m pip install --user mypy-protobuf abs... | C++ | Apache License 2.0 | google/or-tools | add numpy install to github make python actions |
261,218 | 19.11.2021 13:39:48 | -3,600 | ef0cd09433248987185076fa93e79988c3cc3764 | bazel: clean WORKSPACE | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -34,10 +34,8 @@ git_repository(\ncommit = \"89b14b1\", # release v3.18.0\nremote = \"https://github.com/protocolbuffers/protobuf.git\",\n)\n-\n-load(\"@com_google_protobuf//:protobuf_deps.bzl\", \"protobuf_deps\... | C++ | Apache License 2.0 | google/or-tools | bazel: clean WORKSPACE |
261,218 | 19.11.2021 14:04:34 | -3,600 | 000010a4057ecf643d903d0762a129fee5b65460 | ci(make): Add pandas | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/make_linux_python.yml",
"new_path": ".github/workflows/make_linux_python.yml",
"diff": "@@ -13,7 +13,7 @@ jobs:\n- name: Install python3\nrun: |\nsudo apt-get install python3-venv python3-pip\n- python3 -m pip install --user mypy-protobuf abs... | C++ | Apache License 2.0 | google/or-tools | ci(make): Add pandas |
261,218 | 19.11.2021 14:24:03 | -3,600 | 94d4c254383a820517b27dd8933451d82af95d00 | cmake: Fix python executable in python install script | [
{
"change_type": "MODIFY",
"old_path": "cmake/python-install.cmake.in",
"new_path": "cmake/python-install.cmake.in",
"diff": "@@ -13,7 +13,7 @@ endif()\n# Check if we have system Python on Debian/Ubuntu, if so tell setuptools\n# to use the deb layout (dist-packages instead of site-packages).\nexecut... | C++ | Apache License 2.0 | google/or-tools | cmake: Fix python executable in python install script |
261,218 | 19.11.2021 14:52:25 | -3,600 | a9c46d2302dde9664b7df55fb4747b84e570165b | rework bazel doc | [
{
"change_type": "MODIFY",
"old_path": "bazel/README.md",
"new_path": "bazel/README.md",
"diff": "@@ -17,11 +17,12 @@ Dockers [Alpine, Archlinux, Centos, Debian, Fedora, OpenSuse, Ubuntu]: [![Status\n[docker_svg]: https://github.com/google/or-tools/actions/workflows/bazel_docker.yml/badge.svg?branch... | C++ | Apache License 2.0 | google/or-tools | rework bazel doc |
261,230 | 19.11.2021 21:58:56 | -3,600 | 703efd16b33eb4d6bc745b0c5413ef5f3b40952b | [CP-SAT] fix presolve bug for floating point objective; fix symmetry code | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_loader.cc",
"new_path": "ortools/sat/cp_model_loader.cc",
"diff": "@@ -260,23 +260,54 @@ void LoadVariables(const CpModelProto& model_proto,\nvoid LoadBooleanSymmetries(const CpModelProto& model_proto, Model* m) {\nauto* mapping = m->GetOr... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix presolve bug for floating point objective; fix symmetry code |
261,230 | 22.11.2021 13:03:39 | -3,600 | 0fb4626592e012c55fc10285ee100779f89d0dc2 | missing timer method | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/timer.h",
"new_path": "ortools/base/timer.h",
"diff": "@@ -48,6 +48,7 @@ class WallTimer {\ninline absl::Duration GetDuration() const {\nreturn absl::Nanoseconds(GetNanos());\n}\n+ bool IsRunning() const { return running_; }\nprotected:\nint64_t G... | C++ | Apache License 2.0 | google/or-tools | missing timer method |
261,218 | 22.11.2021 15:17:45 | -3,600 | d8c9b78a30b0d2afb54071be82dd1d1e2045222e | cmake: Don't enable GLPK support by default. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -140,7 +140,9 @@ if(USE_SCIP)\nmessage(STATUS \"Build SCIP: ${BUILD_SCIP}\")\nendif()\n-CMAKE_DEPENDENT_OPTION(USE_GLPK \"Use the GLPK solver\" ON \"BUILD_CXX\" OFF)\n+# Disable by default since it is ... | C++ | Apache License 2.0 | google/or-tools | cmake: Don't enable GLPK support by default. |
261,218 | 22.11.2021 17:17:43 | -3,600 | 323df716f3e029b3e746a2ffd8efd6bcdd444776 | cmake: Make BUILD_LP_PARSER optional (OFF by default) | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -77,6 +77,9 @@ message(STATUS \"Build Flatzinc: ${BUILD_FLATZINC}\")\nCMAKE_DEPENDENT_OPTION(BUILD_GLOP \"Build GLOP standalone\" ON \"NOT BUILD_CXX\" OFF)\nmessage(STATUS \"Build standalone Glop: ${BU... | C++ | Apache License 2.0 | google/or-tools | cmake: Make BUILD_LP_PARSER optional (OFF by default) |
261,218 | 22.11.2021 17:31:51 | -3,600 | eb1d802e5a024644d49cb81d6ada54b781ab853d | cmake: fix glop build | [
{
"change_type": "MODIFY",
"old_path": "cmake/glop.cmake",
"new_path": "cmake/glop.cmake",
"diff": "@@ -236,6 +236,7 @@ target_link_libraries(glop PUBLIC\nabsl::statusor\nabsl::str_format\nprotobuf::libprotobuf\n+ ${RE2_DEPS}\n)\nif(WIN32)\n#target_link_libraries(glop PUBLIC psapi.lib ws2_32.lib)\n"... | C++ | Apache License 2.0 | google/or-tools | cmake: fix glop build |
261,230 | 23.11.2021 14:58:14 | -3,600 | f320168508198095fc18967bae7267bbc7fc0e3f | [CP-SAT] bugfixes; fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/all_different.cc",
"new_path": "ortools/sat/all_different.cc",
"diff": "@@ -64,12 +64,28 @@ std::function<void(Model*)> AllDifferentBinary(\n};\n}\n+std::function<void(Model*)> AllDifferentOnBounds(\n+ const std::vector<AffineExpression>& expressio... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] bugfixes; fix #2908 |
261,230 | 23.11.2021 21:37:43 | -3,600 | 70bce119e6ad6bd7281e56697e051f9d860d4c61 | [UTIL] speed improvement | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/piecewise_linear_function.cc",
"new_path": "ortools/util/piecewise_linear_function.cc",
"diff": "#include <string>\n#include <vector>\n+#include \"absl/container/btree_set.h\"\n#include \"absl/strings/str_format.h\"\n#include \"ortools/base/loggin... | C++ | Apache License 2.0 | google/or-tools | [UTIL] speed improvement |
261,230 | 25.11.2021 15:02:51 | -3,600 | 1dd4eff16e767e08e6d1d9e6fa9fc9b672725b30 | [CP-SAT] Reservoir constraint uses affine expression for the time part; rename fields in the reservoir constraint | [
{
"change_type": "MODIFY",
"old_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/java/com/google/ortools/sat/CpModel.java",
"diff": "@@ -35,6 +35,7 @@ import com.google.ortools.util.Domain;\nimport java.util.LinkedHashMap;\nimport java.util.Map;\n+// TODO(user): Rewrit... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] Reservoir constraint uses affine expression for the time part; rename fields in the reservoir constraint |
261,218 | 26.11.2021 10:28:50 | -3,600 | d51879e3d704689e988a41eca3c635afd446ac4d | cmake: cleanup <lang>.cmake | [
{
"change_type": "MODIFY",
"old_path": "cmake/dotnet.cmake",
"new_path": "cmake/dotnet.cmake",
"diff": "@@ -391,4 +391,3 @@ function(add_dotnet_example FILE_NAME)\nendif()\nmessage(STATUS \"Configuring example ${FILE_NAME} done\")\nendfunction()\n-\n"
},
{
"change_type": "MODIFY",
"old_p... | C++ | Apache License 2.0 | google/or-tools | cmake: cleanup <lang>.cmake |
261,230 | 26.11.2021 21:39:47 | -3,600 | 43a9dcc18a8c4ce801bfac626cada5998e32b1f7 | remove log; fix C# | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -3481,7 +3481,6 @@ bool CpModelPresolver::PresolveAllDiff(ConstraintProto* ct) {\n}\nif (kept_expressions.size() < all_diff.exprs_size()) {\n- LOG(INFO) << all_diff.... | C++ | Apache License 2.0 | google/or-tools | remove log; fix C# |
261,230 | 27.11.2021 21:55:58 | -3,600 | 5e9d7ab240e03ac2c56b89f5d8abf045148d28be | simplify random code | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/random.cc",
"new_path": "ortools/base/random.cc",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-#if defined(__GNUC__)\n-#include <unistd.h>\n-#if defined(__linux__)\n-#include ... | C++ | Apache License 2.0 | google/or-tools | simplify random code |
261,230 | 28.11.2021 12:55:20 | -3,600 | 6c3425bd047d69d1f1dffe24b2dc6c509777f508 | [PACKING] use absl::btree_map instead of std::map; reindent code | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/vector_bin_packing_solver.cc",
"new_path": "examples/cpp/vector_bin_packing_solver.cc",
"diff": "@@ -66,7 +66,6 @@ void ParseAndSolve(const std::string& filename, const std::string& solver,\n<< \"Ignoring max_bins value. The feasibility problem is... | C++ | Apache License 2.0 | google/or-tools | [PACKING] use absl::btree_map instead of std::map; reindent code |
261,230 | 28.11.2021 12:56:53 | -3,600 | faf7cb9c8d136712c3867487bb4f59f7a5622f42 | [LP-DATA] reformat | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/BUILD",
"new_path": "ortools/lp_data/BUILD",
"diff": "@@ -224,8 +224,8 @@ cc_library(\n\"//ortools/base:case\",\n\"//ortools/base:map_util\",\n\"//ortools/linear_solver:linear_solver_cc_proto\",\n- \"@com_google_absl//absl/strings\",\n\"@com_go... | C++ | Apache License 2.0 | google/or-tools | [LP-DATA] reformat |
261,230 | 28.11.2021 12:57:35 | -3,600 | cd739ce7fd4b05dca2404e4f5a0177b69027b7ca | [INIT] move VersionString code to base/version | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/version.cc",
"new_path": "ortools/base/version.cc",
"diff": "#include <string>\n+#include \"absl/strings/str_cat.h\"\n+\nnamespace operations_research {\nint OrToolsMajorVersion() { return OR_TOOLS_MAJOR; }\n+\nint OrToolsMinorVersion() { return O... | C++ | Apache License 2.0 | google/or-tools | [INIT] move VersionString code to base/version |
261,230 | 28.11.2021 12:58:51 | -3,600 | 2fff96092a1f357bfbd17c0867de48823dd1f8d8 | [GLOP] fix bazel on windows; add parameter to report or not imprecise status; add missing include | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/BUILD",
"new_path": "ortools/glop/BUILD",
"diff": "@@ -26,7 +26,6 @@ SAFE_FP_CODE = select({\n\"//conditions:default\": [\"\"],\n})\n-\n# Revised Simplex LP solver.\ncc_library(\nname = \"pricing\",\n"
},
{
"change_type": "MODIFY",
"ol... | C++ | Apache License 2.0 | google/or-tools | [GLOP] fix bazel on windows; add parameter to report or not imprecise status; add missing include |
261,230 | 28.11.2021 12:59:53 | -3,600 | 92137693d4bbdb56e7a8daeb232aa06da34964e3 | add missing base include | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/graph.h",
"new_path": "ortools/graph/graph.h",
"diff": "#include <new>\n#include <vector>\n+#include \"absl/base/port.h\"\n#include \"absl/debugging/leak_check.h\"\n#include \"ortools/base/integral_types.h\"\n#include \"ortools/base/logging.h\"\n... | C++ | Apache License 2.0 | google/or-tools | add missing base include |
261,230 | 28.11.2021 13:01:55 | -3,600 | 9fefaadfaf48711bc19867fe1d8b0562bf475162 | [LP] change default tolerance on verify solution; add missing base include | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/bop_interface.cc",
"new_path": "ortools/linear_solver/bop_interface.cc",
"diff": "#include <string>\n#include <vector>\n+#include \"absl/base/attributes.h\"\n#include \"google/protobuf/text_format.h\"\n#include \"ortools/base/commandlinef... | C++ | Apache License 2.0 | google/or-tools | [LP] change default tolerance on verify solution; add missing base include |
261,230 | 28.11.2021 13:02:30 | -3,600 | 16ce1f113b82b7adcfb1829507995ba34515c936 | [FZ] fix bazel build on Windows; reformat | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/BUILD",
"new_path": "ortools/flatzinc/BUILD",
"diff": "@@ -53,12 +53,12 @@ cc_library(\n\"$(STACK_FRAME_UNLIMITED)\", # parser.tab.cc\n],\ndeps = [\n+ \":model\",\n\"//ortools/base\",\n\"//ortools/base:map_util\",\n\"//ortools/base:mathutil\",... | C++ | Apache License 2.0 | google/or-tools | [FZ] fix bazel build on Windows; reformat |
261,230 | 28.11.2021 13:04:58 | -3,600 | c80b2c1154a9c036bcd1584b6814e12f8d08b665 | [CP-SAT] add utilities to inspect the objective scaling, and get better back-scaling of the internal objective; fix a few corner bugs in presolve/postsolve/checker | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.proto",
"new_path": "ortools/sat/cp_model.proto",
"diff": "@@ -457,6 +457,13 @@ message CpObjectiveProto {\n// Note that this does not depend on the offset or scaling factor, it is a\n// domain on the sum of the objective terms only.\nrepe... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] add utilities to inspect the objective scaling, and get better back-scaling of the internal objective; fix a few corner bugs in presolve/postsolve/checker |
261,230 | 28.11.2021 17:18:34 | -3,600 | 41e9109711a5c63f24c1549bc9af7b8ab1cbf962 | support gurobi 9.5 | [
{
"change_type": "MODIFY",
"old_path": "ortools/gurobi/environment.cc",
"new_path": "ortools/gurobi/environment.cc",
"diff": "@@ -666,8 +666,8 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {\nstd::vector<std::string> GurobiDynamicLibraryPotentialPaths() {\nstd::vector<std::stri... | C++ | Apache License 2.0 | google/or-tools | support gurobi 9.5 |
261,218 | 29.11.2021 08:43:23 | -3,600 | 393686e54a78548c0aaae8391dadd5db2934ce01 | bazel: Fix re2.patch | [
{
"change_type": "MODIFY",
"old_path": "bazel/re2.patch",
"new_path": "bazel/re2.patch",
"diff": "@@ -3681,3 +3681,4 @@ index a69908a..a449054 100644\n+std::string CEscape(const absl::string_view& src);\nvoid PrefixSuccessor(std::string* prefix);\nstd::string StringPrintf(const char* format, ...);\n... | C++ | Apache License 2.0 | google/or-tools | bazel: Fix re2.patch |
261,218 | 26.11.2021 13:44:19 | -3,600 | 882f13d248d5cb6cbd95bf0be570e5349d3dde22 | cmake: Remove CMakeTest.java | [
{
"change_type": "MODIFY",
"old_path": "cmake/java.cmake",
"new_path": "cmake/java.cmake",
"diff": "@@ -19,7 +19,7 @@ if(UNIX AND NOT APPLE)\nlist(APPEND CMAKE_SWIG_FLAGS \"-DSWIGWORDSIZE64\")\nendif()\n-# Find Java\n+# Find Java and JNI\nfind_package(Java 1.8 COMPONENTS Development REQUIRED)\nfind_... | C++ | Apache License 2.0 | google/or-tools | cmake: Remove CMakeTest.java |
261,218 | 29.11.2021 11:05:18 | -3,600 | 84e98a0d0489f5f821647b3ba3062b6139bd366a | cmake: Export symbols on windows when building as SHARED lib | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -53,6 +53,10 @@ else()\nendforeach()\nendif()\n+if(BUILD_SHARED_LIBS AND MSVC)\n+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)\n+endif()\n+\n# By default only build the C++ library.\noption(BUILD_CXX \"Bui... | C++ | Apache License 2.0 | google/or-tools | cmake: Export symbols on windows when building as SHARED lib |
261,230 | 29.11.2021 11:28:07 | -3,600 | 499b070eaceb94be1ee07a05607e2a263499e361 | polish BUILD files | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/BUILD",
"new_path": "ortools/base/BUILD",
"diff": "@@ -7,6 +7,13 @@ config_setting(\n],\n)\n+config_setting(\n+ name = \"on_macos\",\n+ constraint_values = [\n+ \"@platforms//os:macos\",\n+ ],\n+)\n+\nconfig_setting(\nname = \"on_windows\",\nconst... | C++ | Apache License 2.0 | google/or-tools | polish BUILD files |
261,218 | 29.11.2021 11:46:37 | -3,600 | c2316407b4a4fee84cc258b73529388b5df3f042 | cmake(ci): Fix opensuse java.Dockerfile | [
{
"change_type": "MODIFY",
"old_path": "cmake/docker/opensuse/java.Dockerfile",
"new_path": "cmake/docker/opensuse/java.Dockerfile",
"diff": "FROM ortools/cmake:opensuse_swig AS env\n+# Install Java JDK and Maven\nRUN zypper update -y \\\n-&& zypper install -y java-1_8_0-openjdk-devel maven \\\n+&& ... | C++ | Apache License 2.0 | google/or-tools | cmake(ci): Fix opensuse java.Dockerfile |
261,218 | 29.11.2021 11:59:38 | -3,600 | 4f4c46ac8862b963ab146d79ca5036c2b048d4f3 | make(ci): fix Archlinux python | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/archlinux/python.Dockerfile",
"new_path": "makefiles/docker/archlinux/python.Dockerfile",
"diff": "FROM ortools/make:archlinux_swig AS env\n-RUN pacman -Syu --noconfirm python python-pip python-wheel\n+RUN pacman -Syu --noconfirm python python... | C++ | Apache License 2.0 | google/or-tools | make(ci): fix Archlinux python |
261,218 | 29.11.2021 11:59:48 | -3,600 | f3febdf705879749837743f5e9137c51b3e55170 | make(ci): fix Centos python | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/centos/python.Dockerfile",
"new_path": "makefiles/docker/centos/python.Dockerfile",
"diff": "FROM ortools/make:centos_swig AS env\nRUN dnf -y update \\\n-&& dnf -y install python38-devel python38-pip python38-wheel \\\n+&& dnf -y install pytho... | C++ | Apache License 2.0 | google/or-tools | make(ci): fix Centos python |
261,218 | 29.11.2021 13:20:42 | -3,600 | 3a9fb814410dc39fa0e9a79ba89d6c2d5d179a92 | make(ci): Fix python ubuntu docker | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/ubuntu/python.Dockerfile",
"new_path": "makefiles/docker/ubuntu/python.Dockerfile",
"diff": "FROM ortools/make:ubuntu_swig AS env\nRUN apt-get update -qq \\\n-&& apt-get install -yq python3-dev python3-pip python3-wheel python3-venv \\\n+&& ap... | C++ | Apache License 2.0 | google/or-tools | make(ci): Fix python ubuntu docker |
261,218 | 29.11.2021 13:21:14 | -3,600 | 55543ef325f2ebcf0cec5e3cc2ca722dba890e4a | make(ci): Fix Python opensuse | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/opensuse/python.Dockerfile",
"new_path": "makefiles/docker/opensuse/python.Dockerfile",
"diff": "FROM ortools/make:opensuse_swig AS env\nRUN zypper update -y \\\n-&& zypper install -y python3-devel python3-pip python3-wheel \\\n+&& zypper inst... | C++ | Apache License 2.0 | google/or-tools | make(ci): Fix Python opensuse |
261,218 | 29.11.2021 13:21:23 | -3,600 | 555b702dd2e0303c28a2f8c123a3b8e8cccd505e | make(ci): Fix Python Fedora | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/fedora/python.Dockerfile",
"new_path": "makefiles/docker/fedora/python.Dockerfile",
"diff": "FROM ortools/make:fedora_swig AS env\nRUN dnf -y update \\\n-&& dnf -y install python3-devel python3-pip python3-wheel \\\n+&& dnf -y install python3-... | C++ | Apache License 2.0 | google/or-tools | make(ci): Fix Python Fedora |
261,218 | 29.11.2021 13:21:33 | -3,600 | aff6c0f5ece93869d4b17d2be52a5a43020c764c | make(ci): Fix Python Debian | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/debian/python.Dockerfile",
"new_path": "makefiles/docker/debian/python.Dockerfile",
"diff": "FROM ortools/make:debian_swig AS env\nRUN apt-get update -qq \\\n-&& apt-get install -yq python3-dev python3-pip python3-wheel python3-venv \\\n+&& ap... | C++ | Apache License 2.0 | google/or-tools | make(ci): Fix Python Debian |
261,218 | 29.11.2021 13:38:33 | -3,600 | d09e5c05d4edb7d17b32f815b28046bf488979aa | bazel(ci): display version of bazel | [
{
"change_type": "MODIFY",
"old_path": "bazel/docker/alpine/Dockerfile",
"new_path": "bazel/docker/alpine/Dockerfile",
"diff": "@@ -22,6 +22,7 @@ WORKDIR /home/lib\nCOPY . .\nFROM devel as build\n+RUN bazel version\nRUN bazel build --curses=no --host_javabase=@local_jdk//:jdk --cxxopt=-std=c++17 --c... | C++ | Apache License 2.0 | google/or-tools | bazel(ci): display version of bazel |
261,218 | 29.11.2021 13:50:27 | -3,600 | ad9dfd371d42d40ac3730a8927b0c8c60cd5c1c7 | bazel(ci): fix install using bazel4 package | [
{
"change_type": "MODIFY",
"old_path": "bazel/docker/alpine/Dockerfile",
"new_path": "bazel/docker/alpine/Dockerfile",
"diff": "@@ -5,7 +5,7 @@ LABEL maintainer=\"corentinl@google.com\"\n# Install system build dependencies\nENV PATH=/usr/local/bin:$PATH\nRUN apk add --no-cache git build-base linux-h... | C++ | Apache License 2.0 | google/or-tools | bazel(ci): fix install using bazel4 package |
261,230 | 29.11.2021 14:06:01 | -3,600 | c2596b402903948d3ca93d29fa43bf153e5701cc | more work on bazel | [
{
"change_type": "MODIFY",
"old_path": "bazel/scip.BUILD",
"new_path": "bazel/scip.BUILD",
"diff": "@@ -2,6 +2,48 @@ exports_files(\n[\"src/lpi/lpi_glop.cpp\"],\n)\n+config_setting(\n+ name = \"on_linux\",\n+ constraint_values = [\n+ \"@platforms//os:linux\",\n+ ],\n+)\n+\n+config_setting(\n+ name =... | C++ | Apache License 2.0 | google/or-tools | more work on bazel |
261,218 | 29.11.2021 14:09:32 | -3,600 | b0f801c823150bef159de2ce2a6bfce33295a2a3 | cmake(ci): Cleanup workflows | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/cmake_linux_dotnet.yml",
"new_path": ".github/workflows/cmake_linux_dotnet.yml",
"diff": "@@ -8,14 +8,14 @@ jobs:\nruns-on: ubuntu-latest\nsteps:\n- uses: actions/checkout@v2\n- - name: Check cmake\n- run: cmake --version\n- name: Swig instal... | C++ | Apache License 2.0 | google/or-tools | cmake(ci): Cleanup workflows |
261,218 | 29.11.2021 14:24:18 | -3,600 | 73631fab7d3411a420182ac81fd8d6c6bfd28815 | make(ci): Fix .Net Archlinux docker | [
{
"change_type": "MODIFY",
"old_path": "makefiles/docker/archlinux/dotnet.Dockerfile",
"new_path": "makefiles/docker/archlinux/dotnet.Dockerfile",
"diff": "FROM ortools/make:archlinux_swig AS env\n-RUN pacman -Syu --noconfirm dotnet-sdk-3.1 dotnet-sdk-5.0\n+RUN pacman -Syu --noconfirm dotnet-sdk-3.1... | C++ | Apache License 2.0 | google/or-tools | make(ci): Fix .Net Archlinux docker |
261,218 | 29.11.2021 14:26:14 | -3,600 | ea67b85c301564307136398a0097d095f8534c39 | cmake(ci): Fix .Net CMake docker | [
{
"change_type": "MODIFY",
"old_path": "cmake/docker/archlinux/dotnet.Dockerfile",
"new_path": "cmake/docker/archlinux/dotnet.Dockerfile",
"diff": "FROM ortools/cmake:archlinux_swig AS env\n-RUN pacman -Syu --noconfirm dotnet-sdk-3.1 dotnet-sdk-5.0\n+RUN pacman -Syu --noconfirm dotnet-sdk-3.1 dotnet... | C++ | Apache License 2.0 | google/or-tools | cmake(ci): Fix .Net CMake docker |
261,230 | 29.11.2021 14:32:48 | -3,600 | 699022953d112015d20d51d0c5d72af7c958af87 | fix scip build for bazel; re-enable hungarian_test for bazel | [
{
"change_type": "MODIFY",
"old_path": "bazel/scip.BUILD",
"new_path": "bazel/scip.BUILD",
"diff": "@@ -24,15 +24,26 @@ config_setting(\n)\nPLATFORM_FLAGS = select({\n- \"on_linux\": [\"-Wunknown-pragmas\", \"-fexceptions\", \"-DSYM=bliss\"],\n- \"on_macos\": [\"-Wunknown-pragmas\", \"-fexceptions\"... | C++ | Apache License 2.0 | google/or-tools | fix scip build for bazel; re-enable hungarian_test for bazel |
261,218 | 29.11.2021 16:30:20 | -3,600 | d17660c9a189f8f36fa0c70d472f14695c909d4f | cmake(ci): fix Python Alpine docker | [
{
"change_type": "MODIFY",
"old_path": "cmake/docker/alpine/python.Dockerfile",
"new_path": "cmake/docker/alpine/python.Dockerfile",
"diff": "FROM ortools/cmake:alpine_swig AS env\nENV PATH=/root/.local/bin:$PATH\n-RUN apk add --no-cache python3-dev py3-pip\n+RUN apk add --no-cache python3-dev py3-p... | C++ | Apache License 2.0 | google/or-tools | cmake(ci): fix Python Alpine docker |
261,230 | 29.11.2021 19:48:03 | -3,600 | 375caecc04727da593a8a4a908cd12078f165b3e | fix SCIP bazel build | [
{
"change_type": "MODIFY",
"old_path": "bazel/scip.BUILD",
"new_path": "bazel/scip.BUILD",
"diff": "@@ -36,7 +36,8 @@ PLATFORM_FLAGS = select({\n],\n\"on_windows\": [\n\"/DSYM=none\",\n- \"/DSCIP_NO_SIGACTION\"\n+ \"/DSCIP_NO_SIGACTION\",\n+ \"/DSCIP_NO_STRTOK_R\",\n],\n\"//conditions:default\": [],... | C++ | Apache License 2.0 | google/or-tools | fix SCIP bazel build |
261,230 | 30.11.2021 08:53:42 | -3,600 | 9f7c1d28db79ea401a92b097c23a473c7a0a8ac2 | [CP-SAT] fix bugs in checker, lp_utils; improve english in doc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model.h",
"new_path": "ortools/sat/cp_model.h",
"diff": "@@ -734,12 +734,12 @@ class CpModelBuilder {\nIntVar NewConstant(int64_t value);\n/// Creates an always true Boolean variable.\n- /// If this is called multiple time, always the same varia... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix bugs in checker, lp_utils; improve english in doc |
261,230 | 30.11.2021 10:38:16 | -3,600 | 21df82251d776f55126b17fb390d05a3c0b301ac | [CP-SAT] fix potential overflow in presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -6469,33 +6469,43 @@ void CpModelPresolver::TryToSimplifyDomain(int var) {\n// Update the objective if needed. Note that this operation can fail if\n// the new expre... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix potential overflow in presolve |
261,230 | 30.11.2021 10:38:48 | -3,600 | 201a07bb3a64eb36de66d33741531da10149b2a6 | [BAZEL] remove windows warning | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/BUILD",
"new_path": "ortools/base/BUILD",
"diff": "@@ -184,7 +184,12 @@ cc_library(\nhdrs = [\n\"recordio.h\",\n],\n- linkopts = [\"-lz\"],\n+ linkopts = select({\n+ \"on_linux\": [\"-lz\"],\n+ \"on_macos\": [\"-lz\"],\n+ \"on_windows\": [],\n+ \"... | C++ | Apache License 2.0 | google/or-tools | [BAZEL] remove windows warning |
261,230 | 30.11.2021 10:43:10 | -3,600 | 8df0c17e25f5e6f0c15077866aaf06213035b2d0 | [BAZEL] Try C++20 on windows | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/bazel_windows.yml",
"new_path": ".github/workflows/bazel_windows.yml",
"diff": "@@ -18,6 +18,6 @@ jobs:\nchoco install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=\"-std:c++17\" //...:all\n+ run: bazel build --cxxopt=\"... | C++ | Apache License 2.0 | google/or-tools | [BAZEL] Try C++20 on windows |
261,230 | 30.11.2021 11:10:29 | -3,600 | b56f5c51f4002ee2c5112dccce4fcf30c8d97dbb | remove math_opt from windows bazel | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/bazel_windows.yml",
"new_path": ".github/workflows/bazel_windows.yml",
"diff": "@@ -18,6 +18,6 @@ jobs:\nchoco install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=\"-std:c++17\" //...:all\n+ run: bazel build --cxxopt=\"... | C++ | Apache License 2.0 | google/or-tools | remove math_opt from windows bazel |
261,230 | 30.11.2021 11:28:15 | -3,600 | 093e69071592fd281be68ee79e5fee9b1fae73e9 | fix bazel syntax | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/bazel_windows.yml",
"new_path": ".github/workflows/bazel_windows.yml",
"diff": "@@ -18,6 +18,6 @@ jobs:\nchoco install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=\"-std:c++17\" //...:all -//ortools/math_opt/...\n+ run:... | C++ | Apache License 2.0 | google/or-tools | fix bazel syntax |
261,230 | 30.11.2021 14:10:39 | -3,600 | 87e36438886680cd025fe7ed7a2577c7a3414ed9 | [BAZEL] update windows command line | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/bazel_windows.yml",
"new_path": ".github/workflows/bazel_windows.yml",
"diff": "@@ -18,6 +18,6 @@ jobs:\nchoco install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=\"-std:c++17\" //...:all -- -//ortools/math_opt/...\n+ r... | C++ | Apache License 2.0 | google/or-tools | [BAZEL] update windows command line |
261,230 | 30.11.2021 17:03:29 | -3,600 | d869d80dadd9e1acdb77716352a4404ac378cc7a | [CP-SAT] fix lns bug | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_lns.cc",
"new_path": "ortools/sat/cp_model_lns.cc",
"diff": "@@ -117,6 +117,32 @@ void NeighborhoodGeneratorHelper::Synchronize() {\n}\n}\n+bool NeighborhoodGeneratorHelper::ObjectiveDomainIsConstraining() const {\n+ if (!model_proto_.has_... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] fix lns bug |
261,230 | 30.11.2021 17:20:36 | -3,600 | 1a94c2f7cb1d3c9420e54d9d331f88f6fcf1252e | bump absl and scip in Makefiles/bazel/Dependencies.txt | [
{
"change_type": "MODIFY",
"old_path": "Dependencies.txt",
"new_path": "Dependencies.txt",
"diff": "-Protobuf=3.18.0\n-abseil-cpp=20210324.2\n+Protobuf=3.9.1\n+abseil-cpp=20211102.0\nCbc=2.10.5\nCgl=0.60.3\nClp=1.17.4\n"
},
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_pat... | C++ | Apache License 2.0 | google/or-tools | bump absl and scip in Makefiles/bazel/Dependencies.txt |
261,230 | 30.11.2021 17:33:54 | -3,600 | ed1e3e7169d0291504bbeaef0ce37c3ea822bebb | compile bazel windows with C++20 to support math_opt | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/bazel_windows.yml",
"new_path": ".github/workflows/bazel_windows.yml",
"diff": "@@ -18,6 +18,6 @@ jobs:\nchoco install bazel\nbazel --version\n- name: Build\n- run: bazel build --cxxopt=\"-std:c++17\" -- //... -//ortools/math_opt/...\n+ run: ... | C++ | Apache License 2.0 | google/or-tools | compile bazel windows with C++20 to support math_opt |
261,218 | 30.11.2021 11:00:57 | -3,600 | 9bcf1170400fe494c9d09873bc34b4a88811527c | cmake: Rework dotnet.cmake | [
{
"change_type": "MODIFY",
"old_path": "cmake/dotnet.cmake",
"new_path": "cmake/dotnet.cmake",
"diff": "@@ -122,22 +122,27 @@ configure_file(ortools/dotnet/Directory.Build.props.in dotnet/Directory.Build.pr\n############################\n# Build or retrieve .snk file\nif(DEFINED ENV{DOTNET_SNK})\n- ... | C++ | Apache License 2.0 | google/or-tools | cmake: Rework dotnet.cmake |
261,218 | 26.11.2021 17:36:09 | -3,600 | a79afd8305a2337df425135928b8199e04d7b7e4 | Add tests for ortools/init | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/tests/InitTest.java",
"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 obtain a copy of... | C++ | Apache License 2.0 | google/or-tools | Add tests for ortools/init |
261,230 | 30.11.2021 18:19:54 | -3,600 | 30aabd9c2d01ce11dcf8d8ca1d2b7f096c0d78f2 | revert version bump for cmake/make | [
{
"change_type": "MODIFY",
"old_path": "Dependencies.txt",
"new_path": "Dependencies.txt",
"diff": "-Protobuf=3.19.1\n-abseil-cpp=20211102.0\n+Protobuf=3.18.0\n+abseil-cpp=20210324.2\nCbc=2.10.5\nCgl=0.60.3\nClp=1.17.4\n"
},
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.thir... | C++ | Apache License 2.0 | google/or-tools | revert version bump for cmake/make |
261,230 | 30.11.2021 21:56:15 | -3,600 | 9986577bd29eb77982e6ee324a343056dd0af84f | tentative fix makefile unix | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -307,75 +307,64 @@ _ABSL_STATIC_LIB_DIR = $(dir $(wildcard \\\n$(UNIX_ABSL_DIR)/lib*/libabsl_base.a \\\n$(UNIX_ABSL_DIR)/lib/*/libabsl_base.a))\nSTATIC_A... | C++ | Apache License 2.0 | google/or-tools | tentative fix makefile unix |
261,230 | 02.12.2021 10:38:18 | -3,600 | c83cf5386b3d074c9b9f07d452bbfcf147660573 | bump mac min version to 10.15 | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.port.mk",
"new_path": "makefiles/Makefile.port.mk",
"diff": "@@ -119,7 +119,7 @@ ifeq ($(SYSTEM),unix)\nelse\nJAVA_HOME ?= $(shell /usr/libexec/java_home)\nendif\n- MAC_MIN_VERSION = 10.14\n+ MAC_MIN_VERSION = 10.15\nendif # ($(OS),Darwin)\n... | C++ | Apache License 2.0 | google/or-tools | bump mac min version to 10.15 |
261,230 | 02.12.2021 11:03:50 | -3,600 | 14c2c60932df61105761e354521d57046be3e0af | improve min_mac_version support; bump to 10.15 | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -16,6 +16,9 @@ set(CMAKE_CXX_STANDARD 17)\nset(CMAKE_CXX_STANDARD_REQUIRED ON)\nset(CMAKE_CXX_EXTENSIONS OFF)\n+# Set max os target version.\n+set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)\n+\n# Default Build... | C++ | Apache License 2.0 | google/or-tools | improve min_mac_version support; bump to 10.15 |
261,230 | 02.12.2021 11:15:21 | -3,600 | 39b642c3e2ca755863ecde4f9dcf30cd02298fe9 | re-fix example | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/uncapacitated_facility_location.cc",
"new_path": "examples/cpp/uncapacitated_facility_location.cc",
"diff": "@@ -38,16 +38,16 @@ ABSL_FLAG(double, fix_cost, 5000, \"Cost of opening a facility.\");\nnamespace operations_research {\n-typedef struct ... | C++ | Apache License 2.0 | google/or-tools | re-fix example |
261,230 | 02.12.2021 12:03:07 | -3,600 | 2f4750184d66165f53e8dd027bb50192fde86f3d | [BAZEL] remove windows warning in ortools/util | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/BUILD",
"new_path": "ortools/util/BUILD",
"diff": "-load(\"@rules_cc//cc:defs.bzl\", \"cc_proto_library\")\n-\npackage(default_visibility = [\"//visibility:public\"])\n+config_setting(\n+ name = \"on_linux\",\n+ constraint_values = [\n+ \"@platfor... | C++ | Apache License 2.0 | google/or-tools | [BAZEL] remove windows warning in ortools/util |
261,230 | 02.12.2021 12:06:13 | -3,600 | 1a80e45c0c534013d30e83caaf5a9ac373791366 | [BAZEL] bump googletest to 1.11 | [
{
"change_type": "MODIFY",
"old_path": "WORKSPACE",
"new_path": "WORKSPACE",
"diff": "@@ -61,7 +61,7 @@ git_repository(\ngit_repository(\nname = \"com_google_googletest\",\n- commit = \"703bd9c\", # release-1.10.0\n+ commit = \"e2239ee\", # release-1.11.0\nremote = \"https://github.com/google/google... | C++ | Apache License 2.0 | google/or-tools | [BAZEL] bump googletest to 1.11 |
261,230 | 02.12.2021 14:24:17 | -3,600 | d2685ef4ed985de5225cc0a4023b4ebff8fa7d06 | force /MD on protobuf windows | [
{
"change_type": "MODIFY",
"old_path": "patches/protobuf-v3.19.1.patch",
"new_path": "patches/protobuf-v3.19.1.patch",
"diff": "@@ -61,6 +61,15 @@ index 51e8478f6..0b18ea348 100644\nendif (protobuf_WITH_ZLIB)\nif (HAVE_ZLIB)\n+@@ -182,7 +182,7 @@ else (protobuf_BUILD_SHARED_LIBS)\n+ # making program... | C++ | Apache License 2.0 | google/or-tools | force /MD on protobuf windows |
261,230 | 02.12.2021 15:43:05 | -3,600 | aba4019f6d206c3707a1474af6647e72d2152202 | improve resiliency of make_windows_* github actions | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/make_windows_cpp.yml",
"new_path": ".github/workflows/make_windows_cpp.yml",
"diff": "@@ -21,6 +21,8 @@ jobs:\nrun: tools\\make detect_port\n- name: Build third party\nrun: tools\\make third_party -j4\n+ - name: Generate protos\n+ run: tools\... | C++ | Apache License 2.0 | google/or-tools | improve resiliency of make_windows_* github actions |
261,230 | 03.12.2021 13:20:37 | -3,600 | 715bc07987843706f90291727eff8d4070f2dbf6 | [FZ] fix error with empty arrays | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/model.cc",
"new_path": "ortools/flatzinc/model.cc",
"diff": "@@ -749,6 +749,9 @@ int Argument::Size() const {\ncase VAR_REF_ARRAY: {\nreturn variables.size();\n}\n+ case VOID_ARGUMENT: {\n+ return 0;\n+ }\ndefault: {\nLOG(FATAL) << \"Should no... | C++ | Apache License 2.0 | google/or-tools | [FZ] fix error with empty arrays |
261,230 | 03.12.2021 13:21:30 | -3,600 | 553609b181d2b10431ef4f3bcd81e1f392e07e1b | [CP-SAT] reorder presolve on linear | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -5620,18 +5620,15 @@ bool CpModelPresolver::PresolveOneConstraint(int c) {\nif (CanonicalizeLinear(ct)) {\ncontext_->UpdateConstraintVariableUsage(c);\n}\n- if (Pres... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] reorder presolve on linear |
261,218 | 03.12.2021 13:57:46 | -3,600 | 5f567735d75c568329c0cbf1ed8b5316871e97b7 | cmake: Fix dotnet.cmake and path | [
{
"change_type": "MODIFY",
"old_path": "cmake/dotnet.cmake",
"new_path": "cmake/dotnet.cmake",
"diff": "@@ -27,38 +27,6 @@ else()\nmessage(STATUS \"Found dotnet Program: ${DOTNET_EXECUTABLE}\")\nendif()\n-# Generate Protobuf .Net sources\n-set(PROTO_DOTNETS)\n-file(GLOB_RECURSE proto_dotnet_files RE... | C++ | Apache License 2.0 | google/or-tools | cmake: Fix dotnet.cmake and path |
261,230 | 03.12.2021 15:14:37 | -3,600 | a0cee8d91149efc8b2957a66e93a44c954e67ad5 | fix corner case bugs in CP-SAT and GLOP | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/preprocessor.cc",
"new_path": "ortools/glop/preprocessor.cc",
"diff": "@@ -3726,10 +3726,25 @@ bool ShiftVariableBoundsPreprocessor::Run(LinearProgram* lp) {\n// Apply the changes to the constraint bound and objective offset.\nfor (RowIndex row(0)... | C++ | Apache License 2.0 | google/or-tools | fix corner case bugs in CP-SAT and GLOP |
261,218 | 03.12.2021 15:27:38 | -3,600 | 81e568d5199d41a2a29902bd2586117e8e0dd334 | Fixup dotnet.cmake | [
{
"change_type": "MODIFY",
"old_path": "cmake/dotnet.cmake",
"new_path": "cmake/dotnet.cmake",
"diff": "@@ -88,9 +88,9 @@ foreach(SUBPROJECT IN ITEMS algorithms graph init linear_solver constraint_solve\ntarget_link_libraries(google-ortools-native PRIVATE dotnet_${SUBPROJECT})\nendforeach()\n-file(C... | C++ | Apache License 2.0 | google/or-tools | Fixup dotnet.cmake |
261,218 | 03.12.2021 17:23:21 | -3,600 | 282a310ab91e2e5b0b2fd889de846e5621c42f89 | make: clean up java rules | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -415,7 +415,9 @@ GPG_ARGS ?= <arg>--pinentry-mode</arg><arg>loopback</arg>\n$(TEMP_JAVA_DIR):\n$(MKDIR) $(TEMP_JAVA_DIR)\n-# ortools-native\n+#########################\n+# Java ... | C++ | Apache License 2.0 | google/or-tools | make: clean up java rules |
261,218 | 03.12.2021 17:24:08 | -3,600 | 497d9e48429c8c824a30ad2a49536a98d027af81 | make: Rework .Net csproj management | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -314,6 +314,47 @@ $(OBJ_DIR)/swig/sorted_interval_list_csharp_wrap.$O: \\\n-c $(GEN_PATH)$Sortools$Sutil$Ssorted_interval_list_csharp_wrap.cc \\\n$(OBJ_OUT)$(OBJ_DIR)$Sswig$... | C++ | Apache License 2.0 | google/or-tools | make: Rework .Net csproj management |
261,218 | 03.12.2021 17:34:22 | -3,600 | db62943c3e327d6f3320b66a1abd068204e725a0 | remove uneeded scripts
note: now makefile based build use the same .csproj.in template files
than CMake | [
{
"change_type": "DELETE",
"old_path": "tools/generate_all_dotnet_proj.sh",
"new_path": null,
"diff": "-#!/usr/bin/env bash\n-# usage: ./tools/generate_all_dotnet_csproj.sh\n-set -e\n-\n-# Gets OR_TOOLS_MAJOR and OR_TOOLS_MINOR\n-DIR=\"${BASH_SOURCE%/*}\"\n-if [[ ! -d \"${DIR}\" ]]; then\n- DIR=\"${... | C++ | Apache License 2.0 | google/or-tools | remove uneeded scripts
note: now makefile based build use the same .csproj.in template files
than CMake |
261,218 | 03.12.2021 17:45:12 | -3,600 | b60e47af116f0575f303b7194bce5a38869c05f0 | tools/docker: Format README.md | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/README.md",
"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+To test the build on various distro, we are using... | C++ | Apache License 2.0 | google/or-tools | tools/docker: Format README.md |
261,230 | 04.12.2021 10:01:39 | -3,600 | c1a32bcdb11de985979951d65141d056d84f3997 | [MAKE] compile cbc with lower opt level on mac | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -383,7 +383,7 @@ install_cbc: dependencies/install/lib/libCbc.a\nCBC_SRCDIR = dependencies/sources/Cbc-$(CBC_TAG)\ndependencies/install/lib/libCbc.a: ins... | C++ | Apache License 2.0 | google/or-tools | [MAKE] compile cbc with lower opt level on mac |
261,230 | 05.12.2021 10:21:42 | -3,600 | 054c860dc7a541b8b4c5ccf0aa3475fff11eb26b | try -O2 for make java on mac os | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -188,7 +188,7 @@ ifeq ($(PLATFORM),MACOSX)\nendif\nSYS_LNK =\nSET_COMPILER = CXX=\"$(CCC)\"\n- SET_COIN_OPT = OPT_CXXFLAGS=\"-O1 -DNDEBUG\" OPT_CFLAGS=\"-O1 -DNDEBUG\"\n+ SET_CO... | C++ | Apache License 2.0 | google/or-tools | try -O2 for make java on mac os |
261,230 | 05.12.2021 10:54:00 | -3,600 | 21b44e329ded4206f1080aedebc1ba564ba297e9 | [CP-SAT] improve int_prod presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -937,32 +937,25 @@ bool CpModelPresolver::PresolveIntProd(ConstraintProto* ct) {\nchanged |= CanonicalizeLinearExpression(*ct, &exp);\n}\n- // Remove constant variab... | C++ | Apache License 2.0 | google/or-tools | [CP-SAT] improve int_prod presolve |
261,230 | 05.12.2021 10:57:11 | -3,600 | 29828beb3b9a320db9f4a99cd32c6ab675f79791 | revert -O2 on cbc mac | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -188,7 +188,7 @@ ifeq ($(PLATFORM),MACOSX)\nendif\nSYS_LNK =\nSET_COMPILER = CXX=\"$(CCC)\"\n- SET_COIN_OPT = OPT_CXXFLAGS=\"-O2 -DNDEBUG\" OPT_CFLAGS=\"-O2 -DNDEBUG\"\n+ SET_CO... | C++ | Apache License 2.0 | google/or-tools | revert -O2 on cbc mac |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.