author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
261,230 | 18.04.2019 16:34:36 | -7,200 | 0d8a6aeb39c69ac8b3d10900c2703bfb7a89b67b | improve robustness of GLOP; continue rewriting of CP-SAT search internals; fix table extraction | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/matrix_utils.cc",
"new_path": "ortools/lp_data/matrix_utils.cc",
"diff": "@@ -39,13 +39,13 @@ bool AreColumnsProportional(const SparseColumn& a, const SparseColumn& b,\nconst Fractional coeff_a = a.EntryCoefficient(i);\nconst Fractional coeff_b... | C++ | Apache License 2.0 | google/or-tools | improve robustness of GLOP; continue rewriting of CP-SAT search internals; fix table extraction |
261,230 | 18.04.2019 16:44:47 | -7,200 | 506112701bcd903bda510f6d683ad74619c82774 | add indicator constraint to the linear solver with SCIP and gurobi support | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/glop_interface.cc",
"new_path": "ortools/linear_solver/glop_interface.cc",
"diff": "#include <string>\n#include <vector>\n+#include \"ortools/base/hash.h\"\n#include \"ortools/base/integral_types.h\"\n#include \"ortools/base/logging.h\"\n... | C++ | Apache License 2.0 | google/or-tools | add indicator constraint to the linear solver with SCIP and gurobi support |
261,230 | 18.04.2019 19:24:37 | -7,200 | 0ef6121de1c468e87afd835d07c81dc386a0c858 | fix one more example | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/solve.cc",
"new_path": "examples/cpp/solve.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 \"ortools/lp_data/lp_data.h\"\n-#inclu... | C++ | Apache License 2.0 | google/or-tools | fix one more example |
261,230 | 19.04.2019 18:26:29 | -7,200 | 71a85b4a0d405eb508c45c1f6c87cf7ac5341572 | more work on CP-SAT table | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.gen.mk",
"new_path": "makefiles/Makefile.gen.mk",
"diff": "@@ -23,6 +23,7 @@ BASE_DEPS = \\\n$(SRC_DIR)/ortools/base/map_util.h \\\n$(SRC_DIR)/ortools/base/mathutil.h \\\n$(SRC_DIR)/ortools/base/murmur.h \\\n+ $(SRC_DIR)/ortools/base/protobu... | C++ | Apache License 2.0 | google/or-tools | more work on CP-SAT table |
261,218 | 19.04.2019 15:43:33 | -7,200 | 4a8346f084a9a3b180fa85eb809559d080282e27 | Wrappers: Bind few RoutingIndexManager methods. | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/routing_index_manager.i",
"new_path": "ortools/constraint_solver/csharp/routing_index_manager.i",
"diff": "@@ -26,13 +26,21 @@ DEFINE_INDEX_TYPE_TYPEDEF(operations_research::RoutingNodeIndex,\n%ignoreall\n%unignore operations_r... | C++ | Apache License 2.0 | google/or-tools | Wrappers: Bind few RoutingIndexManager methods. |
261,218 | 19.04.2019 18:47:28 | -7,200 | 3bc57f1aec91a31cb9c34c7a7a6d7a69986225d6 | Add VRP with Time Limit samples | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -385,6 +385,7 @@ test_cc_constraint_solver_samples: \\\nrcc_vrp_resources \\\nrcc_vrp_starts_ends \\\nrcc_vrp_time_windows \\\n+ rcc_vrp_with_time_limit\n.PHONY: test_cc_sat_sampl... | C++ | Apache License 2.0 | google/or-tools | Add VRP with Time Limit samples |
261,230 | 22.04.2019 10:11:29 | -7,200 | 07d0207fff0845e6053ce3a653b511de0bd721c0 | silence spurrious warning; add minor presolve to abs(x) == y | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -709,6 +709,36 @@ bool PresolveIntMax(ConstraintProto* ct, PresolveContext* context) {\n}\nconst int target_ref = ct->int_max().target();\n+ // Recognized abs() enco... | C++ | Apache License 2.0 | google/or-tools | silence spurrious warning; add minor presolve to abs(x) == y |
261,230 | 22.04.2019 10:18:07 | -7,200 | 3bd59058dac12e2ec652facfcda4e57dbfe171fd | silence spurrious warning | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -3974,7 +3974,7 @@ void RemoveUnusedEquivalentVariables(PresolveContext* context) {\n&domain_modified)) {\nreturn;\n}\n- if (domain_modified) {\n+ if (domain_modifie... | C++ | Apache License 2.0 | google/or-tools | silence spurrious warning |
261,218 | 23.04.2019 16:07:03 | -7,200 | 9728fd0b95859c059539e567b855bde54a6e1262 | C#: Fix missing BOP_INTEGER_PROGRAMMING Enum | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/csharp/linear_solver.i",
"new_path": "ortools/linear_solver/csharp/linear_solver.i",
"diff": "@@ -85,6 +85,7 @@ VECTOR_AS_CSHARP_ARRAY(double, double, double, MpDoubleVector);\n%unignore operations_research::MPSolver::GUROBI_MIXED_INTEGER... | C++ | Apache License 2.0 | google/or-tools | C#: Fix missing BOP_INTEGER_PROGRAMMING Enum |
261,218 | 23.04.2019 13:16:20 | -7,200 | be0fbf9bee35704760991b26f627c4d91cf055a0 | Update LP test | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/LinearSolverTests.cs",
"new_path": "examples/tests/LinearSolverTests.cs",
"diff": "@@ -228,6 +228,131 @@ namespace Google.OrTools.Tests {\nAssert.Equal(-2.0, solver.Objective().GetCoefficient(y));\nAssert.True(solver.Objective().Minimization());... | C++ | Apache License 2.0 | google/or-tools | Update LP test |
261,218 | 19.04.2019 19:40:21 | -7,200 | 7f45691e0b29e68f630ce5d24ce5c54d11aa003e | Fix scip_interface.cc | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/canonical_errors.h",
"new_path": "ortools/base/canonical_errors.h",
"diff": "namespace util {\n+inline Status InternalError(const std::string& message) {\n+ return Status(error::INTERNAL, message);\n+}\n+\ninline Status InvalidArgumentError(const ... | C++ | Apache License 2.0 | google/or-tools | Fix scip_interface.cc |
261,218 | 18.04.2019 15:38:21 | -7,200 | 3c0dd832c99c2f7acf5e53a1a669331590c664b2 | Make: Bump SCIP 6.0.0 -> 6.0.1
now suppose you just built SCIP optimization suite using CMake-based build
e.g.:
cmake -H. -Bbuild -DSHARED=OFF -DGMP=OFF -DGCG=OFF -DCMAKE_INSTALL_PREFIX=...
cmake --build build
cmake --build build --target install
make cc UNIX_SCIP_DIR=... | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.unix.mk",
"new_path": "makefiles/Makefile.unix.mk",
"diff": "@@ -127,12 +127,9 @@ ifeq ($(PLATFORM),LINUX)\nGLPK_LNK = $(UNIX_GLPK_DIR)/lib/libglpk.a\nendif\nifdef UNIX_SCIP_DIR\n- SCIP_ARCH = linux.x86_64.gnu.opt\nSCIP_LNK = \\\n$(UNIX_SCIP... | C++ | Apache License 2.0 | google/or-tools | Make: Bump SCIP 6.0.0 -> 6.0.1
- now suppose you just built SCIP optimization suite using CMake-based build
e.g.:
cmake -H. -Bbuild -DSHARED=OFF -DGMP=OFF -DGCG=OFF -DCMAKE_INSTALL_PREFIX=...
cmake --build build
cmake --build build --target install
make cc UNIX_SCIP_DIR=... |
261,230 | 24.04.2019 10:53:27 | -7,200 | 685c63e7e6fd907a78640a5fecbadee2be9f7f8c | change shift scheduling example to use 8 workers | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/ShiftSchedulingSat.cs",
"new_path": "examples/dotnet/ShiftSchedulingSat.cs",
"diff": "@@ -284,6 +284,7 @@ public class ShiftSchedulingSat\n// Solve model\nvar solver = new CpSolver();\n+ solver.StringParameters = \"num_search_workers:8\";\nvar ... | C++ | Apache License 2.0 | google/or-tools | change shift scheduling example to use 8 workers |
261,230 | 24.04.2019 11:56:53 | -7,200 | 042aa71db817c0edede71e1e578c46ed1a055a89 | fix CP-SAT python test | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -555,7 +555,7 @@ class CpModelTest(object):\nsolver = cp_model.CpSolver()\nsolution_counter = SolutionCounter()\nstatus = solver.SearchForAllSolutions(model, solution_... | C++ | Apache License 2.0 | google/or-tools | fix CP-SAT python test |
261,218 | 24.04.2019 12:45:32 | -7,200 | 18ab29de6f9ee6afdec711f16fddb93d669ca87d | Fix vrp_with_time_limit | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/samples/vrp_with_time_limit.py",
"new_path": "ortools/constraint_solver/samples/vrp_with_time_limit.py",
"diff": "@@ -111,7 +111,7 @@ def main():\n# Print solution on console.\n# [START print_solution]\nif solution:\n- print_solution(... | C++ | Apache License 2.0 | google/or-tools | Fix vrp_with_time_limit |
261,230 | 24.04.2019 17:24:04 | -7,200 | 85beaa9d982af47cb855572c9b929fb6b3dc8763 | try to fix solve.cc bad optimization on mac | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -480,7 +480,7 @@ test_cc_cpp: \\\n# $(MAKE) run SOURCE=examples/cpp/frequency_assignment_problem.cc # Need data file\n# $(MAKE) run SOURCE=examples/cpp/pdptw.cc ARGS=\"--pdp_file ... | C++ | Apache License 2.0 | google/or-tools | try to fix solve.cc bad optimization on mac |
261,230 | 24.04.2019 17:59:42 | -7,200 | a6d3161bc7bfd6adbbe0a658641c098e199ebedf | remove hack on mac/solve.cc after code move | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -480,7 +480,7 @@ test_cc_cpp: \\\n# $(MAKE) run SOURCE=examples/cpp/frequency_assignment_problem.cc # Need data file\n# $(MAKE) run SOURCE=examples/cpp/pdptw.cc ARGS=\"--pdp_file ... | C++ | Apache License 2.0 | google/or-tools | remove hack on mac/solve.cc after code move |
261,230 | 24.04.2019 21:05:54 | -7,200 | 99bbbfce9a510d419928ef89f5122b7a982c1933 | remove isnan() test on integer | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/mps_reader.cc",
"new_path": "ortools/lp_data/mps_reader.cc",
"diff": "@@ -987,9 +987,6 @@ util::StatusOr<bool> MPSReaderAux::GetBoolFromString(const std::string& str) {\nreturn InvalidArgumentError(\nabsl::StrCat(\"Failed to convert \\\"\", str... | C++ | Apache License 2.0 | google/or-tools | remove isnan() test on integer |
261,218 | 25.04.2019 10:00:21 | -7,200 | b40d6b59e3bf7fc2c2c103a543a556eff8b75626 | Fix windows linear_solver.cc
Windows error
```
make cc
...
cl ...\\linear_solver.obj linear_solver.cc
.\\ortools\\linear_solver\\linear_solver.cc(466): error C2131: expression did not evaluate to a constant
dependencies\\install\\include\absl/strings/string_view.h(186): note: a non-constant (sub-)expression was encountered
```
see: | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/linear_solver.cc",
"new_path": "ortools/linear_solver/linear_solver.cc",
"diff": "@@ -463,7 +463,12 @@ struct NamedOptimizationProblemType {\n};\n} // namespace\n-constexpr NamedOptimizationProblemType kOptimizationProblemTypeNames[] = {\... | C++ | Apache License 2.0 | google/or-tools | Fix windows linear_solver.cc
Windows error
```
make cc
...
cl ...\\linear_solver.obj linear_solver.cc
.\\ortools\\linear_solver\\linear_solver.cc(466): error C2131: expression did not evaluate to a constant
dependencies\\install\\include\absl/strings/string_view.h(186): note: a non-constant (sub-)expression was encountered
```
see: https://ci.appveyor.com/project/lperron/or-tools-98u1n/builds/24076151/job/orlns0nwbidxytry#L4312 |
261,230 | 25.04.2019 13:57:33 | -7,200 | 8b5076502b55a6d49dd42943d59d99b153b6457a | rename MPSReaderAux to MPSReaderImpl | [
{
"change_type": "MODIFY",
"old_path": "ortools/lp_data/mps_reader.cc",
"new_path": "ortools/lp_data/mps_reader.cc",
"diff": "namespace operations_research {\nnamespace glop {\n-class MPSReaderAux {\n+class MPSReaderImpl {\npublic:\n- MPSReaderAux();\n+ MPSReaderImpl();\n// Parses instance from a fi... | C++ | Apache License 2.0 | google/or-tools | rename MPSReaderAux to MPSReaderImpl |
261,230 | 26.04.2019 09:48:52 | -7,200 | 6daa710a8eaa80fa577247c079aafa18b1931909 | add multi thread support for CBC | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/cbc_interface.cc",
"new_path": "ortools/linear_solver/cbc_interface.cc",
"diff": "@@ -53,6 +53,14 @@ class CBCInterface : public MPSolverInterface {\n// Sets the optimization direction (min/max).\nvoid SetOptimizationDirection(bool maximi... | C++ | Apache License 2.0 | google/or-tools | add multi thread support for CBC |
261,218 | 26.04.2019 11:22:25 | -7,200 | c14296c6ef4e6bd03d787c8fc59cec1a99024c2f | Windows: remove unneeded scip.dll copy | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -190,9 +190,6 @@ $(OR_TOOLS_LIBS): \\\n$(CP_LIB_OBJS) \\\n$(DEPENDENCIES_LNK) \\\n$(LDFLAGS)\n-ifdef WINDOWS_SCIP_DIR\n- $(COPY) $(WINDOWS_SCIP_DIR)$Sbin$Sscip.dll $(BIN_DIR)\n-en... | C++ | Apache License 2.0 | google/or-tools | Windows: remove unneeded scip.dll copy |
261,230 | 26.04.2019 12:47:42 | -7,200 | f956f2ea1c2db2c101bcb73a57d75f6d76585562 | fix cbc threads | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/cbc_interface.cc",
"new_path": "ortools/linear_solver/cbc_interface.cc",
"diff": "@@ -383,10 +383,10 @@ MPSolver::ResultStatus CBCInterface::Solve(const MPSolverParameters& param) {\n// Special way to set the relative MIP gap parameter as... | C++ | Apache License 2.0 | google/or-tools | fix cbc threads |
261,230 | 26.04.2019 16:06:25 | -7,200 | e49f50d4b90f168e91d91adb9c9d38cb207c8175 | internal fixes; move CP-SAT code around | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/routing.cc",
"new_path": "ortools/constraint_solver/routing.cc",
"diff": "@@ -691,7 +691,6 @@ RoutingModel::RoutingModel(const RoutingIndexManager& index_manager,\nconst int64 size = Size();\nindex_to_pickup_index_pairs_.resize(size);... | C++ | Apache License 2.0 | google/or-tools | internal fixes; move CP-SAT code around |
261,218 | 29.04.2019 10:59:49 | -7,200 | d81a88db3be6260ff5353c947c787e4c07eedf79 | Appveyor: try to speed up the build
try to compile "lang" without running `make third_party` first | [
{
"change_type": "MODIFY",
"old_path": ".appveyor.yml",
"new_path": ".appveyor.yml",
"diff": "@@ -48,7 +48,7 @@ before_build:\n- set \"JAVA_HOME=C:\\Program Files\\Java\\jdk11\"\n- set \"PATH=C:\\Program Files\\Java\\jdk11\\bin;%PATH%\"\n- java -version\n- - if \"%BUILDER%\"==\"cmake\" set CMAKE_BUI... | C++ | Apache License 2.0 | google/or-tools | Appveyor: try to speed up the build
- try to compile "lang" without running `make third_party` first |
261,218 | 29.04.2019 17:48:57 | -7,200 | 4ba3a18b31464c83fab94abc3c5d930e3897e376 | Makefile: fix dependency copy in python package on centos
may be installed in lib64 | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -1025,10 +1025,10 @@ ifneq ($(SYSTEM),win)\ncp $(OR_TOOLS_LIBS) $(PYPI_ARCHIVE_TEMP_DIR)/ortools/ortools/.libs\nendif\nifeq ($(UNIX_GFLAGS_DIR),$(OR_TOOLS_TOP)/dependencies/... | C++ | Apache License 2.0 | google/or-tools | Makefile: fix dependency copy in python package on centos
may be installed in lib64 |
261,218 | 29.04.2019 17:47:28 | -7,200 | 6b1dce44bb71791eabfa8c5288875d53b2c1eafd | Makefile: Add python_package/ test_python_package target | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -1019,8 +1019,9 @@ $(PYPI_ARCHIVE_TEMP_DIR)/ortools/ortools/.libs: | $(PYPI_ARCHIVE_TEMP_DIR)/ortoo\n-$(MKDIR) $(PYPI_ARCHIVE_TEMP_DIR)$Sortools$Sortools$S.libs\nifneq ($(PY... | C++ | Apache License 2.0 | google/or-tools | Makefile: Add python_package/ test_python_package target |
261,230 | 30.04.2019 17:46:53 | -7,200 | 70ae339c2d47325e4e2bd244e12d39bb61194629 | scheduling example with calendar | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "ortools/sat/samples/scheduling_with_calendar_sample_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 with the License.\n+... | C++ | Apache License 2.0 | google/or-tools | scheduling example with calendar |
261,218 | 29.04.2019 17:56:12 | -7,200 | 3f0a13ca47bfc6d41e0ddf5c234d4fb0de9a2a49 | Docker: Update manylinux package generation (Fix | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/build-manylinux1.sh",
"new_path": "tools/docker/build-manylinux1.sh",
"diff": "# BUILD_ROOT if not specified at command line, this value is used as the\n# root path for the build process.\nset -x\n-set -e\n+set -eo pipefail\nDEFAULT_BUILD_ROOT=\"$... | C++ | Apache License 2.0 | google/or-tools | Docker: Update manylinux package generation (Fix #1218) |
261,230 | 30.04.2019 22:12:57 | -7,200 | 3d24c91fd08dffdf458da1076d80f5b85ddbdd7f | correctly type default value in sat_parameters.proto | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/sat_parameters.proto",
"new_path": "ortools/sat/sat_parameters.proto",
"diff": "@@ -78,7 +78,7 @@ message SatParameters {\n// A number between 0 and 1 that indicates the proportion of branching\n// variables that are selected randomly instead of ch... | C++ | Apache License 2.0 | google/or-tools | correctly type default value in sat_parameters.proto |
261,230 | 01.05.2019 22:22:22 | -7,200 | 263ee25a0a3b4835844fc66c403dd2fba09d25e6 | add interval with break sample to the doc | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/scheduling.md",
"new_path": "ortools/sat/doc/scheduling.md",
"diff": "@@ -579,13 +579,12 @@ number of other intervals that precede it.\n```python\n\"\"\"Code sample to demonstrates how to rank intervals.\"\"\"\n-from __future__ import absolute_... | C++ | Apache License 2.0 | google/or-tools | add interval with break sample to the doc |
261,230 | 01.05.2019 23:17:57 | -7,200 | 4a38fcfa4a03cd3d9de1d02ad42645da5081ea76 | Add cp_model.DomainFromValues/DomainFromIntervals to the CP-SAT python API | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -37,6 +37,18 @@ class CpModelTest(object):\nif not a:\nprint('Error:', msg)\n+ def testDomainFromValues(self):\n+ print('testDomainFromValues')\n+ model = cp_model.CpM... | C++ | Apache License 2.0 | google/or-tools | Add cp_model.DomainFromValues/DomainFromIntervals to the CP-SAT python API |
261,218 | 03.05.2019 14:31:29 | -7,200 | 7bd958efce830997accb9ceba1c9a8089e6dead8 | Fix python sat SWIG | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -375,6 +375,8 @@ $(GEN_DIR)/ortools/sat/pywrapsat.py: \\\n-o $(GEN_PATH)$Sortools$Ssat$Ssat_python_wrap.cc \\\n-module pywrapsat \\\n$(SRC_DIR)/ortools/sat$Spython$Ssat.i\n+... | C++ | Apache License 2.0 | google/or-tools | Fix python sat SWIG |
261,218 | 03.05.2019 16:41:26 | -7,200 | a553317bbfe8005665722eaf2c2a98dc1079c066 | C#: Bump protobuf to 3.7.0 | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/Google.OrTools.runtime.linux-x64/Google.OrTools.runtime.linux-x64.csproj.in",
"new_path": "ortools/dotnet/Google.OrTools.runtime.linux-x64/Google.OrTools.runtime.linux-x64.csproj.in",
"diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Inclu... | C++ | Apache License 2.0 | google/or-tools | C#: Bump protobuf to 3.7.0 |
261,230 | 03.05.2019 17:02:54 | -7,200 | 5612eb19e11011a8038ab6905c1ebc59b6586d00 | output C# array in SWIG for CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -323,6 +323,7 @@ $(DOTNET_ORTOOLS_NATIVE_NUPKG): \\\n$(SRC_DIR)/ortools/sat/csharp/Constraints.cs \\\n$(SRC_DIR)/ortools/sat/csharp/CpModel.cs \\\n$(SRC_DIR)/ortools/sat/csh... | C++ | Apache License 2.0 | google/or-tools | output C# array in SWIG for CP-SAT |
261,218 | 03.05.2019 17:36:36 | -7,200 | 269e85bf015e2aa01f435e43d580f4747310443f | C#: Fix Sat <long long>/<int64> compilation | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -265,6 +265,8 @@ $(GEN_DIR)/ortools/sat/sat_csharp_wrap.cc: \\\n-dllimport \"$(OR_TOOLS_NATIVE_ASSEMBLY_NAME).$(SWIG_DOTNET_LIB_SUFFIX)\" \\\n-outdir $(GEN_PATH)$Sortools$Ss... | C++ | Apache License 2.0 | google/or-tools | C#: Fix Sat <long long>/<int64> compilation |
261,218 | 03.05.2019 17:56:39 | -7,200 | 6fd7d5de731630768af10f30b7e40e168f74f23f | Java: fix sat Domain::fromValue
SWIG long long vs int64 | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.java.mk",
"new_path": "makefiles/Makefile.java.mk",
"diff": "@@ -184,6 +184,8 @@ $(GEN_DIR)/ortools/sat/sat_java_wrap.cc: \\\n-module main \\\n-outdir $(GEN_PATH)$Scom$Sgoogle$Sortools$Ssat \\\n$(SRC_DIR)$Sortools$Ssat$Sjava$Ssat.i\n+ $(SED)... | C++ | Apache License 2.0 | google/or-tools | Java: fix sat Domain::fromValue
SWIG long long vs int64 |
261,230 | 03.05.2019 22:41:25 | -7,200 | 2554d90e87e131d1413e3743fcf14075ad38138f | Wrap the C++ Domain class in Python, Java, C#; use it in IntVar and in AddXXXInDomain methods; change examples | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -40,14 +40,14 @@ class CpModelTest(object):\ndef testDomainFromValues(self):\nprint('testDomainFromValues')\nmodel = cp_model.CpModel()\n- d = model.DomainFromValues([... | C++ | Apache License 2.0 | google/or-tools | Wrap the C++ Domain class in Python, Java, C#; use it in IntVar and in AddXXXInDomain methods; change examples |
261,230 | 03.05.2019 22:48:03 | -7,200 | 17f9b75fb28679039fb02c105cf9519bf14acd6e | hide one method in swig | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/java/sat.i",
"new_path": "ortools/sat/java/sat.i",
"diff": "@@ -88,7 +88,7 @@ PROTO2_RETURN(operations_research::sat::CpSolverResponse,\n%rename (min) operations_research::Domain::Min;\n%rename (max) operations_research::Domain::Max;\n%unignore ope... | C++ | Apache License 2.0 | google/or-tools | hide one method in swig |
261,230 | 04.05.2019 16:56:42 | -7,200 | 75aacc45f15a80ea4c40859c94d6da1fed191538 | wrap C++ Domain class in CP-SAT Java/Python/C#; use it in NewIntVarFromDomain API, remove FromValues and FromIntervals API | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -70,54 +70,6 @@ public class CpModel {\nreturn new IntVar(modelBuilder, new Domain(lb, ub), name);\n}\n- /**\n- * Creates an integer variable w... | C++ | Apache License 2.0 | google/or-tools | wrap C++ Domain class in CP-SAT Java/Python/C#; use it in NewIntVarFromDomain API, remove FromValues and FromIntervals API |
261,230 | 04.05.2019 19:16:08 | -7,200 | e59073c45f054867ef4c80c99db94d985c9b5679 | tweak code sample | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/doc/integer_arithmetic.md",
"new_path": "ortools/sat/doc/integer_arithmetic.md",
"diff": "@@ -944,8 +944,10 @@ public class StepFunctionSampleSat\nILiteral b2 = model.NewBoolVar(\"b2\");\nmodel.AddSumInDomain(\nnew IntVar[] { x },\n- Domain.FromFla... | C++ | Apache License 2.0 | google/or-tools | tweak code sample |
261,230 | 05.05.2019 15:18:52 | -7,200 | c1e61773b66edfde84d6ab371bba979716f95a08 | fix domains and swig | [
{
"change_type": "MODIFY",
"old_path": "bazel/glpk.BUILD",
"new_path": "bazel/glpk.BUILD",
"diff": "cc_library(\nname = \"glpk\",\nsrcs = glob([\n- \"glpk-4.52/src/*.c\",\n- \"glpk-4.52/src/*/*.c\",\n- \"glpk-4.52/src/*.h\",\n- \"glpk-4.52/src/*/*.h\",\n- ], exclude = [\"glpk-4.52/src/proxy/main.c\"... | C++ | Apache License 2.0 | google/or-tools | fix domains and swig |
261,230 | 05.05.2019 18:02:49 | -7,200 | 0490fe5337ec22573772862353ac68be089d4c9e | fix degeneracy data | [
{
"change_type": "MODIFY",
"old_path": "or-tools.code-workspace",
"new_path": "or-tools.code-workspace",
"diff": "\"editor.tabSize\": 4,\n},\n\"java.configuration.updateBuildConfiguration\": \"interactive\",\n+ \"maven.view\": \"hierarchical\",\n}\n}\n\\ No newline at end of file\n"
},
{
"ch... | C++ | Apache License 2.0 | google/or-tools | fix degeneracy data |
261,230 | 05.05.2019 20:04:25 | -7,200 | 5cd117593349be7c42177243cbf2b766c4553050 | polish swig declarations | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/sat.i",
"new_path": "ortools/sat/csharp/sat.i",
"diff": "@@ -108,9 +108,9 @@ MATRIX_AS_CSHARP_ARRAY(int64, int64, long, SatInt64VectorVector);\n%feature(\"nodirector\") operations_research::sat::SolutionCallback::WallTime;\n%unignore operati... | C++ | Apache License 2.0 | google/or-tools | polish swig declarations |
261,218 | 06.05.2019 08:15:23 | -7,200 | 00a5373de964fd49caf55112d52d110898f88904 | CPLEX: Blind fix | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.win.mk",
"new_path": "makefiles/Makefile.win.mk",
"diff": "@@ -124,7 +124,7 @@ endif\nifdef WINDOWS_CPLEX_DIR\nCPLEX_INC = /I\"$(WINDOWS_CPLEX_DIR)\\\\include\" /DUSE_CPLEX\nCPLEX_SWIG = -I\"$(WINDOWS_CPLEX_DIR)/include\" -DUSE_CPLEX\n- STAT... | C++ | Apache License 2.0 | google/or-tools | CPLEX: Blind fix #1248 |
261,218 | 06.05.2019 09:16:35 | -7,200 | 011cce9dd173e848f94ded771425bdb8206ea323 | .Net: Add .proto to Google.OrTools (Fix | [
{
"change_type": "MODIFY",
"old_path": "ortools/dotnet/Google.OrTools/Google.OrTools.csproj.in",
"new_path": "ortools/dotnet/Google.OrTools/Google.OrTools.csproj.in",
"diff": "Condition=\"!Exists('@(RuntimeLinux)') AND !Exists('@(RuntimeOsx)') AND !Exists('@(RuntimeWin)')\" />\n</Target>\n+ <!-- Cop... | C++ | Apache License 2.0 | google/or-tools | .Net: Add .proto to Google.OrTools (Fix #1190) |
261,230 | 06.05.2019 10:31:03 | -7,200 | cd6bf20fe53e2308c3546b6cb35f018250e727da | mostly reindent of examples | [
{
"change_type": "MODIFY",
"old_path": "examples/cpp/jobshop_sat.cc",
"new_path": "examples/cpp/jobshop_sat.cc",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-#include <cmath>\n-\n#include <algorithm>\n+#include <cmath>\n#include... | C++ | Apache License 2.0 | google/or-tools | mostly reindent of examples |
261,230 | 06.05.2019 12:55:30 | -7,200 | a70ed70563ea2c2bf747de3c617528b155ed43e0 | remove the need for IntArrayHelper.cs; support conversion from type[][] and type[,] to std::vector<std::vector<type>> in C# | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.dotnet.mk",
"new_path": "makefiles/Makefile.dotnet.mk",
"diff": "@@ -310,7 +310,6 @@ $(SRC_DIR)/ortools/dotnet/$(OR_TOOLS_NATIVE_ASSEMBLY_NAME)/$(OR_TOOLS_NATIVE_ASS\n$(DOTNET_ORTOOLS_NATIVE_NUPKG): \\\n$(LIB_DIR)/$(OR_TOOLS_NATIVE_ASSEMBLY_... | C++ | Apache License 2.0 | google/or-tools | remove the need for IntArrayHelper.cs; support conversion from type[][] and type[,] to std::vector<std::vector<type>> in C# |
261,230 | 06.05.2019 13:20:58 | -7,200 | 70574490baa10e6038ac30fec96e98381c0f91cb | more cleanup in routing/CP C# | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/IntArrayHelper.cs",
"new_path": "ortools/constraint_solver/csharp/IntArrayHelper.cs",
"diff": "@@ -25,184 +25,4 @@ public static class IntArrayHelper {\n}\n}\n-public partial class CpIntVector: IDisposable, System.Collections.I... | C++ | Apache License 2.0 | google/or-tools | more cleanup in routing/CP C# |
261,230 | 06.05.2019 16:47:58 | -7,200 | 2594fa858de53166165152a37de76c7ea39f2546 | mimic C++ linear API in java for CP-SAT | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -129,29 +129,15 @@ public class CpModel {\n// Linear constraints.\n- /** Add {@code lb <= sum(vars) <= ub}. */\n- public Constraint addSumConst... | C++ | Apache License 2.0 | google/or-tools | mimic C++ linear API in java for CP-SAT |
261,218 | 06.05.2019 15:35:46 | -7,200 | 7650a85b511c108e7e0e52ca55dd97fc421cf759 | Python: Fix SWIG 4.0 (Fix
need to use `-nofastunpack` | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -244,7 +244,7 @@ $(GEN_DIR)/ortools/constraint_solver/pywrapcp.py: \\\n$(CP_LIB_OBJS) \\\n$(PROTOBUF_PYTHON_DESC) \\\n| $(GEN_DIR)/ortools/constraint_solver\n- $(SWIG_BINARY... | C++ | Apache License 2.0 | google/or-tools | Python: Fix SWIG 4.0 (Fix #1247)
- need to use `-nofastunpack` |
261,218 | 07.05.2019 11:30:43 | -7,200 | d8ca1d48d3c85a6f16e30da2f814630dbfdb3cdb | .Net: Fix IntTupleSet.cs | [
{
"change_type": "MODIFY",
"old_path": "ortools/constraint_solver/csharp/constraint_solver.i",
"new_path": "ortools/constraint_solver/csharp/constraint_solver.i",
"diff": "@@ -28,7 +28,6 @@ using System.Collections.Generic;\n%include \"std_string.i\"\n%include \"ortools/base/base.i\"\n-%include \"or... | C++ | Apache License 2.0 | google/or-tools | .Net: Fix IntTupleSet.cs |
261,218 | 07.05.2019 11:32:34 | -7,200 | bf800d123c1c54fd1aa52d23a1b2a30a228cff5b | Fix copy of dependencies libraries
On Centos 7 dependencies libraries are installed in lib64 not lib | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -622,12 +622,12 @@ install_libortools: $(OR_TOOLS_LIBS) install_ortools_dirs\ninstall_third_party: install_dirs\nifeq ($(UNIX_GFLAGS_DIR),$(OR_TOOLS_TOP)/dependencies/install)\n$(... | C++ | Apache License 2.0 | google/or-tools | Fix copy of dependencies libraries
- On Centos 7 dependencies libraries are installed in lib64 not lib |
261,218 | 07.05.2019 12:02:41 | -7,200 | f431c7c8a040af3e34e9b791f2b186cb6a04fad7 | Cleanup releasing tools
crash when DOTNET_SNK is not defined | [
{
"change_type": "MODIFY",
"old_path": "tools/docker/Makefile",
"new_path": "tools/docker/Makefile",
"diff": "@@ -280,7 +280,7 @@ clean_python:\ntargets = $(addprefix distclean_, $(DISTROS))\n.PHONY: distclean $(targets) distclean_python\n-distclean: $(targets) distclean_python | export\n+distclean:... | C++ | Apache License 2.0 | google/or-tools | Cleanup releasing tools
- crash when DOTNET_SNK is not defined |
261,218 | 07.05.2019 13:40:05 | -7,200 | 0354c504e9e17ee15efd36206b4869dc3dfd4ba7 | Fixup release script | [
{
"change_type": "MODIFY",
"old_path": "tools/release/build_delivery_mac.sh",
"new_path": "tools/release/build_delivery_mac.sh",
"diff": "set -x\nset -e\n-if [ -n $DOTNET_SNK ]; then\n+if [ ! -f \"$DOTNET_SNK\" ]; then\necho \"DOTNET_SNK: not found !\" | tee build.log\nexit 1\nfi\n"
},
{
"ch... | C++ | Apache License 2.0 | google/or-tools | Fixup release script |
261,218 | 07.05.2019 13:40:17 | -7,200 | 9ef484e5c1a502ce73bab3d70347a5d041ddb75d | Fix python packaging | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -880,18 +880,18 @@ ifeq ($(UNIX_GFLAGS_DIR),$(OR_TOOLS_TOP)/dependencies/install)\nendif\nifeq ($(UNIX_GLOG_DIR),$(OR_TOOLS_TOP)/dependencies/install)\nifeq ($(PLATFORM),MAC... | C++ | Apache License 2.0 | google/or-tools | Fix python packaging |
261,218 | 07.05.2019 17:55:34 | -7,200 | dc7899783e4b85d8604aa04810dbd4fdcbe4c8ca | .Net: fix few contrib samples | [
{
"change_type": "MODIFY",
"old_path": "examples/contrib/fsknapsack.fs",
"new_path": "examples/contrib/fsknapsack.fs",
"diff": "@@ -16,7 +16,10 @@ limitations under the License.\nopen Google.OrTools.FSharp\nlet profits = [ 360L; 83L; 59L; 130L; 431L; 67L; 230L; 52L; 93L; 125L; 670L; 892L; 600L; 38L;... | C++ | Apache License 2.0 | google/or-tools | .Net: fix few contrib samples |
261,230 | 08.05.2019 11:05:33 | -7,200 | beef2334cbef3c317232bd88bbfe5e7154aa4374 | separate sorted_interval_list.i from sat.i in the python CP-SAT wrapping | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -43,6 +43,7 @@ PYCP_LIBS = $(LIB_DIR)/_pywrapcp.$(SWIG_PYTHON_LIB_SUFFIX)\nPYLP_LIBS = $(LIB_DIR)/_pywraplp.$(SWIG_PYTHON_LIB_SUFFIX)\nPYSAT_LIBS = $(LIB_DIR)/_pywrapsat.$(S... | C++ | Apache License 2.0 | google/or-tools | separate sorted_interval_list.i from sat.i in the python CP-SAT wrapping |
261,230 | 08.05.2019 15:24:06 | -7,200 | bf7e915664fb7391270f9d82fbacb4c6f06735b4 | fix C# example | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/BalanceGroupSat.cs",
"new_path": "examples/dotnet/BalanceGroupSat.cs",
"diff": "@@ -73,14 +73,14 @@ public class BalanceGroupSat\nforeach (var @group in allGroups)\n{\nvar itemsInGroup = allItems.Select(x => itemInGroup[x, @group]).ToArray();\n... | C++ | Apache License 2.0 | google/or-tools | fix C# example |
261,218 | 08.05.2019 16:52:23 | -7,200 | aa00d5b04f2803c82eb97502db0340bf3b81cba8 | fix typo in python.mk | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -1094,7 +1094,7 @@ ifeq ($(UNIX_CBC_DIR),$(OR_TOOLS_TOP)/dependencies/install)\nendif\ncd $(PYPI_ARCHIVE_TEMP_DIR)$Sortools && \"$(PYTHON_EXECUTABLE)\" setup.py bdist_wheel\... | C++ | Apache License 2.0 | google/or-tools | fix typo in python.mk |
261,218 | 08.05.2019 22:40:53 | -7,200 | f3fd201e68cf75b7720ff5c3cadc599a1d02b54b | Make: Fix archive target | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -632,7 +632,7 @@ endif\nifeq ($(UNIX_PROTOBUF_DIR),$(OR_TOOLS_TOP)/dependencies/install)\n$(COPYREC) dependencies$Sinstall$Sinclude$Sgoogle \"$(DESTDIR)$(prefix)$Sinclude\"\n$(COP... | C++ | Apache License 2.0 | google/or-tools | Make: Fix archive target |
261,230 | 10.05.2019 14:23:28 | -7,200 | aeec2312d7aecd30172b6e3d4e51e497da5ec383 | fix missing export methods in python | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/python/linear_solver.i",
"new_path": "ortools/linear_solver/python/linear_solver.i",
"diff": "@@ -91,6 +91,22 @@ from ortools.linear_solver.linear_solver_natural_api import VariableExpr\nreturn error_message;\n}\n+ std::string ExportModel... | C++ | Apache License 2.0 | google/or-tools | fix missing export methods in python |
261,218 | 10.05.2019 22:51:10 | -7,200 | 41771355367f1091b996e538f1b08acac17daed4 | Add knapsack sample | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.cpp.mk",
"new_path": "makefiles/Makefile.cpp.mk",
"diff": "@@ -345,6 +345,7 @@ rcc_%: $(BIN_DIR)/%$E FORCE\n.PHONY: test_cc_algorithms_samples # Build and Run all C++ Algorithms Samples (located in ortools/algorithms/samples)\ntest_cc_algori... | C++ | Apache License 2.0 | google/or-tools | Add knapsack sample |
261,230 | 10.05.2019 23:25:50 | -7,200 | 35a9dc3b8a4b6a80268b60ef81bf24d60790e313 | fix rare bug in glop with invalid state | [
{
"change_type": "MODIFY",
"old_path": "ortools/glop/lu_factorization.cc",
"new_path": "ortools/glop/lu_factorization.cc",
"diff": "@@ -193,10 +193,9 @@ void LuFactorization::RightSolveLForColumnView(\nDCHECK(IsAllZero(x->values));\nx->non_zeros.clear();\nif (is_identity_factorization_) {\n- const E... | C++ | Apache License 2.0 | google/or-tools | fix rare bug in glop with invalid state |
261,230 | 10.05.2019 23:26:36 | -7,200 | 0f2fe9e578474a31b86ec89a6f5aba7ba570033c | better presolve of int_max, make extraction of size 2 table constraint deterministic; internal cleanup of CP-SAT search internals | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/sat.i",
"new_path": "ortools/sat/csharp/sat.i",
"diff": "@@ -28,9 +28,6 @@ using System.Collections;\n#include \"ortools/sat/swig_helper.h\"\n%}\n-typedef int64_t int64;\n-typedef uint64_t uint64;\n-\n%module(directors=\"1\") operations_rese... | C++ | Apache License 2.0 | google/or-tools | better presolve of int_max, make extraction of size 2 table constraint deterministic; internal cleanup of CP-SAT search internals |
261,230 | 10.05.2019 23:48:33 | -7,200 | 795f77ddf8735044d2d436530c4c30bb3a11ee7d | add LinearExpr.Sum and LinearExpr.ScalProd to CP-SAT Python API | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/python/cp_model.py",
"new_path": "ortools/sat/python/cp_model.py",
"diff": "@@ -104,7 +104,7 @@ def ShortName(model, i):\nreturn '[%s]' % DisplayBounds(v.domain)\n-class LinearExpression(object):\n+class LinearExpr(object):\n\"\"\"Holds an integer ... | C++ | Apache License 2.0 | google/or-tools | add LinearExpr.Sum and LinearExpr.ScalProd to CP-SAT Python API |
261,230 | 11.05.2019 14:02:41 | -7,200 | ce9aebd5f7bb9239ff56fd2ef2920681d44f3b3a | add printing to the clustering problem | [
{
"change_type": "MODIFY",
"old_path": "examples/python/clustering_sat.py",
"new_path": "examples/python/clustering_sat.py",
"diff": "@@ -101,7 +101,7 @@ def main():\n# Redundant constraints on total sum of neighborss.\nmodel.Add(sum(obj_vars) == num_groups * group_size * (group_size - 1) // 2)\n- #... | C++ | Apache License 2.0 | google/or-tools | add printing to the clustering problem |
261,230 | 11.05.2019 15:20:08 | -7,200 | fe334f05d04cdebe857e2b2afa74e2cbba71b415 | improve qubo example | [
{
"change_type": "MODIFY",
"old_path": "examples/python/qubo_sat.py",
"new_path": "examples/python/qubo_sat.py",
"diff": "@@ -535,30 +535,9 @@ RAW_DATA = [[\n0, -24.0124188\n]]\n-\n-class ObjectiveSolutionPrinter(cp_model.CpSolverSolutionCallback):\n- \"\"\"Print intermediate solutions.\"\"\"\n-\n- ... | C++ | Apache License 2.0 | google/or-tools | improve qubo example |
261,230 | 11.05.2019 18:46:48 | -7,200 | 35e0a9ce546b288344c8e4b355bda36d12c00c5c | improve qubo sat model; fix test | [
{
"change_type": "MODIFY",
"old_path": "examples/python/qubo_sat.py",
"new_path": "examples/python/qubo_sat.py",
"diff": "@@ -551,10 +551,10 @@ def solve_qubo():\nfor i in range(num_vars - 1):\nx_i = variables[i]\nfor j in range(i + 1, num_vars):\n- x_j = variables[j]\ncoeff = int((RAW_DATA[i][j] + ... | C++ | Apache License 2.0 | google/or-tools | improve qubo sat model; fix test |
261,230 | 12.05.2019 18:37:19 | -7,200 | 15fffb8409fca45dabad47552165697390982123 | bump CBC versions | [
{
"change_type": "MODIFY",
"old_path": "Dependencies.txt",
"new_path": "Dependencies.txt",
"diff": "Protobuf=3.7.1\ngflags=2.2.2\nglog=0.4.0\n-Cbc=2.10.1\n-CoinUtils=2.11.1\n-Osi=0.108.1\n-Clp=1.17.1\n-Cgl=0.60.1\n+Cbc=2.10.2\n+CoinUtils=2.11.2\n+Osi=0.108.4\n+Clp=1.17.2\n+Cgl=0.60.2\n"
},
{
... | C++ | Apache License 2.0 | google/or-tools | bump CBC versions |
261,218 | 13.05.2019 10:04:00 | -7,200 | 3eea98e3adfd9da3ccca710fbd9346410c79cc9d | SimpleMipProgram add import region tag | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/SimpleMipProgram.cs",
"new_path": "ortools/linear_solver/samples/SimpleMipProgram.cs",
"diff": "// limitations under the License.\n// [START program]\n+// [START import]\nusing System;\nusing Google.OrTools.LinearSolver;\n+// [END... | C++ | Apache License 2.0 | google/or-tools | SimpleMipProgram add import region tag |
261,230 | 13.05.2019 10:52:10 | -7,200 | dd377eaf84982464552dd9df12396d37a94dfccc | rename LinearInequality to BoundedIntegerExpression in cp_model.py | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -78,6 +78,13 @@ class CpModelTest(object):\nself.assertEqual(10, solver.Value(x))\nself.assertEqual(-5, solver.Value(y))\n+ def testCstLeVar(self):\n+ print('testCstLe... | C++ | Apache License 2.0 | google/or-tools | rename LinearInequality to BoundedIntegerExpression in cp_model.py |
261,230 | 13.05.2019 10:52:36 | -7,200 | e02c1a743676eadfc10aba6807a2a512fb405cf4 | add log_search_true; increase size | [
{
"change_type": "MODIFY",
"old_path": "examples/contrib/magic_sequence_sat.py",
"new_path": "examples/contrib/magic_sequence_sat.py",
"diff": "@@ -21,7 +21,7 @@ from ortools.sat.python import cp_model\ndef main():\n\"\"\"Magic sequence problem.\"\"\"\n- n = 50\n+ n = 100\nvalues = range(n)\nmodel =... | C++ | Apache License 2.0 | google/or-tools | add log_search_true; increase size |
261,230 | 13.05.2019 10:59:04 | -7,200 | ff28ad2f637774c17b142b8980748aec2e648ecb | rewrite C# CP-SAT linear layer; still one bug | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/BalanceGroupSat.cs",
"new_path": "examples/dotnet/BalanceGroupSat.cs",
"diff": "@@ -73,14 +73,14 @@ public class BalanceGroupSat\nforeach (var @group in allGroups)\n{\nvar itemsInGroup = allItems.Select(x => itemInGroup[x, @group]).ToArray();\n... | C++ | Apache License 2.0 | google/or-tools | rewrite C# CP-SAT linear layer; still one bug |
261,218 | 13.05.2019 11:05:42 | -7,200 | 583b8bc01e62d87b52835325cde910b4cca22c9b | Add region tag to linear solver samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/SimpleLpProgram.cs",
"new_path": "ortools/linear_solver/samples/SimpleLpProgram.cs",
"diff": "@@ -20,29 +20,46 @@ public class SimpleLpProgram\n{\nstatic void Main()\n{\n+ // [START solver]\n// Create the linear solver with the GL... | C++ | Apache License 2.0 | google/or-tools | Add region tag to linear solver samples |
261,218 | 13.05.2019 11:17:01 | -7,200 | a8fd84cb08ca5342918126619ca7cb7120d8af67 | Fixup comments in linear solver samples | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/samples/simple_lp_program.py",
"new_path": "ortools/linear_solver/samples/simple_lp_program.py",
"diff": "@@ -30,7 +30,7 @@ def main():\nx = solver.NumVar(0, 1, 'x')\ny = solver.NumVar(0, 2, 'y')\n- print(('Number of variables = %d' % sol... | C++ | Apache License 2.0 | google/or-tools | Fixup comments in linear solver samples |
261,230 | 13.05.2019 15:28:46 | -7,200 | 34a76ad9fc5921bf6b251b3e2cf6a033bc0180e8 | fix swig python for windows | [
{
"change_type": "MODIFY",
"old_path": "ortools/base/python-swig.h",
"new_path": "ortools/base/python-swig.h",
"diff": "@@ -131,16 +131,8 @@ inline bool PyObjAs(PyObject* py, unsigned int* c) {\n}\ntemplate <>\n-inline bool PyObjAs(PyObject* py, long* c) { // NOLINT\n- long i = PyInt_AsLong(py); // ... | C++ | Apache License 2.0 | google/or-tools | fix swig python for windows |
261,230 | 13.05.2019 15:29:47 | -7,200 | a935cb6b320d704cd695f0e545ad3513d787c78b | fix linearization bug | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/linear_relaxation.cc",
"new_path": "ortools/sat/linear_relaxation.cc",
"diff": "@@ -397,8 +397,8 @@ void TryToLinearizeConstraint(const CpModelProto& model_proto,\n}\nnamespace {\n-// Adds enforcing_var => target <= bounding_var to relaxation.\n-vo... | C++ | Apache License 2.0 | google/or-tools | fix linearization bug |
261,230 | 13.05.2019 16:12:09 | -7,200 | d2bdad15d027d437ffe2eb0cba90702558cf8200 | fix windows CP-SAT bug | [
{
"change_type": "MODIFY",
"old_path": "ortools/util/python/vector.i",
"new_path": "ortools/util/python/vector.i",
"diff": "%enddef // PY_LIST_OUTPUT_TYPEMAP\nPY_LIST_OUTPUT_TYPEMAP(int, PyInt_Check, PyInt_FromLong);\n-PY_LIST_OUTPUT_TYPEMAP(int64, SwigPyIntOrLong_Check, PyInt_FromLong);\n+PY_LIST_O... | C++ | Apache License 2.0 | google/or-tools | fix windows CP-SAT bug |
261,218 | 13.05.2019 16:51:25 | -7,200 | 6cc1df06d7beaecbaea4b61c5374c1edd5cbbb09 | Sync g3->github | [
{
"change_type": "MODIFY",
"old_path": "LICENSE-2.0.txt",
"new_path": "LICENSE-2.0.txt",
"diff": "same \"printed page\" as the copyright notice for easier\nidentification within third-party archives.\n- Copyright 2010 Google Inc\n+ Copyright 2010 Google LLC\nLicensed under the Apache License, Versio... | C++ | Apache License 2.0 | google/or-tools | Sync g3->github |
261,218 | 14.05.2019 09:44:13 | -7,200 | d7a33542a20cc60f2c55669e295c7cf8966e3467 | Sync g3 -> github | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/csharp/knapsack_solver.i",
"new_path": "ortools/algorithms/csharp/knapsack_solver.i",
"diff": "#include \"ortools/algorithms/knapsack_solver.h\"\n%}\n-typedef int64_t int64;\n-typedef uint64_t uint64;\n-\n// See the comment in\n// ../../cons... | C++ | Apache License 2.0 | google/or-tools | Sync g3 -> github |
261,218 | 14.05.2019 09:44:13 | -7,200 | f4dc003165def378798fa117232a3f018eaeb722 | Remove empty lines in Knapsack.java | [
{
"change_type": "MODIFY",
"old_path": "ortools/algorithms/samples/Knapsack.java",
"new_path": "ortools/algorithms/samples/Knapsack.java",
"diff": "@@ -45,13 +45,11 @@ public class Knapsack {\n// [START solve]\nsolver.init(values, weights, capacities);\n-\nfinal long computedValue = solver.solve();\... | C++ | Apache License 2.0 | google/or-tools | Remove empty lines in Knapsack.java |
261,218 | 14.05.2019 11:24:32 | -7,200 | 361df3bab6c4ba0bc98d766e1d2ea52aa8e8ccf7 | Expose SetUB and SetLB methods on MPVariables in python. | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/python/linear_solver.i",
"new_path": "ortools/linear_solver/python/linear_solver.i",
"diff": "@@ -276,6 +276,11 @@ from ortools.linear_solver.linear_solver_natural_api import VariableExpr\n%unignore operations_research::MPSolver::FIXED_VA... | C++ | Apache License 2.0 | google/or-tools | Expose SetUB and SetLB methods on MPVariables in python. |
261,230 | 14.05.2019 17:54:55 | -7,200 | 95e89c51750bde00c75a12b2daeb489dfbddc9d3 | more work on CP-SAT presolve, and CP-SAT - GLOP connection | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/cp_model_presolve.cc",
"new_path": "ortools/sat/cp_model_presolve.cc",
"diff": "@@ -1288,38 +1288,12 @@ bool PresolveLinear(ConstraintProto* ct, PresolveContext* context) {\nreturn RemoveConstraint(ct, context);\n}\n- // Abort if intersection is em... | C++ | Apache License 2.0 | google/or-tools | more work on CP-SAT presolve, and CP-SAT - GLOP connection |
261,218 | 15.05.2019 09:33:20 | -7,200 | 844a8c990352b550a73f17615f10381f21476c9d | .Net cleanup | [
{
"change_type": "MODIFY",
"old_path": "ortools/graph/csharp/graph.i",
"new_path": "ortools/graph/csharp/graph.i",
"diff": "#include \"ortools/graph/min_cost_flow.h\"\n%}\n-typedef int64_t int64;\n-typedef uint64_t uint64;\n-\n// ############ max_flow.h ############\n%ignoreall\n@@ -119,8 +116,7 @@ ... | C++ | Apache License 2.0 | google/or-tools | .Net cleanup |
261,230 | 15.05.2019 21:15:21 | -7,200 | caf0b3f94a7155b15318f9c7a1584345b1f1d59d | fix CP-SAT C# CpSolver.Value() | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/SatSolverTests.cs",
"new_path": "examples/tests/SatSolverTests.cs",
"diff": "@@ -153,7 +153,7 @@ namespace Google.OrTools.Tests {\nIntVar v2 = model.NewIntVar(-10, 10, \"v2\");\nmodel.Add(-100000 <= v1 + 2 * v2 <= 100000);\nmodel.Minimize(v1 - 2... | C++ | Apache License 2.0 | google/or-tools | fix CP-SAT C# CpSolver.Value() |
261,230 | 15.05.2019 21:30:18 | -7,200 | 8d5f34d2d459cb43034d41f4992041bd9f7a8ac0 | fix another C# example | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/BalanceGroupSat.cs",
"new_path": "examples/dotnet/BalanceGroupSat.cs",
"diff": "@@ -80,7 +80,7 @@ public class BalanceGroupSat\nforeach (var item in allItems)\n{\nvar groupsForItem = allGroups.Select(x => itemInGroup[item, x]).ToArray();\n- mod... | C++ | Apache License 2.0 | google/or-tools | fix another C# example |
261,230 | 16.05.2019 08:05:05 | -7,200 | 71da4da480c9f98a796e23260d2a2b005a4a7dc7 | fix NetworkRoutingSat example | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/NetworkRoutingSat.cs",
"new_path": "examples/dotnet/NetworkRoutingSat.cs",
"diff": "@@ -731,7 +731,7 @@ public class NetworkRoutingSat\nvar capacity = _arcCapacity[arcIndex];\nvar scaledTraffic = cpModel.NewIntVar(0, sumOfTraffic * 1000, $\"sca... | C++ | Apache License 2.0 | google/or-tools | fix NetworkRoutingSat example |
261,230 | 16.05.2019 08:12:33 | -7,200 | dbef2bb42f56930e568420f6e8abd702b40af917 | expose SetNumThreads in python | [
{
"change_type": "MODIFY",
"old_path": "ortools/linear_solver/python/linear_solver.i",
"new_path": "ortools/linear_solver/python/linear_solver.i",
"diff": "@@ -263,6 +263,7 @@ from ortools.linear_solver.linear_solver_natural_api import VariableExpr\n%unignore operations_research::MPSolver::NextSolut... | C++ | Apache License 2.0 | google/or-tools | expose SetNumThreads in python |
261,230 | 16.05.2019 11:45:46 | -7,200 | b886f1ddbcfff84a760313b98fc4c33fc8b202b3 | fix ShiftSchedulingSat.cs; improve linear code in CP-SAT C# to make it more robust | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/ShiftSchedulingSat.cs",
"new_path": "examples/dotnet/ShiftSchedulingSat.cs",
"diff": "@@ -197,7 +197,7 @@ public class ShiftSchedulingSat\n{\nforeach (int w in Range(numWeeks))\n{\n- var works = new IntVar[numDays];\n+ var works = new IntVar[7]... | C++ | Apache License 2.0 | google/or-tools | fix ShiftSchedulingSat.cs; improve linear code in CP-SAT C# to make it more robust |
261,230 | 16.05.2019 15:24:43 | -7,200 | 805ab3e15c04f413e9a4ec5e85dd7cc04a302e47 | add addGreaterThan, addLessThan to CP-SAT Java API | [
{
"change_type": "MODIFY",
"old_path": "ortools/com/google/ortools/sat/CpModel.java",
"new_path": "ortools/com/google/ortools/sat/CpModel.java",
"diff": "@@ -174,6 +174,16 @@ public final class CpModel {\nreturn addLinearExpressionInDomain(new Difference(left, right), new Domain(Long.MIN_VALUE, 0));... | C++ | Apache License 2.0 | google/or-tools | add addGreaterThan, addLessThan to CP-SAT Java API |
261,230 | 16.05.2019 15:26:44 | -7,200 | a6720e159afb23760f6280fec914f91cc28aa5aa | rewrite CP-SAT C# Linear implementation | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/CpSolver.cs",
"new_path": "ortools/sat/csharp/CpSolver.cs",
"diff": "@@ -125,10 +125,7 @@ namespace Google.OrTools.Sat\nforeach (LinearExpr sub in a.Expressions)\n{\nexprs.Add(sub);\n- }\n- foreach (long c in a.Coefficients)\n- {\n- coeffs.A... | C++ | Apache License 2.0 | google/or-tools | rewrite CP-SAT C# Linear implementation |
261,230 | 16.05.2019 15:27:07 | -7,200 | 2dbdfdcc30370dcab26558c614a40ba630c44509 | add time limit to ShiftSchedulingSat.cs example | [
{
"change_type": "MODIFY",
"old_path": "examples/dotnet/ShiftSchedulingSat.cs",
"new_path": "examples/dotnet/ShiftSchedulingSat.cs",
"diff": "@@ -284,7 +284,8 @@ public class ShiftSchedulingSat\n// Solve model\nvar solver = new CpSolver();\n- solver.StringParameters = \"num_search_workers:8, log_sea... | C++ | Apache License 2.0 | google/or-tools | add time limit to ShiftSchedulingSat.cs example |
261,230 | 16.05.2019 16:45:30 | -7,200 | 7daec1af50140d07ab27f2b7fd18af8abf92a1c1 | uniformize code sample | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/samples/BinPackingProblemSat.cs",
"new_path": "ortools/sat/samples/BinPackingProblemSat.cs",
"diff": "@@ -21,9 +21,9 @@ public class BinPackingProblemSat\n// Data.\nint bin_capacity = 100;\nint slack_capacity = 20;\n- int num_bins = 10;\n+ int num_... | C++ | Apache License 2.0 | google/or-tools | uniformize code sample |
261,230 | 16.05.2019 19:20:58 | -7,200 | ed6dcb6d187dbbf69785739b0bdad0791bfee325 | add LinearExpr.Sum(LinearExprArray) to CP-SAT C# API | [
{
"change_type": "MODIFY",
"old_path": "ortools/sat/csharp/IntegerExpressions.cs",
"new_path": "ortools/sat/csharp/IntegerExpressions.cs",
"diff": "@@ -51,6 +51,11 @@ namespace Google.OrTools.Sat\nreturn new SumArray(vars);\n}\n+ public static LinearExpr Sum(IEnumerable<LinearExpr> exprs)\n+ {\n+ re... | C++ | Apache License 2.0 | google/or-tools | add LinearExpr.Sum(LinearExprArray) to CP-SAT C# API |
261,230 | 16.05.2019 23:37:43 | -7,200 | 078b80901067d96ea71673bb6e5d56efbe9568bc | export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/cp_model_test.py",
"new_path": "examples/tests/cp_model_test.py",
"diff": "@@ -4,6 +4,8 @@ from __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\n+\n+import unittest\nfrom ortools.sat impo... | C++ | Apache License 2.0 | google/or-tools | export more methods on the Domain class in non C++ languages; add test for python; use unittest in python tests; add deprecation tag for some C# CP-SAT methods |
261,230 | 17.05.2019 10:27:41 | -7,200 | 8572f97c286450cf03bc4003c36c7e534a8d25d5 | reindent cp_model.py; fix Domain swig; rename test | [
{
"change_type": "RENAME",
"old_path": "examples/tests/domain_test.py",
"new_path": "examples/tests/sorted_interval_list_test.py",
"diff": "-\"\"\"Tests for ortools.util.sorted_interval_list.py.\"\"\"\n+# Copyright 2010-2018 Google LLC\n+# Licensed under the Apache License, Version 2.0 (the \"Licens... | C++ | Apache License 2.0 | google/or-tools | reindent cp_model.py; fix Domain swig; rename test |
261,218 | 17.05.2019 11:24:22 | -7,200 | 331cfc9a26fa0fbc75119440e92160ea373874e1 | Fix ortoolsConfig.cmake | [
{
"change_type": "MODIFY",
"old_path": "cmake/ortoolsConfig.cmake.in",
"new_path": "cmake/ortoolsConfig.cmake.in",
"diff": "@@ -5,10 +5,12 @@ set(@PACKAGE_PREFIX@_VERSION @PROJECT_VERSION@)\n@PACKAGE_INIT@\ninclude(CMakeFindDependencyMacro)\n-if(${CMAKE_VERSION} VERSION_LESS \"3.9.6\")\n+# Kitware C... | C++ | Apache License 2.0 | google/or-tools | Fix ortoolsConfig.cmake (#1236) |
261,230 | 17.05.2019 14:02:20 | -7,200 | 21f91816dd7d356cd944ba77a8065b6b08cad7fb | use unittest in cp and lp tests | [
{
"change_type": "MODIFY",
"old_path": "examples/tests/pywrapcp_test.py",
"new_path": "examples/tests/pywrapcp_test.py",
"diff": "import sys\n-from ortools.constraint_solver import model_pb2\n+import unittest\nfrom ortools.constraint_solver import pywrapcp\n-def test_member():\n- print 'test_member'... | C++ | Apache License 2.0 | google/or-tools | use unittest in cp and lp tests |
261,230 | 17.05.2019 14:02:38 | -7,200 | 6a690b75f8047ac7855538d8a6efdb2282005ef4 | enable cp and lp tests | [
{
"change_type": "MODIFY",
"old_path": "makefiles/Makefile.python.mk",
"new_path": "makefiles/Makefile.python.mk",
"diff": "@@ -634,7 +634,10 @@ test_python_tests: \\\nrpy_sorted_interval_list_test \\\nrpy_test_cp_api \\\nrpy_test_routing_api \\\n- rpy_test_lp_api\n+ rpy_test_lp_api \\\n+ rpy_pywrap... | C++ | Apache License 2.0 | google/or-tools | enable cp and lp tests |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.