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
06.02.2020 18:32:40
-3,600
9814de8263d6c211c4351ed6e91979c19aa043d7
CMake: Coin-OR is optional
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -70,35 +70,48 @@ CMAKE_DEPENDENT_OPTION(BUILD_gflags \"Build the gflags dependency Library\" OFF\n\"NOT BUILD_DEPS\" ON)\nCMAKE_DEPENDENT_OPTION(BUILD_glog \"Build the glog dependency Library\" OFF\n\"...
C++
Apache License 2.0
google/or-tools
CMake: Coin-OR is optional
261,218
31.01.2020 18:51:50
-3,600
053d074490403018eea0911350ba948ceefe3f0a
cmake: Add dummy find module (Fix
[ { "change_type": "ADD", "old_path": null, "new_path": "cmake/FindCbc.cmake", "diff": "+#[=======================================================================[.rst:\n+FindCbc\n+--------\n+\n+This module determines the Cbc library of the system.\n+\n+IMPORTED Targets\n+^^^^^^^^^^^^^^^^\n+\n+This mo...
C++
Apache License 2.0
google/or-tools
cmake: Add dummy find module (Fix #1412)
261,218
07.02.2020 14:15:38
-3,600
660ce974a82acebd80d2d62ee99491d5831794f4
CMake: Fix typo in generator expression
[ { "change_type": "MODIFY", "old_path": "ortools/graph/CMakeLists.txt", "new_path": "ortools/graph/CMakeLists.txt", "diff": "@@ -28,7 +28,7 @@ target_include_directories(${NAME} PRIVATE\n$<TARGET_PROPERTY:gflags::gflags,INTERFACE_INCLUDE_DIRECTORIES>\n$<TARGET_PROPERTY:glog::glog,INTERFACE_INCLUDE_DI...
C++
Apache License 2.0
google/or-tools
CMake: Fix typo in generator expression
261,218
07.02.2020 15:04:36
-3,600
9991661385b52e4c7009efc8720dd713551bb5b1
Github: fix macos job
[ { "change_type": "MODIFY", "old_path": ".github/workflows/cpp.yml", "new_path": ".github/workflows/cpp.yml", "diff": "@@ -27,7 +27,7 @@ jobs:\n- name: Test\nrun: cmake --build build --config Release --target test -v\n- name: Install\n- run: cmake --build build --config Release --target install -v\n+...
C++
Apache License 2.0
google/or-tools
Github: fix macos job
261,218
07.02.2020 15:39:26
-3,600
f9cb28a3703c14de30e735b8e0fcd22a492a48cd
CMake: allow python3.8 support
[ { "change_type": "MODIFY", "old_path": "cmake/python.cmake", "new_path": "cmake/python.cmake", "diff": "@@ -39,7 +39,7 @@ endforeach()\nadd_custom_target(Py${PROJECT_NAME}_proto DEPENDS ${PROTO_PYS} ortools::ortools)\n# Setup Python\n-set(Python_ADDITIONAL_VERSIONS \"3.7;3.6;3.5;2.7\" CACHE STRING \...
C++
Apache License 2.0
google/or-tools
CMake: allow python3.8 support
261,218
10.02.2020 18:42:03
-3,600
d6fe894136764bd915457607af08f4575268c8ee
CMake: Fix python build
[ { "change_type": "MODIFY", "old_path": "cmake/python.cmake", "new_path": "cmake/python.cmake", "diff": "@@ -199,6 +199,6 @@ if(BUILD_TESTING)\n# run the tests within the virtualenv\nadd_test(pytest_venv ${VENV_BIN_DIR}/python ${VENV_DIR}/test.py)\n- add_subdirectory(examples/python)\n- add_subdirect...
C++
Apache License 2.0
google/or-tools
CMake: Fix python build
261,218
07.02.2020 18:24:38
-3,600
2c1611308cefbac884ebcdc811023851b1959169
Add github action workflows All workflow are CMake based build. Add Workflow for Linux, macOS and Windows. Add workflow for C++, Python, Java, .Net. Update CMake/README.md.
[ { "change_type": "DELETE", "old_path": ".github/workflows/cpp.yml", "new_path": null, "diff": "-name: C++ CI\n-\n-on: [push, pull_request]\n-\n-jobs:\n- # Building using the github runner environement directly.\n- build-linux:\n- runs-on: ubuntu-latest\n- steps:\n- - uses: actions/checkout@v2\n- - n...
C++
Apache License 2.0
google/or-tools
Add github action workflows - All workflow are CMake based build. - Add Workflow for Linux, macOS and Windows. - Add workflow for C++, Python, Java, .Net. - Update CMake/README.md.
261,218
14.02.2020 10:41:29
-3,600
cc6a5dfe401ba2a5e436ba0811ed7564e250566d
Python: graph small cleanup
[ { "change_type": "MODIFY", "old_path": "ortools/graph/python/graph.i", "new_path": "ortools/graph/python/graph.i", "diff": "@@ -151,7 +151,13 @@ typedef uint64_t uint64;\n%include \"ortools/graph/assignment.h\"\n+%unignoreall\n+\n+// ############ shortestpaths.h ############\n+%ignoreall\n+\n+%unign...
C++
Apache License 2.0
google/or-tools
Python: graph small cleanup
261,218
14.02.2020 10:48:04
-3,600
f9356db84d629c58cf5423646c156eb631064e2f
Makefile: fix clean_java now generated code is in gen/java/com... and not gen/com...
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.java.mk", "new_path": "makefiles/Makefile.java.mk", "diff": "@@ -542,7 +542,7 @@ test_java_pimpl: \\\n################\n.PHONY: clean_java # Clean Java output from previous build.\nclean_java:\n- -$(DELREC) $(GEN_PATH)$Scom\n+ -$(DELREC) $(G...
C++
Apache License 2.0
google/or-tools
Makefile: fix clean_java now generated code is in gen/java/com... and not gen/com...
261,218
12.02.2020 11:30:15
-3,600
fd4ce1131ca862dc20c69cf263b1fdee9f3089f3
CMake: Update wrapper support
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -2,9 +2,68 @@ if(NOT BUILD_DOTNET)\nreturn()\nendif()\n+if(NOT TARGET ortools::ortools)\n+ message(FATAL_ERROR \"Java: missing ortools TARGET\")\n+endif()\n+\nfind_package(SWIG)\n+include(UseSW...
C++
Apache License 2.0
google/or-tools
CMake: Update wrapper support
261,218
12.02.2020 16:16:23
-3,600
345140d0b5ed5944669dc64cb13888abf169f680
CMake: add few type size check
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -127,6 +127,29 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/dependencies/install)\ninclude(CTest)\n+# Basic type\n+include(CMakePushCheckState)\n+cmake_push_check_state(RESET)\n+set(CMAKE_EXTRA...
C++
Apache License 2.0
google/or-tools
CMake: add few type size check
261,218
14.02.2020 11:11:43
-3,600
3cb46a0d27246bf049b04a85e3981c328526729f
CMake: fix FindJava call
[ { "change_type": "MODIFY", "old_path": "cmake/java.cmake", "new_path": "cmake/java.cmake", "diff": "@@ -38,7 +38,7 @@ endforeach()\nadd_custom_target(Java${PROJECT_NAME}_proto DEPENDS ${PROTO_JAVAS} ortools::ortools)\n# Setup Java\n-find_package(JAVA 1.8 REQUIRED COMPONENTS Development)\n+find_packa...
C++
Apache License 2.0
google/or-tools
CMake: fix FindJava call
261,218
14.02.2020 15:26:33
-3,600
5bfbcd5b6c6dcbad271759f706c7234e57a345f2
Fix F# build
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/README.md", "new_path": "ortools/dotnet/README.md", "diff": "@@ -219,7 +219,7 @@ dotnet pack src/Google.OrTools\n```\n# Examples\n-The Test projects show examples of building applications with `netcoreapp2.0`.\n+The Test projects show examples o...
C++
Apache License 2.0
google/or-tools
Fix F# build
261,218
13.02.2020 15:25:43
-3,600
548974902bde5893c02bb711a2dc8ce4518bf6fb
Add -DSWIGWORDSIZE64 to unix build
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.unix.mk", "new_path": "makefiles/Makefile.unix.mk", "diff": "@@ -107,7 +107,12 @@ ifdef UNIX_CPLEX_DIR\nCPLEX_SWIG = $(CPLEX_INC)\nendif\n-SWIG_INC = \\\n+ifeq ($(PLATFORM),LINUX)\n+ SWIG_INC = -DSWIGWORDSIZE64\n+else\n+ SWIG_INC =\n+endif\n...
C++
Apache License 2.0
google/or-tools
Add -DSWIGWORDSIZE64 to unix build
261,218
12.02.2020 16:09:42
-3,600
bc4bc0b0427d9753f1a09828dd83f2f2648d1e1b
Python: Remove s/long long/long/ swig hack.
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -271,14 +271,6 @@ $(GEN_DIR)/ortools/constraint_solver/pywrapcp.py: \\\n-o $(GEN_PATH)$Sortools$Sconstraint_solver$Sconstraint_solver_python_wrap.cc \\\n-module pywrapcp \\\...
C++
Apache License 2.0
google/or-tools
Python: Remove s/long long/long/ swig hack.
261,218
12.02.2020 16:19:57
-3,600
bbd00fcf52ede395c9632a14238284d2db7280e7
Java: remove s/long long/long/ swig hack
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.java.mk", "new_path": "makefiles/Makefile.java.mk", "diff": "@@ -98,10 +98,6 @@ $(GEN_DIR)/ortools/constraint_solver/constraint_solver_java_wrap.cc: \\\n-module main \\\n-outdir $(GEN_PATH)$Sjava$Scom$Sgoogle$Sortools$Sconstraintsolver \\\n$...
C++
Apache License 2.0
google/or-tools
Java: remove s/long long/long/ swig hack
261,218
12.02.2020 16:20:08
-3,600
bb82452aacca720c97a88a92430e751caf2d5be9
.Net: remove s/long long/long/ swig hack
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -200,10 +200,6 @@ $(GEN_DIR)/ortools/constraint_solver/constraint_solver_csharp_wrap.cc: \\\n$(SED) -i -e 's/CSharp_Constraint/CSharp_CpConstraint/g' \\\n$(GEN_PATH)$Sortool...
C++
Apache License 2.0
google/or-tools
.Net: remove s/long long/long/ swig hack
261,218
14.02.2020 10:26:40
-3,600
ed9136bb482a586c70b9561c21724ec80d997e63
.Net swig refactor
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -343,7 +343,6 @@ $(DOTNET_ORTOOLS_NATIVE_NUPKG): \\\n$(SRC_DIR)/ortools/constraint_solver/csharp/NetDecisionBuilder.cs \\\n$(SRC_DIR)/ortools/constraint_solver/csharp/Solver...
C++
Apache License 2.0
google/or-tools
.Net swig refactor
261,218
17.02.2020 12:32:20
-3,600
08c23c8becfc91efc629749f04ce68ef928c8790
Fix fsdiet.fs example
[ { "change_type": "MODIFY", "old_path": "examples/contrib/fsdiet.fs", "new_path": "examples/contrib/fsdiet.fs", "diff": "@@ -38,7 +38,7 @@ solver.Add( x.ScalProd(chocolate).solver().MakeGreaterOrEqual(x.ScalProd(chocola\nsolver.Add( x.ScalProd(sugar).solver().MakeGreaterOrEqual(x.ScalProd(sugar), lim...
C++
Apache License 2.0
google/or-tools
Fix fsdiet.fs example
261,218
17.02.2020 13:37:48
-3,600
49eeeb073c4421380a7fd7992e52bfe19fe35f7c
Fix LinearSolverTests.cs
[ { "change_type": "MODIFY", "old_path": "examples/tests/LinearSolverTests.cs", "new_path": "examples/tests/LinearSolverTests.cs", "diff": "@@ -237,7 +237,7 @@ namespace Google.OrTools.Tests {\n// Check that the problem has an optimal solution.\nif (resultStatus != Solver.ResultStatus.OPTIMAL) {\nCons...
C++
Apache License 2.0
google/or-tools
Fix LinearSolverTests.cs
261,259
18.02.2020 20:19:36
-3,600
d8876d50a5787893c5c5605e979878b13ca0bbf2
Simplify AddElement on integer index
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -817,6 +817,9 @@ class CpModel(object):\nif not variables:\nraise ValueError('AddElement expects a non-empty variables array')\n+ if isinstance(index, numbers.Integral):...
C++
Apache License 2.0
google/or-tools
Simplify AddElement on integer index
261,230
25.02.2020 10:36:36
-3,600
7bfdee8021cf83d4a4aef3eeeff5da2110e420ec
fix presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -942,6 +942,17 @@ bool CpModelPresolver::CanonicalizeLinear(ConstraintProto* ct) {\nreturn false;\n}\n+ // Special case. We must not touch the half implications.\n+ ...
C++
Apache License 2.0
google/or-tools
fix presolve
261,230
26.02.2020 19:49:50
-3,600
4b7aa31302e5461ec480a4880b72df935ce03a12
fix crash in presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -56,7 +56,7 @@ bool CpModelPresolver::RemoveConstraint(ConstraintProto* ct) {\nreturn true;\n}\n-void CpModelPresolver::SyncDomainAndRemoveEmptyConstraints() {\n+voi...
C++
Apache License 2.0
google/or-tools
fix crash in presolve
261,218
21.02.2020 19:37:50
-3,600
0b9d349856f02f39f8c0aee487408f073b8da527
CMake: force CXX standard to C++11
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -174,15 +174,12 @@ target_include_directories(${PROJECT_NAME} INTERFACE\n)\n# Compile options\n-if(CMAKE_VERSION VERSION_LESS \"3.8.2\")\nset_target_properties(${PROJECT_NAME} PROPERTIES\nCXX_STANDAR...
C++
Apache License 2.0
google/or-tools
CMake: force CXX standard to C++11
261,218
21.02.2020 19:37:01
-3,600
86a5d0cc854ef83560da3f139df423cc3aaaf522
Fix cpp proto list
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -240,7 +240,17 @@ add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})\n# Generate Protobuf cpp sources\nset(PROTO_HDRS)\nset(PROTO_SRCS)\n-file(GLOB_RECURSE proto_files RELATIVE ${PRO...
C++
Apache License 2.0
google/or-tools
Fix cpp proto list
261,218
20.02.2020 16:54:19
-3,600
5acf9c6db98c9fb5109cfafb5a3a5c8fef760dbf
CMake: comment examples/java and examples/dotnet no support yet so avoid to crash the configure...
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -65,5 +65,5 @@ add_custom_target(dotnet_package ALL\n# Test\nif(BUILD_TESTING)\n- add_subdirectory(examples/dotnet)\n+ #add_subdirectory(examples/dotnet)\nendif()\n" }, { "change_type":...
C++
Apache License 2.0
google/or-tools
CMake: comment examples/java and examples/dotnet no support yet so avoid to crash the configure...
261,218
20.02.2020 17:49:37
-3,600
8cd4a035cc34f6bd5e382d3bce74bf73f3073a07
CMake: Update swigwin url
[ { "change_type": "MODIFY", "old_path": "cmake/dependencies/SWIG.CMakeLists.txt.in", "new_path": "cmake/dependencies/SWIG.CMakeLists.txt.in", "diff": "@@ -11,7 +11,7 @@ ExternalProject_Add(SWIG_project\nSOURCE_DIR \"@CMAKE_CURRENT_BINARY_DIR@/${PROJECT_NAME}/source\"\nBUILD_IN_SOURCE 1\n- URL \"https...
C++
Apache License 2.0
google/or-tools
CMake: Update swigwin url
261,218
24.02.2020 17:32:53
-3,600
ddcbd35f2336225757a38e0918065e10bae695a5
CMake: Update CMP Policies
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -7,10 +7,22 @@ if(POLICY CMP0068)\ncmake_policy(SET CMP0068 NEW)\nendif()\n+# Define file(GENERATE) behavior for relative paths.\n+if(POLICY CMP0070)\n+ cmake_policy(SET CMP0070 NEW)\n+endif()\n+\n+# t...
C++
Apache License 2.0
google/or-tools
CMake: Update CMP Policies
261,218
28.02.2020 10:33:00
-3,600
42b242f7990918ef0e69f523c5a88d1482ce58d9
ci: Fix alpine python dockerfile
[ { "change_type": "MODIFY", "old_path": "cmake/docker/alpine/Dockerfile", "new_path": "cmake/docker/alpine/Dockerfile", "diff": "@@ -31,7 +31,7 @@ FROM env AS python\n# Swig install\nRUN apk add --no-cache swig\n# Python install\n-RUN apk add --no-cache python3-dev\n+RUN apk add --no-cache python3-de...
C++
Apache License 2.0
google/or-tools
ci: Fix alpine python dockerfile
261,218
28.02.2020 13:39:43
-3,600
b6a4c8e56daed78aa18ab274476851033bb5f419
Win: update swigwin url
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.win.mk", "new_path": "makefiles/Makefile.third_party.win.mk", "diff": "@@ -511,7 +511,7 @@ dependencies/install/swigwin-$(SWIG_TAG)/swig.exe: dependencies/archives/swigwin\n$(UNZIP) -q -d dependencies$Sinstall dependencies$Sarchi...
C++
Apache License 2.0
google/or-tools
Win: update swigwin url
261,218
28.02.2020 14:32:35
-3,600
42ceebb0785cb467bd6f6cf5636845891e951ed4
ci: Fix fedora docker
[ { "change_type": "MODIFY", "old_path": "cmake/docker/fedora/Dockerfile", "new_path": "cmake/docker/fedora/Dockerfile", "diff": "@@ -36,7 +36,7 @@ RUN dnf -y update \\\n&& dnf clean all\n# Python install\nRUN dnf -y update \\\n-&& dnf -y install python3 python3-devel \\\n+&& dnf -y install python3 py...
C++
Apache License 2.0
google/or-tools
ci: Fix fedora docker
261,218
17.02.2020 17:29:42
-3,600
65838793f6e3714d6c42e8767ab57c641dabf2d9
Add Build system dot
[ { "change_type": "ADD", "old_path": null, "new_path": "cmake/doc/cmake.dot", "diff": "+// C++: royalblue\n+// Python: gold\n+// Java: crimson\n+// .Net: forestgreen\n+// F#: indigo\n+@startdot\n+digraph CMake {\n+ //rankdir=BT;\n+ rankdir=TD;\n+\n+ subgraph clusterPrerequisite {\n+ node [shape=box, ...
C++
Apache License 2.0
google/or-tools
Add Build system dot
261,218
28.02.2020 14:29:53
-3,600
2f7a1781545413a4a976f8d31ae8172c963b35a5
CMake: Fix super project incorporation
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -135,7 +135,7 @@ message(STATUS \"XPRESS support: ${USE_XPRESS}\")\n# Build Needed dependencies\nadd_subdirectory(cmake/dependencies dependencies)\n-list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/de...
C++
Apache License 2.0
google/or-tools
CMake: Fix super project incorporation
261,218
02.03.2020 09:25:05
-3,600
d67a1af2eaef83299a3d5bb578669be8f2223972
.Net: Fix SWIG compile option in CMake
[ { "change_type": "MODIFY", "old_path": "ortools/algorithms/csharp/CMakeLists.txt", "new_path": "ortools/algorithms/csharp/CMakeLists.txt", "diff": "-# Can't use SWIG_COMPILE_OPTIONS property\n-# see: https://gitlab.kitware.com/cmake/cmake/issues/20389\n-list(APPEND CMAKE_SWIG_FLAGS -dllimport google...
C++
Apache License 2.0
google/or-tools
.Net: Fix SWIG compile option in CMake
261,218
02.03.2020 11:01:02
-3,600
595660d93d1a7195507f2801944871c36e4958d1
.Net: move snk kay to ortools/dotnet to get relative path .. from project, which is needed for CMake compatibility
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -8,6 +8,7 @@ dependencies/check.log\nor-tools*.tar.gz\nor-tools*.zip\n+*.snk\n*.a\n*.o\n*.so\n" }, { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/...
C++
Apache License 2.0
google/or-tools
.Net: move snk kay to ortools/dotnet to get relative path .. from project, which is needed for CMake compatibility
261,218
02.03.2020 11:20:47
-3,600
29779ee1b53cbfc92857edc6d39a433425c15c8f
Bump abseil-cpp -> (LTS 20200225)
[ { "change_type": "MODIFY", "old_path": "Dependencies.txt", "new_path": "Dependencies.txt", "diff": "gflags=2.2.2\nglog=0.4.0\nProtobuf=3.11.2\n-abseil-cpp=8ba96a8\n+abseil-cpp=20200225\nCbc=2.10.4\nCgl=0.60.3\nClp=1.17.4\n" }, { "change_type": "MODIFY", "old_path": "WORKSPACE", "new_...
C++
Apache License 2.0
google/or-tools
Bump abseil-cpp 8ba96a8 -> b832dce (LTS 20200225)
261,230
02.03.2020 15:15:37
-3,600
edb1ee13b193f3034088f5224c2d06f11eeb02d7
improve CP-SAT cuts; fix fix
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.proto", "new_path": "ortools/sat/cp_model.proto", "diff": "@@ -175,7 +175,8 @@ message ReservoirConstraintProto {\n// For now, we ignore node indices with no incident arc. All the other nodes\n// must have exactly one incoming and one outg...
C++
Apache License 2.0
google/or-tools
improve CP-SAT cuts; fix #1901; fix #1882
261,230
02.03.2020 15:15:50
-3,600
2abc2b678688598ae2ce91f1340bfda97ac0c1e4
remove warning in .NET
[ { "change_type": "MODIFY", "old_path": "ortools/util/csharp/proto.i", "new_path": "ortools/util/csharp/proto.i", "diff": "}\n}\n%typemap(out) CppProtoType {\n- const int size = $1.ByteSize();\n+ const long size = $1.ByteSizeLong();\n$result = new uint8[size + 4];\n$1.SerializeWithCachedSizesToArray(...
C++
Apache License 2.0
google/or-tools
remove warning in .NET
261,218
02.03.2020 15:31:24
-3,600
3158a67e6251616a78480d6a49312811d6336d1a
Makefile: Fix absl bump on unix
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -370,7 +370,6 @@ $(_ABSL_STATIC_LIB_DIR)libabsl_examine_stack.a \\\n$(_ABSL_STATIC_LIB_DIR)libabsl_failure_signal_handler.a \\\n$(_ABSL_STATIC_LIB_DIR)li...
C++
Apache License 2.0
google/or-tools
Makefile: Fix absl bump on unix
261,218
02.03.2020 09:46:15
-3,600
29ce9507dc4c94d0c820c2bce8f4913603ceddc7
CMake: Update deps management
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -24,6 +24,18 @@ if(BUILD_absl)\nelse()\nfind_package(absl REQUIRED)\nendif()\n+set(ABSL_DEPS\n+ absl::base\n+ absl::random_random\n+ absl::raw_hash_set\n+ absl::hash\n+ absl::memory\n+ absl::meta\n+ ...
C++
Apache License 2.0
google/or-tools
CMake: Update deps management
261,218
02.03.2020 10:02:57
-3,600
a45a75e9a4a5e657ea1368991f9f1360fc655db2
CMake: Add build examples option
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -61,6 +61,9 @@ message(STATUS \"Build Java: ${BUILD_JAVA}\")\noption(BUILD_DOTNET \"Build .NET Library\" OFF)\nmessage(STATUS \"Build .Net: ${BUILD_DOTNET}\")\n+option(BUILD_EXAMPLES \"Build examples\"...
C++
Apache License 2.0
google/or-tools
CMake: Add build examples option
261,218
02.03.2020 11:36:28
-3,600
d7b67ee2ebdd6712a4db0d0986bafccb4d1bb301
CMake: fix constraint_solver dotnet swig
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/csharp/CMakeLists.txt", "new_path": "ortools/constraint_solver/csharp/CMakeLists.txt", "diff": "set_property(SOURCE routing.i PROPERTY CPLUSPLUS ON)\nset_property(SOURCE routing.i PROPERTY SWIG_MODULE_NAME operations_research_constrai...
C++
Apache License 2.0
google/or-tools
CMake: fix constraint_solver dotnet swig
261,218
02.03.2020 11:36:57
-3,600
99516e690ef187d4b638a7bc8374567cef2138a5
CMake: Add dummy CMakeLists.txt in samples
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -170,3 +170,9 @@ include(cpp)\ninclude(python)\ninclude(java)\ninclude(dotnet)\n+\n+# Since samples mix all languages we must parse them once we have included all\n+# <language>.cmake files\n+foreach(S...
C++
Apache License 2.0
google/or-tools
CMake: Add dummy CMakeLists.txt in samples
261,218
02.03.2020 14:27:13
-3,600
56f21f5a4e35621f6b8a77bc2d022f4434d9cb00
CMake: update foreach
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -302,7 +302,7 @@ add_library(${PROJECT_NAME}::proto ALIAS ${PROJECT_NAME}_proto)\ntarget_sources(${PROJECT_NAME} PRIVATE $<TARGET_OBJECTS:${PROJECT_NAME}::proto>)\nadd_dependencies(${PROJECT_NAME} ${...
C++
Apache License 2.0
google/or-tools
CMake: update foreach
261,218
02.03.2020 14:28:36
-3,600
2404b103bd0b9cbb1cb81d7b365a1fdc75fe1dbd
CMake[.Net]: Add Signing Key support
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -63,8 +63,31 @@ list(APPEND CMAKE_SWIG_FLAGS ${FLAGS} \"-I${PROJECT_SOURCE_DIR}\")\nforeach(SUBPROJECT IN ITEMS algorithms graph linear_solver constraint_solver sat util)\nadd_subdirectory(orto...
C++
Apache License 2.0
google/or-tools
CMake[.Net]: Add Signing Key support
261,230
02.03.2020 17:26:45
-3,600
b2d959afe8044ebd1e3e1c5bbf853ae2f467e380
enable multiple rounds of cuts at the root node
[ { "change_type": "MODIFY", "old_path": "ortools/sat/linear_programming_constraint.cc", "new_path": "ortools/sat/linear_programming_constraint.cc", "diff": "@@ -1192,13 +1192,16 @@ bool LinearProgrammingConstraint::Propagate() {\nif (!SolveLp()) return true;\n// Add new constraints to the LP and reso...
C++
Apache License 2.0
google/or-tools
enable multiple rounds of cuts at the root node
261,230
03.03.2020 17:06:35
-3,600
6e4944b9e29272404bd18dab0a4ad2656a521e36
polish CP-SAT cut management code
[ { "change_type": "MODIFY", "old_path": "ortools/sat/linear_constraint_manager.cc", "new_path": "ortools/sat/linear_constraint_manager.cc", "diff": "@@ -149,7 +149,6 @@ LinearConstraintManager::ConstraintIndex LinearConstraintManager::Add(\nct_info.objective_parallelism_computed = false;\nct_info.obj...
C++
Apache License 2.0
google/or-tools
polish CP-SAT cut management code
261,218
04.03.2020 13:46:06
-3,600
e608b65e826dd5c1767b233c3a6f5310cd1c3b5e
Add generate_all_notebook.sh
[ { "change_type": "MODIFY", "old_path": "tools/export_to_ipynb.py", "new_path": "tools/export_to_ipynb.py", "diff": "+#!/usr/bin/env python3\nimport ast\nfrom nbformat import v3, v4\nimport sys\n@@ -40,7 +41,16 @@ nbook['cells'].append(v4.new_code_cell(full_text))\njsonform = v4.writes(nbook) + '\\n'...
C++
Apache License 2.0
google/or-tools
Add generate_all_notebook.sh
261,218
03.03.2020 11:55:00
-3,600
4a2e02637bd9d62b292d24b95a1ef55d469e61f3
Make: Copy orLogo.png to ${SRC_DIR}/ortools/dotnet needed for CMake since it will use ${BUILD_DIR}/dotnet
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -328,6 +328,9 @@ $(LIB_DIR)/$(OR_TOOLS_NATIVE_ASSEMBLY_NAME).$(SWIG_DOTNET_LIB_SUFFIX): \\\n$(OR_TOOLS_LNK) \\\n$(OR_TOOLS_LDFLAGS)\n+$(SRC_DIR)/ortools/dotnet/orLogo.png: $...
C++
Apache License 2.0
google/or-tools
Make: Copy orLogo.png to ${SRC_DIR}/ortools/dotnet needed for CMake since it will use ${BUILD_DIR}/dotnet
261,218
03.03.2020 11:56:54
-3,600
20c8ee05b890a126bc49f9fa54bc53d40195b7ff
CMake: fix dotnet_<targets>
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -61,9 +61,10 @@ if(USE_COINOR)\nendif()\nlist(APPEND CMAKE_SWIG_FLAGS ${FLAGS} \"-I${PROJECT_SOURCE_DIR}\")\n+set(OR_TOOLS_DOTNET Google.OrTools)\nforeach(SUBPROJECT IN ITEMS algorithms graph l...
C++
Apache License 2.0
google/or-tools
CMake: fix dotnet_<targets>
261,218
03.03.2020 11:57:54
-3,600
78175654521e616f27cbb82d016f2aaf4156fab5
CMake: Add orLogo.png & Directory.Build.props
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -67,6 +67,12 @@ foreach(SUBPROJECT IN ITEMS algorithms graph linear_solver constraint_solver sat\nlist(APPEND dotnet_native_targets dotnet_${SUBPROJECT})\nendforeach()\n+#######################...
C++
Apache License 2.0
google/or-tools
CMake: Add orLogo.png & Directory.Build.props
261,218
03.03.2020 14:52:57
-3,600
69c7295289c8bcef185415e2ef3d76ffff18a849
CMake: update foreach in cpp.cmake
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -254,13 +254,13 @@ file(GLOB_RECURSE proto_files RELATIVE ${PROJECT_SOURCE_DIR}\n# Get Protobuf include dir\nget_target_property(protobuf_dirs protobuf::libprotobuf INTERFACE_INCLUDE_DIRECTORIES)\n-f...
C++
Apache License 2.0
google/or-tools
CMake: update foreach in cpp.cmake
261,218
04.03.2020 17:46:34
-3,600
506ebe96790cd5c8e22552bbf32fb29886375637
Cmake: Update Proto comment
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -276,7 +276,7 @@ foreach(PROTO_FILE IN LISTS proto_files)\n\"--cpp_out=${PROJECT_BINARY_DIR}\"\n${PROTO_FILE}\nDEPENDS ${PROTO_FILE} protobuf::protoc\n- COMMENT \"Running C++ protocol buffer compiler...
C++
Apache License 2.0
google/or-tools
Cmake: Update Proto comment
261,218
04.03.2020 17:42:26
-3,600
bd60f60a18c4e57312ef6d34ebcecbac7303e98c
Update cmake doc
[ { "change_type": "MODIFY", "old_path": "cmake/README.md", "new_path": "cmake/README.md", "diff": "# Introduction\n<nav for=\"cmake\"> |\n<a href=\"#deps\">Dependencies</a> |\n-<a href=\"#build_cpp\">C++</a> |\n-<a href=\"#build_python\">Python</a> |\n-<a href=\"#build_dotnet\">.Net</a> |\n-<a href=\...
C++
Apache License 2.0
google/or-tools
Update cmake doc
261,218
05.03.2020 11:01:24
-3,600
f2981e11c3a94c76a534aa26e1b00e15692570e9
CMake:python: Add missing definition for swig
[ { "change_type": "MODIFY", "old_path": "ortools/algorithms/python/CMakeLists.txt", "new_path": "ortools/algorithms/python/CMakeLists.txt", "diff": "set_property(SOURCE knapsack_solver.i PROPERTY CPLUSPLUS ON)\nset_property(SOURCE knapsack_solver.i PROPERTY SWIG_MODULE_NAME pywrapknapsack_solver)\n+s...
C++
Apache License 2.0
google/or-tools
CMake:python: Add missing definition for swig
261,218
05.03.2020 11:01:42
-3,600
1287ce28a1622c5bee355c454dcd924d5c2798f7
CMake: comment debug message
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -31,10 +31,10 @@ include(utils)\nset_version(VERSION)\nproject(ortools VERSION ${VERSION} LANGUAGES CXX)\n-message(STATUS \"version: ${PROJECT_VERSION}\")\n-message(STATUS \"major: ${PROJECT_VERSION_MA...
C++
Apache License 2.0
google/or-tools
CMake: comment debug message
261,218
05.03.2020 11:01:57
-3,600
dca72db23f5d8fd8cf20fea273d12245aa243a68
CMake:cpp: cleanup
[ { "change_type": "MODIFY", "old_path": "cmake/cpp.cmake", "new_path": "cmake/cpp.cmake", "diff": "@@ -203,7 +203,9 @@ if(NOT APPLE)\nset_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})\nelse()\n# Clang don't support version x.y.z with z > 255\n- set_target_properties(${PROJE...
C++
Apache License 2.0
google/or-tools
CMake:cpp: cleanup
261,218
05.03.2020 11:31:52
-3,600
0be0fc7ddd0f2edebe8bb7c979b3bb27d3501956
CMake:Java: update
[ { "change_type": "MODIFY", "old_path": "cmake/java.cmake", "new_path": "cmake/java.cmake", "diff": "@@ -36,7 +36,7 @@ foreach(PROTO_FILE ${proto_java_files})\nOUTPUT ${PROTO_JAVA}\nCOMMAND protobuf::protoc\n\"--proto_path=${PROJECT_SOURCE_DIR}\"\n- \"--java_out=${PROJECT_BINARY_DIR}/java/com/google/...
C++
Apache License 2.0
google/or-tools
CMake:Java: update
261,218
05.03.2020 11:03:11
-3,600
c59444b07e5cb204a5e0755929efeed10dda0e37
CMake:dotnet Add definition for swig
[ { "change_type": "MODIFY", "old_path": "ortools/algorithms/csharp/CMakeLists.txt", "new_path": "ortools/algorithms/csharp/CMakeLists.txt", "diff": "set_property(SOURCE knapsack_solver.i PROPERTY CPLUSPLUS ON)\nset_property(SOURCE knapsack_solver.i PROPERTY SWIG_MODULE_NAME operations_research_algori...
C++
Apache License 2.0
google/or-tools
CMake:dotnet Add definition for swig
261,218
05.03.2020 11:30:58
-3,600
5b6079a6e5882e48757680a7d878b0ba51bb35ab
CMake:dotnet: Fix -FPIC management
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -53,18 +53,24 @@ find_program (DOTNET_CLI NAMES dotnet)\n# CMake will remove all '-D' prefix (i.e. -DUSE_FOO become USE_FOO)\n#get_target_property(FLAGS ortools::ortools COMPILE_DEFINITIONS)\ns...
C++
Apache License 2.0
google/or-tools
CMake:dotnet: Fix -FPIC management
261,218
05.03.2020 14:38:02
-3,600
8fee57d205dea265dfaa364657a853c5d39c571d
CMake: dotnet rework .Net: update runtime csproj.in
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -17,6 +17,14 @@ if(UNIX AND NOT APPLE)\nlist(APPEND CMAKE_SWIG_FLAGS \"-DSWIGWORDSIZE64\")\nendif()\n+# Setup Dotnet\n+find_program (DOTNET_EXECUTABLE NAMES dotnet)\n+if(NOT DOTNET_EXECUTABLE)\...
C++
Apache License 2.0
google/or-tools
CMake: dotnet rework .Net: update runtime csproj.in
261,218
03.03.2020 14:53:24
-3,600
8aff548fcaa8f4f1d328d42df3c0bab3d4be2d5b
Make: rename few .Net variables
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -68,12 +68,12 @@ endif\nDOTNET_ORTOOLS_SNK := $(SRC_DIR)/ortools/dotnet/or-tools.snk\nDOTNET_ORTOOLS_SNK_PATH := $(subst /,$S,$(DOTNET_ORTOOLS_SNK))\nOR_TOOLS_ASSEMBLY_NAME ...
C++
Apache License 2.0
google/or-tools
Make: rename few .Net variables
261,218
05.03.2020 14:42:01
-3,600
c81dd15a159ed97be00ca1aaebf0345aff40c4a4
Make:dotnet: add variable to csproj.in Change needed since CMake build out of the source tree i.e. path are differents
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -331,6 +331,10 @@ $(LIB_DIR)/$(OR_TOOLS_NATIVE_LIB).$(SWIG_DOTNET_LIB_SUFFIX): \\\n$(SRC_DIR)/ortools/dotnet/orLogo.png: $(SRC_DIR)/tools/doc/orLogo.png\n$(COPY) $(SRC_DIR)$...
C++
Apache License 2.0
google/or-tools
Make:dotnet: add variable to csproj.in Change needed since CMake build out of the source tree i.e. path are differents
261,218
05.03.2020 15:20:30
-3,600
15afa43e65a6d8c93f2a4c2260d7c076b21ce051
Make:dotnet: Rename NATIVE_NUPKG -> RUNTIME_NUPKG
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -73,7 +73,7 @@ OR_TOOLS_NATIVE_LIB := google-ortools-native\nOR_TOOLS_FSHARP_ASSEMBLY_NAME := $(OR_TOOLS_ASSEMBLY_NAME).FSharp\nOR_TOOLS_FSHARP_TESTS_ASSEMBLY_NAME := $(OR_T...
C++
Apache License 2.0
google/or-tools
Make:dotnet: Rename NATIVE_NUPKG -> RUNTIME_NUPKG
261,218
05.03.2020 15:37:41
-3,600
e8e0cf04251257579a380512eb8d0b013bcef275
Make:dotnet: Add few more *_DIR variables
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -393,6 +393,10 @@ $(SRC_DIR)/ortools/dotnet/$(OR_TOOLS_ASSEMBLY_NAME)/$(OR_TOOLS_ASSEMBLY_NAME).cs\nortools$Sdotnet$S$(OR_TOOLS_ASSEMBLY_NAME)$S$(OR_TOOLS_ASSEMBLY_NAME).csp...
C++
Apache License 2.0
google/or-tools
Make:dotnet: Add few more *_DIR variables
261,218
05.03.2020 15:44:09
-3,600
0052d236a9e25963b3b19939c3a1e7df98e3786d
CMake:dotnet Fix csproj generation
[ { "change_type": "MODIFY", "old_path": "cmake/dotnet.cmake", "new_path": "cmake/dotnet.cmake", "diff": "@@ -118,9 +118,6 @@ file(GENERATE OUTPUT dotnet/replace_runtime.cmake\nCONTENT\n\"FILE(READ ${PROJECT_SOURCE_DIR}/ortools/dotnet/${OR_TOOLS_DOTNET_NATIVE}/${OR_TOOLS_DOTNET_NATIVE}.csproj.in input...
C++
Apache License 2.0
google/or-tools
CMake:dotnet Fix csproj generation
261,230
05.03.2020 17:24:49
-3,600
c665f53ff2485dfb1bbef855916f37c250a414eb
[CP-SAT] improve cut management; add debugging tools; fix UNSAT bug in presolve
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_checker.cc", "new_path": "ortools/sat/cp_model_checker.cc", "diff": "@@ -975,7 +975,9 @@ class ConstraintChecker {\n} // namespace\nbool SolutionIsFeasible(const CpModelProto& model,\n- const std::vector<int64>& variable_values) {\n+ const...
C++
Apache License 2.0
google/or-tools
[CP-SAT] improve cut management; add debugging tools; fix UNSAT bug in presolve
261,218
05.03.2020 17:46:14
-3,600
2d56f40b4512a7af3a908d1e07614beed45f1b94
Sync against g3 vrp_time_windows
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/samples/VrpTimeWindows.cs", "new_path": "ortools/constraint_solver/samples/VrpTimeWindows.cs", "diff": "@@ -18,6 +18,7 @@ using System.Collections.Generic;\nusing Google.OrTools.ConstraintSolver;\n// [END import]\n+// [START program_p...
C++
Apache License 2.0
google/or-tools
Sync against g3 vrp_time_windows
261,218
06.03.2020 11:34:51
-3,600
35a85df181e662f1bfa0a3c61e5cc7ab3153cac5
CMake: add CMP0077 Avoid CMake overwriting variables by option default value e.g. without this policy `set(BUILD_DEPS ON)` will be overwrite by `option(BUILD_DEPS "..." OFF)`
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -17,6 +17,11 @@ if(POLICY CMP0076)\ncmake_policy(SET CMP0076 NEW)\nendif()\n+# option() honors normal variables.\n+if(POLICY CMP0077)\n+ cmake_policy(SET CMP0077 NEW)\n+endif()\n+\n# SWIG: use standard...
C++
Apache License 2.0
google/or-tools
CMake: add CMP0077 Avoid CMake overwriting variables by option default value e.g. without this policy `set(BUILD_DEPS ON)` will be overwrite by `option(BUILD_DEPS "..." OFF)`
261,218
06.03.2020 14:10:14
-3,600
791cd702851c7d2f19cfb60e72770c881a120b9c
Sync g3 -> github README.md
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "[github_status]: https://github.com/google/or-tools/workflows/C++%20CI/badge.svg\n[github_link]: https://github.com/google/or-tools/actions\n-\n[travis_status]: https://travis-ci.org/google/or-tools.svg?branch=mast...
C++
Apache License 2.0
google/or-tools
Sync g3 -> github README.md
261,218
06.03.2020 14:59:13
-3,600
973e7b98dad7f41167c2b07e2b2b5fbd7ff6efae
Remove uneeded patches
[ { "change_type": "DELETE", "old_path": "patches/abseil-cpp-bf29470.patch", "new_path": null, "diff": "-diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake\n-index 6d26169..5e839c5 100644\n---- a/CMake/AbseilHelpers.cmake\n-+++ b/CMake/AbseilHelpers.cmake\n-@@ -81,7 +81,11 @@ function(...
C++
Apache License 2.0
google/or-tools
Remove uneeded patches
261,218
06.03.2020 16:16:52
-3,600
0727d32aa8df1d800073a172aa511b82431e05f9
Update cmake README.md
[ { "change_type": "MODIFY", "old_path": "cmake/README.md", "new_path": "cmake/README.md", "diff": "[dotnet_win_svg]: https://github.com/google/or-tools/workflows/.Net%20Windows%20CI/badge.svg\n[dotnet_win_link]: https://github.com/google/or-tools/actions?query=workflow%3A\".Net+Windows+CI\"\n-# Intro...
C++
Apache License 2.0
google/or-tools
Update cmake README.md
261,218
06.03.2020 18:08:48
-3,600
9032f4269a2f6574a2d3862ff518977fc37d06df
Update cmake/doc/dotnet.md
[ { "change_type": "MODIFY", "old_path": "cmake/doc/dotnet.md", "new_path": "cmake/doc/dotnet.md", "diff": "@@ -127,7 +127,7 @@ We have two use case scenario:\n1. Locally, be able to build a Mizux.CMakeSwig package which **only** target the local `OS Platform`,\ni.e. building for only one\n[Runtime Id...
C++
Apache License 2.0
google/or-tools
Update cmake/doc/dotnet.md
261,218
06.03.2020 18:27:52
-3,600
df60a0fdc212d4249f5b4991e925fc59f6cc82bc
Base sync with g3
[ { "change_type": "MODIFY", "old_path": "ortools/base/map_util.h", "new_path": "ortools/base/map_util.h", "diff": "#include \"ortools/base/logging.h\"\nnamespace gtl {\n-// Perform a lookup in a map or std::unordered_map.\n+// Perform a lookup in a std::map or std::unordered_map.\n// If the key is pr...
C++
Apache License 2.0
google/or-tools
Base sync with g3
261,218
10.03.2020 15:27:52
-3,600
cf2791b72557ac3bfd1ed0588715adb1236889fd
Fix C++17 issue
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/local_search.cc", "new_path": "ortools/constraint_solver/local_search.cc", "diff": "@@ -2475,7 +2475,9 @@ void PathState::CutChains() {\nDCHECK(changed_paths_.empty());\ntail_head_indices_.clear();\nint num_changed_arcs = 0;\n- for (c...
C++
Apache License 2.0
google/or-tools
Fix C++17 issue
261,218
10.03.2020 17:48:03
-3,600
fc9553af86e00be6640d0eed442449c9da22998c
Add Dockerfile to test bazel build
[ { "change_type": "MODIFY", "old_path": ".dockerignore", "new_path": ".dockerignore", "diff": "@@ -25,8 +25,8 @@ makefiles\nMakefile\nMakefile.local\n-bazel\n-WORKSPACE\n+#bazel\n+#WORKSPACE\ndocs\nDependencies.txt\n" }, { "change_type": "ADD", "old_path": null, "new_path": "bazel/REA...
C++
Apache License 2.0
google/or-tools
Add Dockerfile to test bazel build
261,230
11.03.2020 17:53:22
-3,600
0ba997ada1b8de838cd2dfa2343bceec2cf5a1a3
speed up cut management; expand negated table constraints
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.gen.mk", "new_path": "makefiles/Makefile.gen.mk", "diff": "@@ -1068,6 +1068,7 @@ objs/algorithms/knapsack_solver.$O: ortools/algorithms/knapsack_solver.cc \\\nortools/linear_solver/linear_expr.h \\\nortools/gen/ortools/linear_solver/linear_s...
C++
Apache License 2.0
google/or-tools
speed up cut management; expand negated table constraints
261,218
12.03.2020 18:20:13
-3,600
0d6f6dddd976c5733d52495ac5ca5a5819343390
Export g3 -> gh
[ { "change_type": "MODIFY", "old_path": "ortools/bop/BUILD", "new_path": "ortools/bop/BUILD", "diff": "-\n+load(\"@rules_cc//cc:defs.bzl\", \"cc_proto_library\")\npackage(default_visibility = [\"//visibility:public\"])\n" }, { "change_type": "MODIFY", "old_path": "ortools/constraint_solve...
C++
Apache License 2.0
google/or-tools
Export g3 -> gh
261,259
19.03.2020 12:59:48
-3,600
cead10f2d2d72a77e0f787b91080897bc87d8ac8
[Python] Allow StatusName without parameters
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -1651,8 +1651,10 @@ class CpSolver(object):\n\"\"\"Returns the best lower (upper) bound found when min(max)imizing.\"\"\"\nreturn self.__solution.best_objective_bound\n-...
C++
Apache License 2.0
google/or-tools
[Python] Allow StatusName without parameters
261,230
24.03.2020 18:51:13
-3,600
702791f2e359c220b6023e96b30adfd18e926495
experimental parallel interleaved search; speed up sorted interval lists; misc cleaning of swig files
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model.proto", "new_path": "ortools/sat/cp_model.proto", "diff": "@@ -321,11 +321,11 @@ message ConstraintProto {\n// TODO(user): Remove int_min in favor of lin_min.\nIntegerArgumentProto int_min = 10;\n- // The lin_max constraint forces the targ...
C++
Apache License 2.0
google/or-tools
experimental parallel interleaved search; speed up sorted interval lists; misc cleaning of swig files
261,218
26.03.2020 18:02:07
-3,600
4109597b24ec3fc1d849671d8b5be4656fa012f0
Update CMake Doc The FetchContent module gained a new FetchContent_MakeAvailable() command. see:
[ { "change_type": "MODIFY", "old_path": "cmake/README.md", "new_path": "cmake/README.md", "diff": "@@ -150,7 +150,7 @@ added automatically to your target as needed.\n#### Using FetchContent\n-If you have `CMake >= 3.11.4` you can use the built-in module\n+If you have `CMake >= 3.14.7` you can use the...
C++
Apache License 2.0
google/or-tools
Update CMake Doc The FetchContent module gained a new FetchContent_MakeAvailable() command. see: https://cmake.org/cmake/help/v3.14/release/3.14.html#modules
261,257
26.03.2020 15:18:46
14,400
39e525fb24c9c8f1e2b1cf746f13eb6c8b014048
Add uncapacitated facility location example
[ { "change_type": "MODIFY", "old_path": "examples/cpp/BUILD", "new_path": "examples/cpp/BUILD", "diff": "@@ -489,6 +489,16 @@ cc_binary(\n],\n)\n+cc_binary(\n+ name = \"uncapacitated_facility_location\",\n+ srcs = [\"uncapacitated_facility_location.cc\"],\n+ deps = [\n+ \"//ortools/base\",\n+ \"//ort...
C++
Apache License 2.0
google/or-tools
Add uncapacitated facility location example
261,230
31.03.2020 05:21:30
25,200
e92e466ed05119cb58e3a7fe1d513ef1c1978047
fix windows compilation, add CP-SAT backend
[ { "change_type": "MODIFY", "old_path": "examples/cpp/uncapacitated_facility_location.cc", "new_path": "examples/cpp/uncapacitated_facility_location.cc", "diff": "@@ -61,7 +61,7 @@ static void UncapacitatedFacilityLocation(int32 facilities,\nconst int32 kXMax = 1000;\nconst int32 kYMax = 1000;\nconst...
C++
Apache License 2.0
google/or-tools
fix windows compilation, add CP-SAT backend
261,218
07.04.2020 18:59:25
-7,200
c320ca6b5ba8ed163f65326a66ced1be7185056e
make: Add package_cc Target
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -32,6 +32,7 @@ endif\n.PHONY: check_cc # Quick check only running C++ OR-Tools samples targets.\n.PHONY: test_cc # Run all C++ OR-Tools test targets.\n.PHONY: test_fz # Run all Fl...
C++
Apache License 2.0
google/or-tools
make: Add package_cc Target
261,251
26.04.2020 22:37:56
-10,800
ccae9029ecd43508315609d8a2e9e0317c75f83d
Fixes google/or-tools#1979
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/gurobi_proto_solver.cc", "new_path": "ortools/linear_solver/gurobi_proto_solver.cc", "diff": "@@ -274,7 +274,7 @@ util::StatusOr<MPSolutionResponse> GurobiSolveProto(\nif (gurobi) GRBfreeenv(gurobi);\nreturn util::OkStatus();\n};\n- auto ...
C++
Apache License 2.0
google/or-tools
Fixes google/or-tools#1979
261,230
27.04.2020 14:40:42
-7,200
16b5b62b857ef56771b8d0122308435430ad4982
remove half backed callback code
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/scip_interface.cc", "new_path": "ortools/linear_solver/scip_interface.cc", "diff": "#include \"ortools/base/timer.h\"\n#include \"ortools/linear_solver/linear_solver.h\"\n#include \"ortools/linear_solver/linear_solver.pb.h\"\n-#include \"...
C++
Apache License 2.0
google/or-tools
remove half backed callback code
261,230
29.04.2020 18:06:18
-7,200
0c6461cfee2a587c739e7e3bb288a541294a3ba3
fix scip support, target 7.0
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/scip_interface.cc", "new_path": "ortools/linear_solver/scip_interface.cc", "diff": "#include \"ortools/linear_solver/scip_proto_solver.h\"\n#include \"scip/cons_indicator.h\"\n#include \"scip/scip.h\"\n-#include \"scip/scip_param.h\"\n#in...
C++
Apache License 2.0
google/or-tools
fix scip support, target 7.0
261,230
04.05.2020 12:02:08
-7,200
c12634907a888c4474e5bf9e5cf68f016cf6d07d
fix issuer
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -997,8 +997,8 @@ void SolveFzWithCpModelProto(const fz::Model& fz_model,\nvar->set_name(fz_var->name);\nif (fz_var->domain.is_interval) {\nif (fz_var->do...
C++
Apache License 2.0
google/or-tools
fix issuer #1957
261,230
04.05.2020 15:02:52
-7,200
fd6485897d789debb290553dda65fb85b969f966
warn if using unbounded variables in flatzinc
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "#include \"ortools/sat/table.h\"\nDEFINE_bool(use_flatzinc_format, true, \"Output uses the flatzinc format\");\n+DEFINE_int64(fz_int_max, int64{1} << 50,\n+...
C++
Apache License 2.0
google/or-tools
warn if using unbounded variables in flatzinc
261,230
06.05.2020 18:55:46
-7,200
189c568fa7ae3d3f747a68f8275e10636d76784e
remove java warning
[ { "change_type": "MODIFY", "old_path": "ortools/util/java/proto.i", "new_path": "ortools/util/java/proto.i", "diff": "}\n}\n%typemap(out) CppProtoType {\n- std::unique_ptr<char[]> buf(new char[$1.ByteSize()]);\n+ std::unique_ptr<char[]> buf(new char[$1.ByteSizeLong()]);\n$1.SerializeWithCachedSizesT...
C++
Apache License 2.0
google/or-tools
remove java warning
261,230
06.05.2020 18:55:57
-7,200
fec626be1a57ae173d7909f814ca4a3e8e34f67d
fix link on mac
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -370,7 +370,6 @@ $(_ABSL_STATIC_LIB_DIR)libabsl_bad_variant_access.a \\\n$(_ABSL_STATIC_LIB_DIR)libabsl_city.a \\\n$(_ABSL_STATIC_LIB_DIR)libabsl_civil_t...
C++
Apache License 2.0
google/or-tools
fix link on mac
261,259
18.05.2020 00:13:03
-7,200
532635de74c83d619fe957b3fd0eca1e94ac5b99
Remove redundant isinstance
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model_helper.py", "new_path": "ortools/sat/python/cp_model_helper.py", "diff": "@@ -57,10 +57,6 @@ def CapInt64(v):\ndef CapSub(x, y):\n\"\"\"Saturated arithmetics. Returns x - y truncated to the int64 range.\"\"\"\n- if not isinstance(x,...
C++
Apache License 2.0
google/or-tools
Remove redundant isinstance
261,259
18.05.2020 21:39:47
-7,200
4ba5921aa1309e09fb8513c04f8a9e839129defd
Remove redundant CapInt64
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -285,7 +285,7 @@ class LinearExpr(object):\nif arg == INT_MIN:\nraise ArithmeticError('< INT_MIN is not supported')\nreturn BoundedLinearExpression(\n- self, [INT_MIN, c...
C++
Apache License 2.0
google/or-tools
Remove redundant CapInt64
261,230
19.05.2020 14:56:23
-7,200
a779f3f336849cd43eafb3dadd0bac70019d2a56
fix print of int64 types
[ { "change_type": "MODIFY", "old_path": "ortools/base/integral_types.h", "new_path": "ortools/base/integral_types.h", "diff": "#ifndef OR_TOOLS_BASE_INTEGRAL_TYPES_H_\n#define OR_TOOLS_BASE_INTEGRAL_TYPES_H_\n+#include <cinttypes>\n#include <cstdint>\n#include <iostream> // NOLINT\n@@ -66,7 +67,7 @@ ...
C++
Apache License 2.0
google/or-tools
fix print of int64 types
261,230
22.05.2020 11:05:40
-7,200
a3d5872f6282c79ff6eacc1f4e528be70b83c68b
fix gurobi compilation
[ { "change_type": "MODIFY", "old_path": "ortools/linear_solver/gurobi_environment.cc", "new_path": "ortools/linear_solver/gurobi_environment.cc", "diff": "@@ -29,7 +29,7 @@ absl::Status LoadGurobiEnvironment(GRBenv** env) {\n\"licensed on this machine?\";\nif (GRBloadenv(env, nullptr) != 0 || *env ==...
C++
Apache License 2.0
google/or-tools
fix gurobi compilation
261,218
28.05.2020 16:57:13
-7,200
468220a93d344c57017f9d4b0581fdc94c54be05
sat: Add AssignmentSat.cs sample
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -529,6 +529,7 @@ test_dotnet_linear_solver_samples:\n.PHONY: test_dotnet_sat_samples # Build and Run all .Net SAT Samples (located in ortools/sat/samples)\ntest_dotnet_sat_s...
C++
Apache License 2.0
google/or-tools
sat: Add AssignmentSat.cs sample
261,218
04.06.2020 17:15:34
-7,200
bcc6bd70a12e200bb8be0053b54edee86c55102d
Add AssignmentMIP samples
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -334,6 +334,7 @@ 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 AssignmentMIP samples
261,218
04.06.2020 17:15:49
-7,200
7e09eaf857bba4e6d17bcaf2ba5f91dac92dd389
Add AssignemntSAT samples
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -370,6 +370,7 @@ test_cc_constraint_solver_samples: \\\n.PHONY: test_cc_sat_samples # Build and Run all C++ Sat Samples (located in ortools/sat/samples)\ntest_cc_sat_samples: \\\n...
C++
Apache License 2.0
google/or-tools
Add AssignemntSAT samples
261,230
05.06.2020 16:11:53
-7,200
7f116079c6d68f69af0ad9707a69492760e451fb
improve file_util
[ { "change_type": "MODIFY", "old_path": "ortools/util/file_util.cc", "new_path": "ortools/util/file_util.cc", "diff": "@@ -40,15 +40,43 @@ bool ReadFileToProto(absl::string_view filename,\n// Note that gzipped files are currently not supported.\n// Try binary format first, then text format, then JSON...
C++
Apache License 2.0
google/or-tools
improve file_util
261,230
05.06.2020 16:31:40
-7,200
9e9bf9650c299cf30a8a4747313f3a186c68db0f
improve generated makefile
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.gen.mk", "new_path": "makefiles/Makefile.gen.mk", "diff": "@@ -1478,52 +1478,54 @@ objs/sat/cp_model_solver.$O: ortools/sat/cp_model_solver.cc \\\nortools/gen/ortools/sat/cp_model.pb.h ortools/sat/model.h \\\nortools/base/logging.h ortools/b...
C++
Apache License 2.0
google/or-tools
improve generated makefile