author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
261,218 | 27.09.2018 16:09:40 | -7,200 | 909ae1d071d8815e06b65d75ef60e7373b086335 | Fix "test_pypi_archive" target on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -936,6 +936,7 @@ $(PYPI_ARCHIVE_TEMP_DIR)/ortools/ortools/.libs: | $(PYPI_ARCHIVE_TEMP_DIR)/ortoo\n-$(DELREC) $(PYPI_ARCHIVE_TEMP_DIR)$Sortools$Sortools$S.libs\n$(MKDIR) $(P... | C++ | Apache License 2.0 | google/or-tools | Fix "test_pypi_archive" target on windows |
261,230 | 28.09.2018 11:47:20 | -7,200 | bb86602f7caf385fcf73186e34398930b3930406 | fix paths in SAT README.md | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/README.md",
"new_path": "ortools/sat/README.md",
"diff": "@@ -5,30 +5,30 @@ clause learning. It is built on top of an efficient SAT/max-SAT solver whose\ncode is also in this directory.\nTo begin, skim\n-[cp_model.proto](http://google3/ortools/sat/... | C++ | Apache License 2.0 | google/or-tools | fix paths in SAT README.md #861 |
261,218 | 28.09.2018 17:48:55 | -7,200 | 0d2594475547116748456d9e0bb6196db07bc27e | rework publish script | [
{
"change_type": "MODIFY",
"old_path": "tools/release/publish_delivery_win.cmd",
"new_path": "tools/release/publish_delivery_win.cmd",
"diff": "@@ -2,6 +2,22 @@ REM /!\\ THIS SCRIPT SUPPOSE A FIXED PATH FOR PYTHON /!\\\nREM Each blocks could be triggered independently (i.e. commenting others)\nREM (... | C++ | Apache License 2.0 | google/or-tools | rework publish script |
261,218 | 01.10.2018 08:32:01 | -7,200 | c934a8e296a1f06967049c069b6448c8c5640231 | Upload publish script | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -23,6 +23,7 @@ or-tools*.zip\nbuild.log\ntest.log\n+publish.log\nbin/\nortools/gen/\nobjs/\n"
},
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Ma... | C++ | Apache License 2.0 | google/or-tools | Upload publish script |
261,218 | 01.10.2018 10:30:25 | -7,200 | 49247b48981f0d4e25533116416f026f2c161567 | Rework Python temp directory
Make temp dir consistent using underscore
Fixup TEMP_DIR in build_delivery_* scripts | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -31,12 +31,11 @@ classes/\ntemp_test/\ntemp_fz/\ntemp_fz_test/\n-temp-python*\n+temp_python*\ntemp_dotnet/\ntemp_dotnet_test/\ntemp_archive/\ntemp_fz_archive/\n-temp/ortools_examples\nlib/\ninstall/\nexamples/... | C++ | Apache License 2.0 | google/or-tools | Rework Python temp directory
- Make temp dir consistent using underscore
- Fixup TEMP_DIR in build_delivery_* scripts |
261,218 | 01.10.2018 15:50:44 | -7,200 | 2c030d0e38d9e8d7dd6e1f313029f3be21e927ae | Fixup publish_delivery_win.cmd | [
{
"change_type": "MODIFY",
"old_path": "tools/release/publish_delivery_win.cmd",
"new_path": "tools/release/publish_delivery_win.cmd",
"diff": "REM /!\\ THIS SCRIPT SUPPOSE A FIXED PATH FOR PYTHON /!\\\nREM run it as: cmd /c tools\\release\\publish_delivery_win.cmd\n-set PATH=%PATH%;tools\n+set PATH... | C++ | Apache License 2.0 | google/or-tools | Fixup publish_delivery_win.cmd |
261,218 | 02.10.2018 10:01:30 | -7,200 | c907c5730586422dfa699c14685d3a9aac7ea40f | Fix auditwheel in manylinux docker
force wheel==0.31.1 since API is broken in 0.32 | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/build-manylinux1.sh",
"new_path": "tools/docker/build-manylinux1.sh",
"diff": "# destination path for the wheels export.\n# BUILD_ROOT if not specified at command line, this value is used as the\n# root path for the build process.\n+set -x\nset -e... | C++ | Apache License 2.0 | google/or-tools | Fix auditwheel in manylinux docker
force wheel==0.31.1 since API is broken in 0.32 |
261,218 | 26.09.2018 10:51:44 | -7,200 | 7e3b83447601752ff3ec2d5929b712b71ec11219 | Add nurses_cp.cc and job_shop_cp.cc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/cpp/job_shop_cp.cc",
"diff": "+// Copyright 2018 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the L... | C++ | Apache License 2.0 | google/or-tools | Add nurses_cp.cc and job_shop_cp.cc |
261,230 | 05.10.2018 13:57:59 | -7,200 | fea6f78370db6221e28840be07d69ee70bf8865f | tentative fix //SAT on windows | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_solver.cc",
"new_path": "ortools/sat/cp_model_solver.cc",
"diff": "@@ -3162,10 +3162,11 @@ CpSolverResponse SolveCpModelParallel(\nconst int num_search_workers = params.num_search_workers();\nVLOG(1) << \"Starting parallel search with \" <... | C++ | Apache License 2.0 | google/or-tools | tentative fix //SAT on windows |
261,230 | 05.10.2018 14:29:25 | -7,200 | 6fad54d17a0203c6f9ca72cdc2ab383348558f78 | clean python example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/cp_is_fun_sat.py",
"new_path": "examples/python/cp_is_fun_sat.py",
"diff": "@@ -71,9 +71,6 @@ def CPIsFun():\nmodel.Add(p + s + n + kBase * (c + i + u) + kBase * kBase * f == e +\nkBase * u + kBase * kBase * r + kBase * kBase * kBase * t)\n- so... | C++ | Apache License 2.0 | google/or-tools | clean python example |
261,218 | 05.10.2018 14:13:04 | -7,200 | 26316228e75476929ed9b031d13290f23cee3a09 | dotnet: Move runtime.{rid} as a suffix...
Change runtime.{rid}.Google.OrTools -> Google.OrTools.runtime.{rid}
note: nuget support team didn't want to give us runtime.{rid}.Google* reserved prefix
beside the fact they use this naming convention in the dotnetframework and give it to
"quamotion" company too | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -76,7 +76,7 @@ DOTNET_ORTOOLS_SNK := $(BIN_DIR)/or-tools.snk\nDOTNET_ORTOOLS_SNK_PATH := $(subst /,$S,$(DOTNET_ORTOOLS_SNK))\nOR_TOOLS_ASSEMBLY_NAME := Google.OrTools\nOR_TO... | C++ | Apache License 2.0 | google/or-tools | dotnet: Move runtime.{rid} as a suffix... (#744)
Change runtime.{rid}.Google.OrTools -> Google.OrTools.runtime.{rid}
note: nuget support team didn't want to give us runtime.{rid}.Google* reserved prefix
beside the fact they use this naming convention in the dotnetframework and give it to
"quamotion" company too |
261,244 | 08.10.2018 18:53:05 | -19,080 | 02a788a60370de5b03af2a085559a8473bce3d26 | re-add the CheckedGurobiCall function | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/gurobi_interface.cc",
"new_path": "ortools/linear_solver/gurobi_interface.cc",
"diff": "@@ -165,7 +165,10 @@ class GurobiInterface : public MPSolverInterface {\nMPSolver::BasisStatus TransformGRBConstraintBasisStatus(\nint gurobi_basis_st... | C++ | Apache License 2.0 | google/or-tools | re-add the CheckedGurobiCall function |
261,230 | 08.10.2018 19:56:14 | -7,200 | 2a9700a762c4b9c969d9cf1b433e6a7ccef6b95c | support fz without presolve and with sat backend | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -224,7 +224,7 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\nFillAMinusBInDomain({kint64min, -1}, fz_ct, ct);\n} else if (... | C++ | Apache License 2.0 | google/or-tools | support fz without presolve and with sat backend |
261,230 | 09.10.2018 16:07:19 | -7,200 | b8e41171957687464106c575078c30b85a8cb4f9 | allow sat fz without presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"new_path": "ortools/flatzinc/cp_model_fz_solver.cc",
"diff": "@@ -224,7 +224,8 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\nFillAMinusBInDomain({kint64min, -1}, fz_ct, ct);\n} else if (... | C++ | Apache License 2.0 | google/or-tools | allow sat fz without presolve |
261,218 | 09.10.2018 16:26:58 | -7,200 | 56c255d5b7b8fe5dd3abe908dc534f48ead2410c | dotnet: Fix SolveWithSolutionCallback | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/CpSolver.cs",
"new_path": "ortools/sat/csharp/CpSolver.cs",
"diff": "@@ -101,7 +101,9 @@ namespace Google.OrTools.Sat\n}\nelse\n{\n- response_ = SatHelper.Solve(model.Model);\n+ string parameters = \"\";\n+ response_ = SatHelper.SolveWithStr... | C++ | Apache License 2.0 | google/or-tools | dotnet: Fix SolveWithSolutionCallback |
261,218 | 09.10.2018 17:33:35 | -7,200 | 94015d8a87c0f743426c2a5acf1ceca6c01efdf8 | Fix nurses_cp.cc include | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/nurses_cp.cc",
"new_path": "examples/cpp/nurses_cp.cc",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <numeric> // std::iota\n+\n#include \"ortools/base/logging.h\"\n#... | C++ | Apache License 2.0 | google/or-tools | Fix nurses_cp.cc include |
261,218 | 10.10.2018 08:06:30 | -7,200 | bb33b954522490ee66342f3c1a841d74691112b0 | Fix CpSolver.cs | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/CpSolver.cs",
"new_path": "ortools/sat/csharp/CpSolver.cs",
"diff": "@@ -101,9 +101,7 @@ namespace Google.OrTools.Sat\n}\nelse\n{\n- string parameters = \"\";\n- response_ = SatHelper.SolveWithStringParametersAndSolutionCallback(\n- model.Mo... | C++ | Apache License 2.0 | google/or-tools | Fix CpSolver.cs |
261,218 | 10.10.2018 09:16:33 | -7,200 | dec57fe7f87aa8e12b4d095a59122f4291334a77 | Makefile: detect shallow copy | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.port.mk",
"new_path": "makefiles/Makefile.port.mk",
"diff": "@@ -185,7 +185,12 @@ endif # ($(SYSTEM),win)\n# Get github revision level\nifneq ($(wildcard .git),)\n+ ifneq ($(wildcard .git/shallow),)\n+ $(warning you are using a shallow copy)... | C++ | Apache License 2.0 | google/or-tools | Makefile: detect shallow copy |
261,218 | 10.10.2018 10:40:48 | -7,200 | 6a177338f944e09edd007cfddf814bb930454095 | Makefile: Set revision to 9999 when not on git | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.port.mk",
"new_path": "makefiles/Makefile.port.mk",
"diff": "@@ -187,13 +187,13 @@ endif # ($(SYSTEM),win)\nifneq ($(wildcard .git),)\nifneq ($(wildcard .git/shallow),)\n$(warning you are using a shallow copy)\n- GIT_REVISION:= 999\n+ GIT_RE... | C++ | Apache License 2.0 | google/or-tools | Makefile: Set revision to 9999 when not on git |
261,218 | 10.10.2018 15:03:47 | -7,200 | 878e509c7891bc6b86b2a945d64a7c795019e63b | Default: disable python build | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -52,7 +52,7 @@ endif()\ninclude(CMakeDependentOption)\noption(BUILD_DEPS \"Force re-build of all dependencies\" ON)\noption(BUILD_CXX \"Build C++ library\" ON)\n-CMAKE_DEPENDENT_OPTION(BUILD_PYTHON \"B... | C++ | Apache License 2.0 | google/or-tools | Default: disable python build |
261,218 | 10.10.2018 15:06:23 | -7,200 | e0639c2726ebf53199e952bcb43e2723b561b3c5 | Makefile: fix clean_third_party for abseil-cpp | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -670,6 +670,7 @@ clean_third_party:\n-$(DELREC) dependencies/sources/gflags*\n-$(DELREC) dependencies/sources/glog*\n-$(DELREC) dependencies/sources/prot... | C++ | Apache License 2.0 | google/or-tools | Makefile: fix clean_third_party for abseil-cpp |
261,218 | 10.10.2018 15:43:30 | -7,200 | 4dc551885396cb5948d059621d51e61591601e13 | CMake update BUILD_TYPE doc | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -4,7 +4,7 @@ list(APPEND CMAKE_MODULE_PATH \"${CMAKE_CURRENT_SOURCE_DIR}/cmake\")\n# Default Build Type to be Release\nif(NOT CMAKE_BUILD_TYPE)\nset(CMAKE_BUILD_TYPE \"Release\" CACHE STRING\n- \"Choos... | C++ | Apache License 2.0 | google/or-tools | CMake update BUILD_TYPE doc |
261,218 | 10.10.2018 15:44:07 | -7,200 | 4156f03933fc57f49ad6714637a031517812fd1c | utils.cmake fix version retrieval | [
{
"change_type": "MODIFY",
"old_path": "cmake/utils.cmake",
"new_path": "cmake/utils.cmake",
"diff": "@@ -8,7 +8,7 @@ function(get_version_from_file VERSION_MAJOR VERSION_MINOR VERSION_PATCH)\nset(${VERSION_MINOR} ${CMAKE_MATCH_1} PARENT_SCOPE)\nendif()\nendforeach()\n- set(${VERSION_PATCH} 999 PARE... | C++ | Apache License 2.0 | google/or-tools | utils.cmake fix version retrieval |
261,218 | 26.09.2018 10:51:44 | -7,200 | 143eb3b967ca922fa431b473f11993c80cdcdb24 | Add cvrp_reload.py | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/python/cvrp_reload.py",
"diff": "+#!/usr/bin/env python\n+# This Python file uses the following encoding: utf-8\n+# Copyright 2015 Tin Arm Engineering AB\n+# Copyright 2018 Google LLC\n+# Licensed under the Apache License, Version 2.0 (... | C++ | Apache License 2.0 | google/or-tools | Add cvrp_reload.py |
261,218 | 11.10.2018 17:50:49 | -7,200 | 3d1eafaa809e61be555680d0ec1cbf12268441a1 | Update tsp.cc vrp.cc | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/tsp.cc",
"new_path": "examples/cpp/tsp.cc",
"diff": "@@ -106,6 +106,9 @@ namespace operations_research {\n}\nLOG(INFO) << route.str() << routing.IndexToNode(index).value();\nLOG(INFO) << \"Distance of the route: \" << distance << \"m\";\n+ LOG(INF... | C++ | Apache License 2.0 | google/or-tools | Update tsp.cc vrp.cc |
261,218 | 12.10.2018 08:22:43 | -7,200 | 128363e47746b364c84861690f74abbfc6a9e94e | Sync linear_programming with documentation
move previous code to tests/lp_test.cc | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/linear_programming.cc",
"new_path": "examples/cpp/linear_programming.cc",
"diff": "#include \"ortools/linear_solver/linear_solver.pb.h\"\nnamespace operations_research {\n- void RunLinearProgrammingExample(\n- MPSolver::OptimizationProblemType opt... | C++ | Apache License 2.0 | google/or-tools | Sync linear_programming with documentation
- move previous code to tests/lp_test.cc |
261,218 | 12.10.2018 08:23:08 | -7,200 | 97584db53d75668a0a54fee3fc9c24edc0bb1dcd | Add stigler_diet.cc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/cpp/stigler_diet.cc",
"diff": "+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+// http://www... | C++ | Apache License 2.0 | google/or-tools | Add stigler_diet.cc |
261,218 | 08.10.2018 14:59:02 | -7,200 | 52b44c337eb261b442cf22f15a9c6b630f6af1ab | Makefile: update third party gflags on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.win.mk",
"new_path": "makefiles/Makefile.third_party.win.mk",
"diff": "@@ -225,18 +225,18 @@ DEPENDENCIES_LNK += $(ZLIB_LNK)\n# This uses gflags cmake-based build.\ninstall_gflags: dependencies/install/lib/gflags.lib\n-dependenci... | C++ | Apache License 2.0 | google/or-tools | Makefile: update third party gflags on windows |
261,218 | 08.10.2018 14:59:22 | -7,200 | 2dcab944add89b6f63f11a69436568e50ed239d8 | Makefile: update glog on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.win.mk",
"new_path": "makefiles/Makefile.third_party.win.mk",
"diff": "@@ -256,20 +256,20 @@ DEPENDENCIES_LNK += $(GFLAGS_LNK)\n## GLOG ##\n############\n# This uses glog cmake-based build.\n-install_glog: dependencies/install/in... | C++ | Apache License 2.0 | google/or-tools | Makefile: update glog on windows |
261,218 | 03.10.2018 15:53:05 | -7,200 | 589d5c5f81a6ddb87c13efbee028ab4d709a4297 | Add cctz patch | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "patches/cctz-master.patch",
"diff": "+diff --git a/CMakeLists.txt b/CMakeLists.txt\n+index 8d81502..f29326d 100644\n+--- a/CMakeLists.txt\n++++ b/CMakeLists.txt\n+@@ -1,4 +1,4 @@\n+-cmake_minimum_required(VERSION 2.8.12)\n++cmake_minimum_require... | C++ | Apache License 2.0 | google/or-tools | Add cctz patch |
261,218 | 22.11.2017 11:12:56 | -3,600 | b303b2438db77a19edde691c058fb569a1610b81 | Makefile: Add cctz on unix | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -9,6 +9,7 @@ UNIX_GFLAGS_DIR ?= $(OR_TOOLS_TOP)/dependencies/install\nUNIX_GLOG_DIR ?= $(OR_TOOLS_TOP)/dependencies/install\nUNIX_PROTOBUF_DIR ?= $(OR_TO... | C++ | Apache License 2.0 | google/or-tools | Makefile: Add cctz on unix |
261,218 | 03.10.2018 17:34:13 | -7,200 | a47f81cd51654cb2765863d439a5181ff9ce38ad | Makefile: Add cctz on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.win.mk",
"new_path": "makefiles/Makefile.third_party.win.mk",
"diff": "@@ -14,6 +14,8 @@ WINDOWS_GLOG_DIR ?= $(OR_ROOT)dependencies/install\nWINDOWS_GLOG_PATH = $(subst /,$S,$(WINDOWS_GLOG_DIR))\nWINDOWS_PROTOBUF_DIR ?= $(OR_ROOT... | C++ | Apache License 2.0 | google/or-tools | Makefile: Add cctz on windows |
261,218 | 08.10.2018 11:12:12 | -7,200 | 8896a26f13cd3bdb2ae16bef2dd0e94adf375fe2 | Remove cctz
cctz is now embedded in abseil | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.third_party.unix.mk",
"new_path": "makefiles/Makefile.third_party.unix.mk",
"diff": "@@ -9,7 +9,6 @@ UNIX_GFLAGS_DIR ?= $(OR_TOOLS_TOP)/dependencies/install\nUNIX_GLOG_DIR ?= $(OR_TOOLS_TOP)/dependencies/install\nUNIX_PROTOBUF_DIR ?= $(OR_TO... | C++ | Apache License 2.0 | google/or-tools | Remove cctz
cctz is now embedded in abseil |
261,218 | 12.10.2018 11:47:16 | -7,200 | b1ea750b1accd3dcaa6021b7fad6b883b810bb2e | Update linear_programming examples | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/linear_programming.cc",
"new_path": "examples/cpp/linear_programming.cc",
"diff": "@@ -25,7 +25,7 @@ namespace operations_research {\nMPVariable* const x = solver.MakeNumVar(0.0, infinity, \"x\");\nMPVariable* const y = solver.MakeNumVar(0.0, infi... | C++ | Apache License 2.0 | google/or-tools | Update linear_programming examples |
261,218 | 12.10.2018 11:48:03 | -7,200 | e786ca8b3d6c784c751d0295eefdd0cccc865451 | Cleanup Makefile.cpp.mk | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -29,6 +29,7 @@ endif\n# Main target\n.PHONY: cc # Build C++ OR-Tools library.\n+.PHONY: check_cc # Quick check only running few C++ OR-Tools examples.\n.PHONY: test_cc # Run all C... | C++ | Apache License 2.0 | google/or-tools | Cleanup Makefile.cpp.mk |
261,218 | 12.10.2018 11:48:33 | -7,200 | f6ec77d4ef3b766541071f99d9ec9ff7fa3b1769 | Add check_python target
Add linear_programming.py | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -38,6 +38,7 @@ endif\n# Main target\n.PHONY: python # Build Python OR-Tools.\n+.PHONY: check_python # Quick check only running few Python OR-Tools examples.\n.PHONY: test_py... | C++ | Apache License 2.0 | google/or-tools | Add check_python target
Add linear_programming.py |
261,218 | 12.10.2018 13:43:37 | -7,200 | ac42c57a8eb1094dea6dc476592ad04dc4e0aa45 | Update stigler_diet example (C++, Python) | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/stigler_diet.cc",
"new_path": "examples/cpp/stigler_diet.cc",
"diff": "@@ -250,6 +250,9 @@ void RunStiglerDietExample() {\n}\n}\n+ LOG(INFO) << \"Number of variables = \" << solver.NumVariables();\n+ LOG(INFO) << \"Number of constraints = \" << so... | C++ | Apache License 2.0 | google/or-tools | Update stigler_diet example (C++, Python) |
261,218 | 12.10.2018 17:24:10 | -7,200 | fc961bad35cefbbe7e0b541924e6fbbb7cefadbc | Update constraint_solver_cp (C++, Python) | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/constraint_programming_cp.cc",
"new_path": "examples/cpp/constraint_programming_cp.cc",
"diff": "@@ -31,6 +31,8 @@ namespace operations_research {\nstd::vector<IntVar*> xyvars = {x, y};\nsolver.AddConstraint(solver.MakeAllDifferent(xyvars));\n+ LO... | C++ | Apache License 2.0 | google/or-tools | Update constraint_solver_cp (C++, Python) |
261,230 | 15.10.2018 13:41:52 | -7,200 | d44fb1b423f9d6658c142c041143a4f54b5106d3 | add missing swig rule; remove redundant constraint in sat table implementation | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/java/sat.i",
"new_path": "ortools/sat/java/sat.i",
"diff": "@@ -55,6 +55,7 @@ PROTO2_RETURN(operations_research::sat::CpSolverResponse,\n%feature(\"director\") operations_research::sat::SolutionCallback;\n%unignore operations_research::sat::Solutio... | C++ | Apache License 2.0 | google/or-tools | add missing swig rule; remove redundant constraint in sat table implementation |
261,223 | 29.10.2018 19:34:33 | 25,200 | 896d2392381d830b23715ebea0023f63d35d96e3 | Add Constraint return value to methods that were documented to return it. | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -705,6 +705,7 @@ class CpModel(object):\nfor v in t:\ncp_model_helper.AssertIsInt64(v)\nmodel_ct.table.values.extend(t)\n+ return ct\ndef AddForbiddenAssignments(self, v... | C++ | Apache License 2.0 | google/or-tools | Add Constraint return value to methods that were documented to return it. |
261,218 | 29.10.2018 15:44:27 | -3,600 | 2fb85da555f4e07a4fb5792fd80dd2d26753386e | Fix osx Travis-CI install.sh
cf | [
{
"change_type": "MODIFY",
"old_path": ".travis/install.sh",
"new_path": ".travis/install.sh",
"diff": "@@ -65,6 +65,7 @@ if [ \"${BUILDER}\" == make ]; then\nelif [ \"${TRAVIS_OS_NAME}\" == osx ]; then\nif [ \"${DISTRO}\" == native ]; then\nbrew update;\n+ brew install gcc || brew link --overwrite ... | C++ | Apache License 2.0 | google/or-tools | Fix osx Travis-CI install.sh
cf https://github.com/travis-ci/travis-ci/issues/10275 |
261,218 | 15.10.2018 08:34:15 | -7,200 | 8c104ff8315837154642c35d4f77ab799af84369 | Python fix cp_model.py doc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -429,6 +429,9 @@ class Constraint(object):\nArgs:\nboolvar: A boolean literal or a list of boolean literals.\n+ Returns:\n+ self.\n+\nThis method adds one or more litera... | C++ | Apache License 2.0 | google/or-tools | Python fix cp_model.py doc |
261,218 | 29.10.2018 14:17:30 | -3,600 | 58b018ece0b544c6592220e48d62d314c5e0dfaf | cpp: remove deprecated PROTO_DEPS | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -145,25 +145,6 @@ $(OBJ_DIR)/swig: | $(OBJ_DIR)\n###############\n## CPP LIB ##\n###############\n-# build from: $> grep \"pb\\.h:\" makefiles/Makefile.gen.mk\n-PROTO_DEPS = \\\n-... | C++ | Apache License 2.0 | google/or-tools | cpp: remove deprecated PROTO_DEPS |
261,218 | 31.10.2018 08:27:14 | -3,600 | 87024b1dce45bd022fac93706512735622ad2ce7 | Remove unused CMakeSettings.json | [
{
"change_type": "DELETE",
"old_path": "CMakeSettings.json",
"new_path": null,
"diff": "-{\n- \"configurations\": [\n- {\n- \"name\": \"x86-Debug\",\n- \"generator\": \"Visual Studio 15 2017\",\n- \"configurationType\": \"Debug\",\n- \"buildRoot\": \"${env.LOCALAPPDATA}\\\\CMakeBuild\\\\${workspaceH... | C++ | Apache License 2.0 | google/or-tools | Remove unused CMakeSettings.json |
261,218 | 29.10.2018 17:46:20 | -3,600 | 679783dbd21c13fa032279cd2a2e0c818c16c83b | Travis-CI: build with -j4 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "sudo: required\n-language: generic\n+language: cpp\nmatrix:\ninclude:\n# Makefile builder\n- os: linux\ndist: trusty\n- language: cpp\ncompiler: gcc\n- env: BUILDER=make DISTRO=native LANGUAGE=cc\n+ env: BUILDE... | C++ | Apache License 2.0 | google/or-tools | Travis-CI: build with -j4 |
261,218 | 31.10.2018 16:18:18 | -3,600 | 96f95aebf91b1aba2408d5c050eb5a1583aaa6b3 | dotnet: Remove reference to dotnet release command
Currently not implemented... | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/README.md",
"new_path": "ortools/dotnet/README.md",
"diff": "@@ -36,8 +36,6 @@ should depends on all previous available packages and contains the Reference Ass\nEither use the Makefile based build or you can build in Visual Studio.\nThe workflow... | C++ | Apache License 2.0 | google/or-tools | dotnet: Remove reference to dotnet release command
- Currently not implemented... |
261,230 | 06.11.2018 08:44:56 | -3,600 | 77ffc2abb28b2bb069ddbdd5bdb36cee9c3622cd | fix rewrite example to use CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "examples/python/diet1.py",
"new_path": "examples/python/diet1.py",
"diff": "http://www.hakank.org/google_or_tools/\n\"\"\"\nfrom __future__ import print_function\n-from ortools.constraint_solver import pywrapcp\n+from ortools.sat.python import cp_model\ndef ma... | C++ | Apache License 2.0 | google/or-tools | fix #911, rewrite example to use CP-SAT |
261,218 | 06.11.2018 14:36:21 | -3,600 | 8eeadbecce1b642625e4398b825e1a785a9d2c89 | Add SimpleProgram
This is the example use in optimization site:
GUIDES/Introduction/GetStarted/<lang>/RunningProgram | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/cpp/simple_program.cc",
"diff": "+// Copyright 2018 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of th... | C++ | Apache License 2.0 | google/or-tools | Add SimpleProgram
This is the example use in optimization site:
GUIDES/Introduction/GetStarted/<lang>/RunningProgram |
261,218 | 06.11.2018 15:29:21 | -3,600 | a0c3fe2ee1b80a198f4271da4e07ba3bed578f11 | Fixup SimpleProgram.fs | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/SimpleProgram.fs",
"new_path": "examples/dotnet/SimpleProgram.fs",
"diff": "@@ -24,8 +24,8 @@ let SimpleProgram =\nlet y = svr.MakeNumVar(0.0, 2.0, \"y\")\n// Create the objective function, x + y.\nlet objective = svr.Objective()\n- objective.S... | C++ | Apache License 2.0 | google/or-tools | Fixup SimpleProgram.fs |
261,218 | 06.11.2018 16:32:26 | -3,600 | 34e2675112c66856bfd538070b5a10ea3e7d2f43 | Fix SimpleProgram.fs entry point | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/SimpleProgram.fs",
"new_path": "examples/dotnet/SimpleProgram.fs",
"diff": "@@ -17,7 +17,7 @@ open Google.OrTools.FSharp\nopen Google.OrTools.LinearSolver\nlet SimpleProgram =\n- let svr = Solver.CreateSolver(\"SimpleProgram\", \"LinearProgramm... | C++ | Apache License 2.0 | google/or-tools | Fix SimpleProgram.fs entry point |
261,218 | 06.11.2018 18:01:21 | -3,600 | f7060f83a5e9a209cae5ad4cd7b6b94a2562ad47 | Rename SimpleProgram.fs to SimpleProgramFSharp.fs
Avoid collision with SimpleProgram.fs binary output | [
{
"change_type": "RENAME",
"old_path": "examples/dotnet/SimpleProgram.fs",
"new_path": "examples/dotnet/SimpleProgramFSharp.fs",
"diff": "@@ -16,8 +16,8 @@ open System\nopen Google.OrTools.FSharp\nopen Google.OrTools.LinearSolver\n-let SimpleProgram =\n- let svr = Solver.CreateSolver(\"SimpleProgram... | C++ | Apache License 2.0 | google/or-tools | Rename SimpleProgram.fs to SimpleProgramFSharp.fs
- Avoid collision with SimpleProgram.fs binary output |
261,230 | 07.11.2018 21:31:58 | -3,600 | 48d4fe2b8962f176379a9af1e6ac78881d764960 | fix makefiles after contrib example | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -64,5 +64,7 @@ ortools/**/samples/bin\nortools/**/samples/obj\nexamples/tests/bin\nexamples/tests/obj\n+examples/contrib/bin\n+examples/contrib/obj\nexamples/dotnet/bin\nexamples/dotnet/obj\n"
},
{
"ch... | C++ | Apache License 2.0 | google/or-tools | fix makefiles after contrib example |
261,230 | 07.11.2018 22:09:43 | -3,600 | 5bb4f639c5150a9a79f80e4b3b62931b3f3e72d6 | fix python test scripts | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -489,7 +489,7 @@ rpy_%: $(CONTRIB_EX_DIR)/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\nrpy_%: ortools/sat/samples/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\n$(SET_PYTHONPATH) \"$(PYTHON_EXE... | C++ | Apache License 2.0 | google/or-tools | fix python test scripts |
261,230 | 07.11.2018 23:35:46 | -3,600 | eefaaeba86a7eeeeee7ec272f3f91b7e2275b170 | fix dotnet test path | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -616,7 +616,7 @@ test_dotnet_examples_csharp: \\\nrdotnet_xkcd.cs \\\nrdotnet_young_tableaux.cs \\\nrdotnet_zebra.cs\n- $(MAKE) run SOURCE=examples/dotnet/coins_grid.cs ARGS... | C++ | Apache License 2.0 | google/or-tools | fix dotnet test path |
261,218 | 08.11.2018 09:23:46 | -3,600 | c4e3b1190d21c2b4880ad3e4dac98c702421f046 | Fixup Contrib dir MACRO on windows | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -30,7 +30,7 @@ JAVA_EX_PATH = $(subst /,$S,$(JAVA_EX_DIR))\nPACKAGE_DIR = $(OR_ROOT)packages\nDOTNET_EX_DIR = $(OR_ROOT)examples/dotnet\nDOTNET_EX_PATH = $(subst /,$S,$(DOTNET_E... | C++ | Apache License 2.0 | google/or-tools | Fixup Contrib dir MACRO on windows |
261,230 | 08.11.2018 09:36:21 | -3,600 | 3e19000517c72d160b5f4388da156bff330cd570 | one more example from the doc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/jobshop.py",
"diff": "+from __future__ import print_function\n+\n+# Import Python wrapper for or-tools CP-SAT solver.\n+from ortools.sat.python import cp_model\n+\n+def main():\n+ # Create the model.\n+ model = cp_model.CpMod... | C++ | Apache License 2.0 | google/or-tools | one more example from the doc |
261,218 | 08.11.2018 10:21:52 | -3,600 | ef89d60403c347fa5097b356f65901bd041bed55 | Add Minimal README.md to examples | [
{
"change_type": "DELETE",
"old_path": "examples/cpp/README",
"new_path": null,
"diff": "-<summary> C++ examples to demonstrate usage of the different\n-Operations Research libraries. </summary>\n-\n- - Constraint Solver examples:\n- - cryptarithm.cc Demonstrates the use of basic modeling objects\n-... | C++ | Apache License 2.0 | google/or-tools | Add Minimal README.md to examples |
261,218 | 08.11.2018 10:26:52 | -3,600 | d02417278c0868d76c1d1182eafb651bfa8f9686 | Update CONTRIBUTING.md and CODE_OF_CONDUCT.md
Update to sync with Google internal template | [
{
"change_type": "MODIFY",
"old_path": "CONTRIBUTING.md",
"new_path": "CONTRIBUTING.md",
"diff": "-Contributions to or-tools are welcome!\n+# How to Contribute\n-If you do contribute, we need to make sure that we have the right to\n-distribute your contribution. You'll need to fill out one of the\n-... | C++ | Apache License 2.0 | google/or-tools | Update CONTRIBUTING.md and CODE_OF_CONDUCT.md
- Update to sync with Google internal template |
261,230 | 08.11.2018 11:20:51 | -3,600 | b176edfbea90b3018fc81b458fcdd5dae2bf56c5 | fix jobshop python samples; add first linear solver lp sample; fix makefile | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -489,6 +489,9 @@ rpy_%: $(CONTRIB_EX_DIR)/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\nrpy_%: ortools/sat/samples/%.py $(PYTHON_OR_TOOLS_LIBS) FORCE\n$(SET_PYTHONPATH) \"$(PYTHON_EXE... | C++ | Apache License 2.0 | google/or-tools | fix jobshop python samples; add first linear solver lp sample; fix makefile |
261,230 | 08.11.2018 12:51:12 | -3,600 | a74016ca96c986b6493c80306994230e47619888 | improve jobshop python sat samples; rename it to minimal_jobshop | [
{
"change_type": "RENAME",
"old_path": "ortools/sat/samples/jobshop.py",
"new_path": "ortools/sat/samples/minimal_jobshop.py",
"diff": "+# Copyright 2010-2017 Google\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the Lice... | C++ | Apache License 2.0 | google/or-tools | improve jobshop python sat samples; rename it to minimal_jobshop |
261,230 | 08.11.2018 12:53:30 | -3,600 | 1665e776dc0cc32c9f6f129b9d785e352c34e5fc | add last samples to make test_python_samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -532,11 +532,13 @@ test_python_samples: \\\nrpy_code_sample \\\nrpy_interval_sample \\\nrpy_literal_sample \\\n+ rpy_minimal_jobshop \\\nrpy_no_overlap_sample \\\nrpy_option... | C++ | Apache License 2.0 | google/or-tools | add last samples to make test_python_samples |
261,230 | 08.11.2018 13:31:27 | -3,600 | 5d28e9fbcbd44da115a66b8461567e981ffa5869 | polish minimal jobshop python sat sample | [
{
"change_type": "MODIFY",
"old_path": "examples/python/code_samples_sat.py",
"new_path": "examples/python/code_samples_sat.py",
"diff": "@@ -21,281 +21,6 @@ import collections\nfrom ortools.sat.python import cp_model\n-def CodeSample():\n- model = cp_model.CpModel()\n- x = model.NewBoolVar('x')\n- ... | C++ | Apache License 2.0 | google/or-tools | polish minimal jobshop python sat sample |
261,218 | 09.11.2018 09:21:33 | -3,600 | 2e5e79cdc7398fe06aafca5a68e619d9e4000054 | Add linear_solver/samples/SimpleLPProgram | [
{
"change_type": "DELETE",
"old_path": "examples/dotnet/SimpleProgram.csproj",
"new_path": null,
"diff": "-<Project Sdk=\"Microsoft.NET.Sdk\">\n- <PropertyGroup>\n- <OutputType>Exe</OutputType>\n- <LangVersion>7.2</LangVersion>\n- <TargetFramework>netcoreapp2.1</TargetFramework>\n- <EnableDefaultIte... | C++ | Apache License 2.0 | google/or-tools | Add linear_solver/samples/SimpleLPProgram |
261,230 | 09.11.2018 15:07:37 | -3,600 | 7cb9f2b893a70f6e86601b381e7cec6414754e1d | enable some of sat presolve when enumerating all solutions; polish jobshop_sat example | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/jobshop_sat.cc",
"new_path": "examples/cpp/jobshop_sat.cc",
"diff": "@@ -106,7 +106,7 @@ void Solve(const JsspInputProblem& problem) {\nstd::vector<int> starts;\nstd::vector<int> ends;\n- Domain all_horizon(0, horizon);\n+ const Domain all_horizon... | C++ | Apache License 2.0 | google/or-tools | enable some of sat presolve when enumerating all solutions; polish jobshop_sat example |
261,218 | 09.11.2018 16:02:25 | -3,600 | b2ed4522184133246b057ecd03a971b6e4508af5 | Add missing SimpleLpProgram.csproj | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/linear_solver/samples/SimpleLpProgram.csproj",
"diff": "+<Project Sdk=\"Microsoft.NET.Sdk\">\n+ <PropertyGroup>\n+ <OutputType>Exe</OutputType>\n+ <LangVersion>7.2</LangVersion>\n+ <TargetFramework>netcoreapp2.1</TargetFramework>\n+ <Ena... | C++ | Apache License 2.0 | google/or-tools | Add missing SimpleLpProgram.csproj |
261,218 | 09.11.2018 16:07:09 | -3,600 | 32871015f8ec40b68f78d040cc9760a4158adbb5 | Fixup Makefile.dotnet.mk
Typo for SimpleLpProgram.cs | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -498,7 +498,7 @@ test_dotnet_samples: \\\n.PHONY: test_donet_linear_solver_samples # Build and Run all .Net LP Samples (located in ortools/linear_solver/samples)\ntest_dotne... | C++ | Apache License 2.0 | google/or-tools | Fixup Makefile.dotnet.mk
Typo for SimpleLpProgram.cs |
261,230 | 10.11.2018 13:04:03 | -3,600 | ef0b82c79459abf24079616b0af794f723690a15 | polish cp is fun python, C++, C# samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -421,6 +421,7 @@ test_cc_sat_samples: \\\nrcc_bool_or_sample \\\nrcc_channeling_sample \\\nrcc_code_sample \\\n+ rcc_cp_is_fun \\\nrcc_interval_sample \\\nrcc_literal_sample \\\nr... | C++ | Apache License 2.0 | google/or-tools | polish cp is fun python, C++, C# samples |
261,230 | 10.11.2018 13:40:57 | -3,600 | 2edea4be8397767ba86ce4fc189d023ac1311224 | add CpIsFun.java | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -483,6 +483,7 @@ test_dotnet_samples: \\\nrdotnet_bool_or_sample.cs \\\nrdotnet_channeling_sample.cs \\\nrdotnet_code_sample.cs \\\n+ rdotnet_CpIsFun.cs \\\nrdotnet_interval... | C++ | Apache License 2.0 | google/or-tools | add CpIsFun.java |
261,230 | 10.11.2018 17:34:50 | -3,600 | 3542b8380e103d507130d31fddb75814b25cc3f7 | fix sat presolve | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -2782,7 +2782,10 @@ void PresolveCpModel(const PresolveOptions& options,\npostsolve_mapping->clear();\nstd::vector<int> mapping(presolved_model->variables_size(), -1... | C++ | Apache License 2.0 | google/or-tools | fix sat presolve |
261,230 | 10.11.2018 22:38:16 | -3,600 | 333cf82f0f61879e9c7fc81593f6be89463ddc90 | remove spurious printing | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/cp_is_fun.cc",
"new_path": "ortools/sat/samples/cp_is_fun.cc",
"diff": "@@ -61,7 +61,6 @@ void CPIsFun() {\n{kBase, 1, kBase, 1, kBase * kBase, kBase, 1}),\nLinearExpr::ScalProd({t, r, u, e},\n{kBase * kBase * kBase, kBase * kBase, kBase, 1... | C++ | Apache License 2.0 | google/or-tools | remove spurious printing |
261,230 | 11.11.2018 00:01:25 | -3,600 | 987174f8a4d316521ceea0b0062c114479f0d95f | java-format more files | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/constraintsolver/JavaDecisionBuilder.java",
"new_path": "ortools/com/google/ortools/constraintsolver/JavaDecisionBuilder.java",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the... | C++ | Apache License 2.0 | google/or-tools | java-format more files |
261,218 | 12.11.2018 15:35:03 | -3,600 | 8199429d01af568efc6cd83e3d382967ecabe3fe | Update CMake dotnet management. | [
{
"change_type": "DELETE",
"old_path": "cmake/csharp.cmake",
"new_path": null,
"diff": "-if (NOT BUILD_CSHARP)\n- return()\n-endif()\n-\n-find_package(SWIG)\n-find_package(CSharpUtilities)\n-\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "cmake/dotnet.cmake",
"diff"... | C++ | Apache License 2.0 | google/or-tools | Update CMake dotnet management. |
261,218 | 15.11.2018 08:22:31 | -3,600 | 8ffd9947f3b78f2b8fb3ae1e559ba35341b071bb | Fixup dotnet Makefile test target name | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -497,14 +497,14 @@ test_dotnet_sat_samples: \\\nrdotnet_SolveWithTimeLimit.cs \\\nrdotnet_StopAfterNSolutions.cs\n-.PHONY: test_donet_linear_solver_samples # Build and Run a... | C++ | Apache License 2.0 | google/or-tools | Fixup dotnet Makefile test target name |
261,230 | 15.11.2018 15:20:50 | 28,800 | cd16a4186f95b4bde6a231a4bc8cbdf2fe4ae6b6 | add doc tag to some sat amples | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/solver.md",
"new_path": "ortools/sat/doc/solver.md",
"diff": "@@ -26,11 +26,13 @@ def SimpleSolveSampleSat():\n\"\"\"Minimal CP-SAT example to showcase calling the solver.\"\"\"\n# Creates the model.\nmodel = cp_model.CpModel()\n+\n# Creates th... | C++ | Apache License 2.0 | google/or-tools | add doc tag to some sat amples |
261,230 | 16.11.2018 05:02:48 | 28,800 | c75045897b15996b0288ee1ec18de79afa931c54 | merge simple_solve_sample_sat into simple_sat_program; update doc | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -430,7 +430,6 @@ test_cc_sat_samples: \\\nrcc_reified_sample_sat \\\nrcc_search_for_all_solutions_sample_sat \\\nrcc_simple_sat_program \\\n- rcc_simple_solve_sample_sat \\\nrcc_s... | C++ | Apache License 2.0 | google/or-tools | merge simple_solve_sample_sat into simple_sat_program; update doc |
261,218 | 16.11.2018 15:10:15 | -3,600 | 97044de3693b02a2d46eddb53a437d5df20e7dfc | Makefile: Add samples rules for algorithm and graph | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -403,6 +403,12 @@ $(OBJ_DIR)/%.$O: $(CC_EX_DIR)/%.cc $(OR_TOOLS_LIBS) | $(OBJ_DIR)\n$(OBJ_DIR)/%.$O: $(CONTRIB_EX_DIR)/%.cc $(OR_TOOLS_LIBS) | $(OBJ_DIR)\n$(CCC) $(CFLAGS) -c $(CO... | C++ | Apache License 2.0 | google/or-tools | Makefile: Add samples rules for algorithm and graph |
261,230 | 16.11.2018 16:54:37 | 28,800 | 1b56c047b124ae5a858d59337ab16f743a6dd0dd | polish python code | [
{
"change_type": "MODIFY",
"old_path": "examples/python/qubo_sat.py",
"new_path": "examples/python/qubo_sat.py",
"diff": "@@ -651,6 +651,7 @@ class ObjectiveSolutionPrinter(cp_model.CpSolverSolutionCallback):\nself.__start_time = time.time()\ndef OnSolutionCallback(self):\n+ \"\"\"Called at each new... | C++ | Apache License 2.0 | google/or-tools | polish python code |
261,230 | 18.11.2018 09:04:16 | 28,800 | 2373859e19799a837f604186881ab36c89884630 | fix shift_scheduling_sat.py | [
{
"change_type": "MODIFY",
"old_path": "examples/python/shift_scheduling_sat.py",
"new_path": "examples/python/shift_scheduling_sat.py",
"diff": "+# Copyright 2010-2018 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance... | C++ | Apache License 2.0 | google/or-tools | fix shift_scheduling_sat.py |
261,230 | 18.11.2018 11:14:23 | 28,800 | 7c01a9f4ad7d7540a965e90e716e476552b2bc2f | reindent cp_model.py and visualization.py | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -121,7 +121,8 @@ class LinearExpression(object):\nwhile to_process: # Flatten to avoid recursion.\nexpr, coef = to_process.pop()\nif isinstance(expr, _ProductCst):\n- to... | C++ | Apache License 2.0 | google/or-tools | reindent cp_model.py and visualization.py |
261,230 | 18.11.2018 20:57:15 | 28,800 | a6fb9153a68cc42f663e32bc47741ae55cb31282 | reindent example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/shift_scheduling_sat.py",
"new_path": "examples/python/shift_scheduling_sat.py",
"diff": "@@ -98,14 +98,14 @@ def add_sequence_constraint(model, works, hard_min, soft_min, min_cost,\nhard_min.\nsoft_min: any sequence should have a length of at ... | C++ | Apache License 2.0 | google/or-tools | reindent example |
261,218 | 19.11.2018 09:40:09 | -3,600 | 97fd0095a7a770dcab69059f01294226c2fedbc3 | Makefile: Update archive targets recipe | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.archive.mk",
"new_path": "makefiles/Makefile.archive.mk",
"diff": "@@ -59,32 +59,52 @@ archive_cc: cc $(CVRPTW_LIBS) $(DIMACS_LIBS) $(FAP_LIBS) | $(TEMP_ARCHIVE_DIR)\n$(COPY) $(DIMACS_PATH) $(TEMP_ARCHIVE_DIR)$S$(INSTALL_DIR)$Slib\n$(COPY) $... | C++ | Apache License 2.0 | google/or-tools | Makefile: Update archive targets recipe |
261,218 | 19.11.2018 11:00:44 | -3,600 | eee64256b36bf5f82c822e782009215ac8d3c0ef | Fix clean_cc rule | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -561,7 +561,7 @@ rfz_%: fz $(FZ_EX_DIR)/%.fzn\n################\n## Cleaning ##\n################\n-CC_SAMPLES := $(wildcard ortools/sat/samples/*.cc)\n+CC_SAMPLES := $(wildcard o... | C++ | Apache License 2.0 | google/or-tools | Fix clean_cc rule |
261,218 | 19.11.2018 11:02:49 | -3,600 | 9e70774073a9b79aca78b19bd8f2b36bab87b19e | dotnet: Rework snk managment
Now you can use the env var DOTNET_SNK to set your own snk key | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -64,7 +64,7 @@ else\nendif\nendif\n-# All libraries and dependecies\n+# All libraries and dependencies\nDOTNET_ORTOOLS_SNK := $(BIN_DIR)/or-tools.snk\nDOTNET_ORTOOLS_SNK_PAT... | C++ | Apache License 2.0 | google/or-tools | dotnet: Rework snk managment
Now you can use the env var DOTNET_SNK to set your own snk key |
261,218 | 19.11.2018 17:36:48 | -3,600 | d79ea4b0a4aa04e51ce91e421a2a82ecffc7fa21 | docker: Use external snk file when building artifact
You must have a or-tools.snk file in ortools/tools/docker directory | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "@@ -116,6 +116,7 @@ docker_ubuntu-18.04: export/ubuntu-18.04/docker.tar\n# before the image is built...\nexport/%/docker.tar: %.Dockerfile ../Makefile.cc.java.dotnet ../../makefiles ../../or... | C++ | Apache License 2.0 | google/or-tools | docker: Use external snk file when building artifact
You must have a or-tools.snk file in ortools/tools/docker directory |
261,218 | 19.11.2018 17:55:16 | -3,600 | 6a889109a79f9536586b9343bf5f30ae2f67e927 | Fix fz_archive target | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.archive.mk",
"new_path": "makefiles/Makefile.archive.mk",
"diff": "@@ -114,9 +114,9 @@ $(FZ_INSTALL_DIR)$(ARCHIVE_EXT): fz | $(TEMP_FZ_DIR)\n$(COPY) $(BIN_DIR)$Sparser_main$E $(TEMP_FZ_DIR)$S$(FZ_INSTALL_DIR)$Sbin$Sparser-or-tools$E\n-$(MKDI... | C++ | Apache License 2.0 | google/or-tools | Fix fz_archive target |
261,230 | 19.11.2018 14:03:44 | 28,800 | a5ae202fc05bc440a638116fc71dfb96f3549732 | add Abs API on the CP-SAT solver (all languages) | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -793,6 +793,16 @@ public class CpModel {\nreturn ct;\n}\n+ /** Adds {@code target == Abs(var)}. */\n+ public Constraint addAbsEquality(IntVar t... | C++ | Apache License 2.0 | google/or-tools | add Abs API on the CP-SAT solver (all languages) |
261,230 | 19.11.2018 14:13:50 | 28,800 | 79a8475958b6d479636e5e0f6f4c996ae9043e83 | port zebra example to cp-sat | [
{
"change_type": "MODIFY",
"old_path": "examples/python/zebra.py",
"new_path": "examples/python/zebra.py",
"diff": "@@ -33,89 +33,86 @@ Who owns a zebra and who drinks water?\n\"\"\"\nfrom __future__ import print_function\n-from ortools.constraint_solver import pywrapcp\n+\n+from ortools.sat.python ... | C++ | Apache License 2.0 | google/or-tools | port zebra example to cp-sat |
261,230 | 19.11.2018 18:04:52 | 28,800 | 76add52ca43e47615599f59a598e9e395a321d89 | port sudoku to cp_sat. | [
{
"change_type": "MODIFY",
"old_path": "examples/python/sudoku.py",
"new_path": "examples/python/sudoku.py",
"diff": "\"\"\"This model implements a sudoku solver.\"\"\"\nfrom __future__ import print_function\n-from ortools.constraint_solver import pywrapcp\n+from ortools.sat.python import cp_model\n... | C++ | Apache License 2.0 | google/or-tools | port sudoku to cp_sat. |
261,230 | 19.11.2018 18:05:31 | 28,800 | 4379a89323856cc7cb5cc7727718750f666f2f2f | rename sudoku.py to sudoky_sat.py | [
{
"change_type": "RENAME",
"old_path": "examples/python/sudoku.py",
"new_path": "examples/python/sudoku_sat.py",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -725,7 +725,7 @@ test_pyth... | C++ | Apache License 2.0 | google/or-tools | rename sudoku.py to sudoky_sat.py |
261,230 | 20.11.2018 04:35:48 | 28,800 | 9691161712e24b21055dae94d4ec206e8397e92b | port examples to the CP-SAT solver | [
{
"change_type": "MODIFY",
"old_path": "examples/python/appointments.py",
"new_path": "examples/python/appointments.py",
"diff": "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the... | C++ | Apache License 2.0 | google/or-tools | port examples to the CP-SAT solver |
261,230 | 20.11.2018 04:56:59 | 28,800 | 3fae2c719f3cd4dacc3e637e3d1c0b7cafff36c0 | improve sat example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/assignment_with_constraints_sat.py",
"new_path": "examples/python/assignment_with_constraints_sat.py",
"diff": "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing pe... | C++ | Apache License 2.0 | google/or-tools | improve sat example |
261,230 | 20.11.2018 14:47:46 | 28,800 | 1831f30ebaa810b483239d1bc55b9898a3f24902 | port more C# CP examples to CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/Google.OrTools.Examples.sln",
"new_path": "examples/dotnet/Google.OrTools.Examples.sln",
"diff": "@@ -11,7 +11,7 @@ Project(\"{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}\") = \"csfz\", \"csfz.csproj\", \"{FC7\nEndProject\nProject(\"{FAE04EC0-301F-11... | C++ | Apache License 2.0 | google/or-tools | port more C# CP examples to CP-SAT |
261,218 | 21.11.2018 15:06:42 | -3,600 | 085474435099624c82ba21c69e4c42259b043c64 | Fix dotnet makefile | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -545,16 +545,34 @@ test_dotnet_tests: \\\n.PHONY: test_dotnet_examples_csharp # Build and Run all CSharp Examples (located in examples/dotnet and examples/contrib)\ntest_dot... | C++ | Apache License 2.0 | google/or-tools | Fix dotnet makefile |
261,218 | 21.11.2018 16:46:47 | -3,600 | 3e1a3f6e0c1046e3f9300d7c94fe5c64864fa168 | clean flatzinc archive | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.archive.mk",
"new_path": "makefiles/Makefile.archive.mk",
"diff": "@@ -109,6 +109,12 @@ archive_dotnet: dotnet | $(TEMP_ARCHIVE_DIR)\n$(FZ_INSTALL_DIR)$(ARCHIVE_EXT): fz | $(TEMP_FZ_DIR)\n-$(DELREC) $(TEMP_FZ_DIR)$S*\n$(MAKE) install_cc pref... | C++ | Apache License 2.0 | google/or-tools | clean flatzinc archive |
261,230 | 21.11.2018 08:43:50 | 28,800 | 3cfcd810cc7ff782281f152a8b0bbb2bc4c3ac00 | Add CpModel.Validate() in C#, Python, Java | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -1181,6 +1181,12 @@ public class CpModel {\nreturn SatHelper.modelStats(model());\n}\n+ /** Returns a non empty string if the model is invalid.... | C++ | Apache License 2.0 | google/or-tools | Add CpModel.Validate() in C#, Python, Java |
261,218 | 22.11.2018 09:29:22 | -3,600 | 55417fa088786edd111ab1315a4b4938c43964ae | Sync SimpleLpProgram with g3 | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/SimpleLpProgram.java",
"new_path": "ortools/linear_solver/samples/SimpleLpProgram.java",
"diff": "@@ -19,12 +19,14 @@ import com.google.ortools.linearsolver.MPSolver;\nimport com.google.ortools.linearsolver.MPVariable;\npublic cla... | C++ | Apache License 2.0 | google/or-tools | Sync SimpleLpProgram with g3 |
261,218 | 22.11.2018 09:32:03 | -3,600 | 7e47d2dae5c3ee3360013f87298079ab49a55709 | Add SimpleMipProgram from g3 | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -429,7 +429,8 @@ test_cc_graph_samples: \\\n.PHONY: test_cc_linear_solver_samples # Build and Run all C++ LP Samples (located in ortools/linear_solver/samples)\ntest_cc_linear_sol... | C++ | Apache License 2.0 | google/or-tools | Add SimpleMipProgram from g3 |
261,230 | 22.11.2018 01:38:13 | 28,800 | d5bd0940cd4e986c703573156d512585d1bb157e | remove cryptarithm example | [
{
"change_type": "DELETE",
"old_path": "examples/cpp/cryptarithm.cc",
"new_path": null,
"diff": "-// Copyright 2010-2018 Google LLC\n-// Licensed under the Apache License, Version 2.0 (the \"License\");\n-// you may not use this file except in compliance with the License.\n-// You may obtain a copy ... | C++ | Apache License 2.0 | google/or-tools | remove cryptarithm example |
261,218 | 22.11.2018 10:59:35 | -3,600 | 6b485a70509b5a8ff6facbfbe79d02b21fb3a954 | Disable concurreny for dotnet samples
All samples in the same directory will use the same bin obj directory
and dotnet/cli doesn't support concurrency on few of them.
e.g. obj/project.assets.json | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -496,34 +496,34 @@ rdotnet_%.cs: \\\n\"$(DOTNET_BIN)\" run --no-build --project ortools$Ssat$Ssamples$S$*.csproj -- $(ARGS)\n.PHONY: test_dotnet_algorithms_samples # Build a... | C++ | Apache License 2.0 | google/or-tools | Disable concurreny for dotnet samples
All samples in the same directory will use the same bin obj directory
and dotnet/cli doesn't support concurrency on few of them.
e.g. obj/project.assets.json |
261,230 | 22.11.2018 04:17:54 | 28,800 | 37ef66ef867a78149a04c32e21844f9289cf20f7 | replace magic_square by magic_square_sat with much improved performance | [
{
"change_type": "DELETE",
"old_path": "examples/cpp/magic_square.cc",
"new_path": null,
"diff": "-// Copyright 2010-2018 Google LLC\n-// Licensed under the Apache License, Version 2.0 (the \"License\");\n-// you may not use this file except in compliance with the License.\n-// You may obtain a copy... | C++ | Apache License 2.0 | google/or-tools | replace magic_square by magic_square_sat with much improved performance |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.