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
02.08.2018 14:03:43
25,200
de3d342cae02c7f42d146e4df44122e1aa70162f
add SimpleSolve sat java sample
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -80,6 +80,23 @@ public class CpModel {\nreturn ct;\n}\n+ public Constraint addLinearSumWithBounds(IntVar[] vars, long[] bounds) {\n+ Constraint...
C++
Apache License 2.0
google/or-tools
add SimpleSolve sat java sample
261,230
02.08.2018 14:16:13
25,200
0676c7e87854054cd5d598800f624e6a3de07a3f
add SolveWithTimeLimit.java
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpSolver.java", "new_path": "ortools/com/google/ortools/sat/CpSolver.java", "diff": "@@ -68,6 +68,11 @@ public class CpSolver {\nreturn response_.getWallTime();\n}\n+ // parameters.\n+ public SatParameters.Builder getParameters()...
C++
Apache License 2.0
google/or-tools
add SolveWithTimeLimit.java
261,230
02.08.2018 15:12:57
25,200
ed3ed7957d16e78ee93012315bce056e13acf9a8
add missing solver samples for java/sat; fix C# sample
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -275,7 +275,42 @@ public class CpModel {\n// Objective.\n- public void MaximizeSum(IntVar[] vars) {\n+ public void minimize(IntVar var) {\n+ Cp...
C++
Apache License 2.0
google/or-tools
add missing solver samples for java/sat; fix C# sample
261,230
02.08.2018 16:17:34
25,200
8fdbbb855f219063c5af88ea1a2f770b4a89b6a7
first scheduling sample for java/sat
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -29,10 +29,22 @@ public class CpModel {\nreturn new IntVar(builder_, lb, ub, name);\n}\n+ public IntVar newEnumeratedIntVar(long[] bounds, Stri...
C++
Apache License 2.0
google/or-tools
first scheduling sample for java/sat
261,230
02.08.2018 16:34:46
25,200
9b2f0748d218eb788474f7b95e247687c13c7620
OptionalIntervalSample for sat/java
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -319,6 +319,45 @@ public class CpModel {\nindexFromConstant(start + duration), name);\n}\n+ public IntervalVar newOptionalIntervalVar(IntVar st...
C++
Apache License 2.0
google/or-tools
OptionalIntervalSample for sat/java
261,230
02.08.2018 17:00:44
25,200
4811629ff67f9e4368dd9a259c16650489d0d4ae
NoOverlapSample for sat/java
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -285,6 +285,52 @@ public class CpModel {\nreturn addLessOrEqualWithOffset(before, after, 0);\n}\n+ // Integer constraints.\n+\n+ public Constra...
C++
Apache License 2.0
google/or-tools
NoOverlapSample for sat/java
261,230
02.08.2018 17:26:53
25,200
c798f9edfbe04a14fb2a40bb0198c0e280db9714
RankingSample in sat java
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/scheduling.md", "new_path": "ortools/sat/doc/scheduling.md", "diff": "@@ -1066,6 +1066,171 @@ int main() {\n}\n```\n+### Java code\n+\n+```java\n+import com.google.ortools.sat.*;\n+\n+import java.util.ArrayList;\n+import java.util.List;\n+\n+pu...
C++
Apache License 2.0
google/or-tools
RankingSample in sat java
261,307
03.08.2018 11:14:21
-7,200
a28b2b2b1aeaa8e2285355dfdd9fa6942de18480
fixed typo in python example
[ { "change_type": "MODIFY", "old_path": "examples/python/integer_programming.py", "new_path": "examples/python/integer_programming.py", "diff": "@@ -120,7 +120,7 @@ def RunAllIntegerExampleCppStyleAPI():\nif hasattr(pywraplp.Solver, 'GUROBI_MIXED_INTEGER_PROGRAMMING'):\nAnnounce('GUROBI', 'C++ style ...
C++
Apache License 2.0
google/or-tools
fixed typo in python example
261,230
03.08.2018 13:02:33
25,200
460bbf9bf159e7626fd5fe3bb9f0a53e85d425d8
add python3.7 to setup.py
[ { "change_type": "MODIFY", "old_path": "tools/setup.py", "new_path": "tools/setup.py", "diff": "@@ -80,6 +80,7 @@ setup(\n'Programming Language :: Python :: 3',\n'Programming Language :: Python :: 3.5',\n'Programming Language :: Python :: 3.6',\n+ 'Programming Language :: Python :: 3.7',\n'Topic :: ...
C++
Apache License 2.0
google/or-tools
add python3.7 to setup.py
261,230
03.08.2018 13:39:20
25,200
277fb621651ed15fa30c1bafa36186e2e19d32f9
fix display of variable domains in CpModelStat()
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_solver.cc", "new_path": "ortools/sat/cp_model_solver.cc", "diff": "@@ -1437,7 +1437,8 @@ std::string CpModelStats(const CpModelProto& model_proto) {\nint num_constants = 0;\nstd::set<int64> constant_values;\n- std::map<std::vector<ClosedIn...
C++
Apache License 2.0
google/or-tools
fix display of variable domains in CpModelStat()
261,230
06.08.2018 11:38:44
25,200
12c1abad75a3cc40fe2c1927429cab65b0b3e60a
cleanup internal java sat code
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpSolver.java", "new_path": "ortools/com/google/ortools/sat/CpSolver.java", "diff": "@@ -25,20 +25,20 @@ public class CpSolver {\n}\npublic CpSolverStatus solve(CpModel model) {\n- response_ = SatHelper.SolveWithParameters(model....
C++
Apache License 2.0
google/or-tools
cleanup internal java sat code
261,218
25.07.2018 17:35:23
-7,200
c2da103516a16169f2338a603de22d25a4885137
archive: Update data archive name data archive is distro agnostic, only need to build it on windows (.zip) and unix (.tar.gz)
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.archive.mk", "new_path": "makefiles/Makefile.archive.mk", "diff": "@@ -22,7 +22,7 @@ archive: $(INSTALL_DIR)$(ARCHIVE_EXT)\nfz_archive: $(FZ_INSTALL_DIR)$(ARCHIVE_EXT)\n.PHONY: data_archive # Create OR-Tools archive for data examples.\n-data...
C++
Apache License 2.0
google/or-tools
archive: Update data archive name data archive is distro agnostic, only need to build it on windows (.zip) and unix (.tar.gz)
261,218
25.07.2018 17:35:48
-7,200
3a028ced1443bd80042323ca8281dcb0e97260a6
archive: Update test_archive
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.archive.mk", "new_path": "makefiles/Makefile.archive.mk", "diff": "@@ -161,32 +161,34 @@ TEMP_TEST_DIR = temp_test\ntest_archive: $(INSTALL_DIR)$(ARCHIVE_EXT)\n-$(DELREC) $(TEMP_TEST_DIR)\n$(MKDIR) $(TEMP_TEST_DIR)\n-#this is to make sure th...
C++
Apache License 2.0
google/or-tools
archive: Update test_archive
261,218
07.08.2018 13:54:33
-7,200
ce353987d69f545b8d84e8ed4308898a584fdad0
Makefile:unix add missing include dirs
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -143,6 +143,7 @@ dependencies/sources/gflags-$(GFLAGS_TAG): | dependencies/sources\ngit clone --quiet -b v$(GFLAGS_TAG) https://github.com/gflags/gflags....
C++
Apache License 2.0
google/or-tools
Makefile:unix add missing include dirs
261,218
07.08.2018 11:33:41
-7,200
5a7f7ebd9d56f3195bd30a0f815780d2485e106c
Clean Makefile.win.mk remove unused COMMA and BACK_SLASH
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.csharp.mk", "new_path": "makefiles/Makefile.csharp.mk", "diff": "@@ -749,6 +749,9 @@ examples/csharp/solution/%.csproj: examples/csharp/%.cs tools/template.csproj\nALL_CSPROJ= $(patsubst examples/csharp/%.cs, examples/csharp/solution/%.cspro...
C++
Apache License 2.0
google/or-tools
Clean Makefile.win.mk -remove unused COMMA and BACK_SLASH
261,218
07.08.2018 11:37:58
-7,200
bc9777418f032c196e9458d893901bac7a008006
Makefile: Rework Windows Third Party management Should fix most of the space in the path issue - try to use relative path as much as possible follow the same layout than unix third party
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -552,23 +552,23 @@ ifeq ($(UNIX_CBC_DIR),$(OR_TOOLS_TOP)/dependencies/install)\n$(COPYREC) dependencies$Sinstall$Sbin$Scbc \"$(DESTDIR)$(prefix)$Sbin\"\n$(COPYREC) dependencies$Si...
C++
Apache License 2.0
google/or-tools
Makefile: Rework Windows Third Party management - Should fix most of the space in the path issue - try to use relative path as much as possible - follow the same layout than unix third party
261,218
07.08.2018 14:11:27
-7,200
2b3ac716372152e434499da8f81f40b1909ce876
Makefile: Fix cleaning of glog dir on windows
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.win.mk", "new_path": "makefiles/Makefile.third_party.win.mk", "diff": "@@ -409,13 +409,14 @@ clean_third_party: remove_readonly_svn_attribs\n-$(DEL) dependencies\\archives\\v*.zip\n-$(DEL) dependencies\\archives\\win_flex_bison*....
C++
Apache License 2.0
google/or-tools
Makefile: Fix cleaning of glog dir on windows
261,218
07.08.2018 14:36:49
-7,200
34a9fc6310052d0a9f4415c721a33651ef675bb4
Makefile: Fix THIRD_PARTY_LNK vars
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -147,13 +147,9 @@ GFLAGS_SWIG = $(GFLAGS_INC)\nSTATIC_GFLAGS_LNK = $(UNIX_GFLAGS_DIR)/lib/libgflags.a\nDYNAMIC_GFLAGS_LNK = -L$(UNIX_GFLAGS_DIR)/lib -lgf...
C++
Apache License 2.0
google/or-tools
Makefile: Fix THIRD_PARTY_LNK vars
261,218
07.08.2018 14:49:02
-7,200
0d2fc624c53ccbb74b53f04933e934d149a2a6de
Makefile: fixup make clean_dotnet remove $(EX_DIR)/(csharp|fsharp)/(bin|obj)
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -418,6 +418,9 @@ clean_dotnet:\n-$(DELREC) ortools$Sdotnet$S$(ORTOOLS_FSHARP_TEST_DLL_NAME)$Sbin\n-$(DELREC) ortools$Sdotnet$S$(ORTOOLS_FSHARP_TEST_DLL_NAME)$Sobj\n-$(DELREC...
C++
Apache License 2.0
google/or-tools
Makefile: fixup make clean_dotnet - remove $(EX_DIR)/(csharp|fsharp)/(bin|obj)
261,218
07.08.2018 15:29:42
-7,200
35c9928b18cee84b645d41ed324fdaab0fd7acbf
Fixup windows (no libOsiCbc.lib)
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.win.mk", "new_path": "makefiles/Makefile.third_party.win.mk", "diff": "@@ -345,12 +345,10 @@ CBC_INC = /I\"$(WINDOWS_CBC_PATH)\\\\include\" /I\"$(WINDOWS_CBC_PATH)\\\\include\\\\coin\nCBC_SWIG = -I\"$(WINDOWS_CBC_DIR)/include\" -...
C++
Apache License 2.0
google/or-tools
Fixup windows (no libOsiCbc.lib)
261,218
07.08.2018 15:31:09
-7,200
304cec3258b72cfac1f47a4bbf3b55502f6048f2
Makefile: Fix redefinition of symbols on windows
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -344,7 +344,7 @@ $(OBJ_DIR)/cvrp%.$O: $(EX_DIR)/cpp/cvrp%.cc $(CVRPTW_DEPS) | $(OBJ_DIR)\n$(CCC) $(CFLAGS) -c $(EX_DIR)$Scpp$Scvrp$*.cc $(OBJ_OUT)$(OBJ_DIR)$Scvrp$*.$O\n$(BIN_DIR)...
C++
Apache License 2.0
google/or-tools
Makefile: Fix redefinition of symbols on windows
261,230
07.08.2018 12:06:25
25,200
cc7f09356597127f46aa2e2b11b6a12ed68b2b34
presolve small no_overlap
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -1268,6 +1268,19 @@ bool PresolveAllDiff(ConstraintProto* ct, PresolveContext* context) {\nreturn false;\n}\n+bool PresolveNoOverlap(ConstraintProto* ct, PresolveCon...
C++
Apache License 2.0
google/or-tools
presolve small no_overlap
261,230
07.08.2018 12:09:19
25,200
823148593ed150bfd003318aad20023e93238257
improve cp_model.py doc
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the L...
C++
Apache License 2.0
google/or-tools
improve cp_model.py doc
261,230
09.08.2018 11:01:04
25,200
28b470848b95e9535fff6c64b11ba663d6ffb6d9
correct java naming
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/ILiteral.java", "new_path": "ortools/com/google/ortools/sat/ILiteral.java", "diff": "@@ -21,5 +21,5 @@ public interface ILiteral {\npublic ILiteral not();\n/** Returns a short string to describe the literal. */\n- public String s...
C++
Apache License 2.0
google/or-tools
correct java naming
261,230
09.08.2018 12:03:00
25,200
16fd32780712efec0f10b39f508889efaaaef300
better getShortString() on IntVar and ILiteral()
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -100,7 +100,7 @@ public class CpModel {\n/** Creates a constant variable. */\npublic IntVar newConstant(long value) {\n- return newIntVar(value...
C++
Apache License 2.0
google/or-tools
better getShortString() on IntVar and ILiteral()
261,230
09.08.2018 17:09:59
25,200
7586085328cc723a7ca942a24b9a2fed1e057539
add DecisionStrategy to sat java/C# API
[ { "change_type": "MODIFY", "old_path": "ortools/com/google/ortools/sat/CpModel.java", "new_path": "ortools/com/google/ortools/sat/CpModel.java", "diff": "@@ -20,6 +20,7 @@ import com.google.ortools.sat.CircuitConstraintProto;\nimport com.google.ortools.sat.CpModelProto;\nimport com.google.ortools.sa...
C++
Apache License 2.0
google/or-tools
add DecisionStrategy to sat java/C# API
261,230
09.08.2018 17:17:15
25,200
3e23abd005aa08fbc17d2327f7a3fe293be941dd
Channeling sample in java
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/sat/samples/ChannelingSample.java", "diff": "+// Copyright 2010-2017 Google\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain ...
C++
Apache License 2.0
google/or-tools
Channeling sample in java
261,230
10.08.2018 12:10:57
25,200
42f907eeb4076284c9542138a467802f7c75ef92
use anonymous classes
[ { "change_type": "MODIFY", "old_path": "ortools/sat/samples/ChannelingSample.java", "new_path": "ortools/sat/samples/ChannelingSample.java", "diff": "@@ -18,22 +18,6 @@ import com.google.ortools.sat.CpSolver;\nimport com.google.ortools.sat.CpSolverSolutionCallback;\nimport com.google.ortools.sat.Int...
C++
Apache License 2.0
google/or-tools
use anonymous classes
261,230
13.08.2018 09:42:31
25,200
cb884c7ddfaa1fed4eff449ac79a78b9ba41f396
added channeling sample in sat cookbook
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/channeling.md", "new_path": "ortools/sat/doc/channeling.md", "diff": "@@ -13,6 +13,322 @@ set of Boolean variables that indicate if one bin load is under the threshold.\nChanneling is usually implemented using half-reified linear constraints.\n...
C++
Apache License 2.0
google/or-tools
added channeling sample in sat cookbook
261,218
07.08.2018 16:35:09
-7,200
3a7d4d10f6c3bc1e6951abbbd1f224ff4f64b722
Makefile: move ZLIB_LNK to third_party on windows
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.win.mk", "new_path": "makefiles/Makefile.third_party.win.mk", "diff": "@@ -155,7 +155,9 @@ dependencies/archives/zlib$(ZLIB_ARCHIVE_TAG).zip:\nZLIB_INC = /I\"$(WINDOWS_ZLIB_PATH)\\\\include\"\nZLIB_SWIG = -I\"$(WINDOWS_ZLIB_DIR)/...
C++
Apache License 2.0
google/or-tools
Makefile: move ZLIB_LNK to third_party on windows
261,218
07.08.2018 16:36:32
-7,200
cf8b875afb60f665cfd7f370b6742c45366a853d
Makefile: remove duplicate dependencies in LDFLAGS vars on windows Already present in DEPENDENCIES_LNK
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.win.mk", "new_path": "makefiles/Makefile.win.mk", "diff": "@@ -150,7 +150,7 @@ DEPENDENCIES_INC = /I$(INC_DIR) /I$(EX_DIR) /I$(GEN_DIR) \\\nCFLAGS = -nologo $(SYSCFLAGS) /D__WIN32__ /DPSAPI_VERSION=1 /DNOMINMAX $(DEBUG) $(DEPENDENCIES_INC)\n...
C++
Apache License 2.0
google/or-tools
Makefile: remove duplicate dependencies in LDFLAGS vars on windows - Already present in DEPENDENCIES_LNK
261,218
08.08.2018 10:25:33
-7,200
c474f2dcf645ffd345e345cfe118d52a755779f7
Makefile: Update third_party_check
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -37,49 +37,60 @@ third_party_check:\nifeq ($(wildcard $(UNIX_GFLAGS_DIR)/include/gflags/gflags.h),)\n$(error Third party GFlags files was not found! did ...
C++
Apache License 2.0
google/or-tools
Makefile: Update third_party_check
261,218
13.08.2018 10:21:10
-7,200
ed47e1f70d85ebf121ca983908fba343ccbb6825
CMake: copy libortools to .libs in pyhon package
[ { "change_type": "MODIFY", "old_path": "cmake/python.cmake", "new_path": "cmake/python.cmake", "diff": "@@ -114,7 +114,7 @@ add_custom_command(OUTPUT setup.py dist ${PROJECT_NAME}.egg-info\nCOMMAND ${CMAKE_COMMAND} -E echo \" cmdclass={'install': InstallPlatlib},\" >> setup.py\nCOMMAND ${CMAKE_COMMA...
C++
Apache License 2.0
google/or-tools
CMake: copy libortools to .libs in pyhon package
261,218
10.08.2018 09:03:16
-7,200
242a7714af905b2863e9019ea7938a2c93ad203b
Cleanup example/dotnet/csharp/a_puzzle.cs
[ { "change_type": "MODIFY", "old_path": "examples/dotnet/csharp/a_puzzle.cs", "new_path": "examples/dotnet/csharp/a_puzzle.cs", "diff": "@@ -236,7 +236,6 @@ public class APuzzle\nsolver.NewSearch(db);\n- int c = 0;\nwhile (solver.NextSolution()) {\nConsole.Write(\"x: {0} x0..x9: \", x.Value());\nfor(...
C++
Apache License 2.0
google/or-tools
Cleanup example/dotnet/csharp/a_puzzle.cs
261,218
13.08.2018 13:07:45
-7,200
4d72439b6b0c37b9ca2850168791b964518d6b43
ThirdParty:unix: add Phony targets
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -135,6 +135,7 @@ dependencies/install/include/coin: | dependencies/install/include\n## GFLAGS ##\n##############\n# This uses gflags cmake-based build.\n...
C++
Apache License 2.0
google/or-tools
ThirdParty:unix: add Phony targets
261,218
14.08.2018 10:01:56
-7,200
1c80026b14194322fd1c18cc9f40356a699b8bdf
ThirdParty: Protect protobuf from space in path
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -219,7 +219,7 @@ dependencies/sources/protobuf-$(PROTOBUF_TAG): patches/protobuf.patch | dependen\n-$(DELREC) dependencies/sources/protobuf-$(PROTOBUF_TA...
C++
Apache License 2.0
google/or-tools
ThirdParty: Protect protobuf from space in path
261,218
14.08.2018 10:04:08
-7,200
d2537d1b42abf0386f0d69b585013712da862ec5
Fix patchelf space in path
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -272,7 +272,7 @@ endif\nPATCHELF_SRCDIR = dependencies/sources/patchelf-$(PATCHELF_TAG)\ndependencies/install/bin/patchelf: $(PATCHELF_SRCDIR) | dependen...
C++
Apache License 2.0
google/or-tools
Fix patchelf space in path
261,230
16.08.2018 07:33:10
25,200
f0a419900056f79895ca1d1e583f59e114ed4fe5
fix HIGHEST_MAX
[ { "change_type": "MODIFY", "old_path": "examples/tests/test_cp_api.py", "new_path": "examples/tests/test_cp_api.py", "diff": "@@ -331,6 +331,19 @@ def test_custom_decision():\nprint(str(db))\nsolver.Solve(db)\n+def test_search_alldiff():\n+ solver = pywrapcp.Solver('test_search_alldiff')\n+ in_pos=[...
C++
Apache License 2.0
google/or-tools
fix HIGHEST_MAX
261,230
20.08.2018 09:09:08
-7,200
57bf90745d6fbb94dcdbc2596265d3e587086f6d
chemical balance problem solved by SAT and LP
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/python/chemical_balance_lp.py", "diff": "+# Copyright 2010-2017 Google\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy ...
C++
Apache License 2.0
google/or-tools
chemical balance problem solved by SAT and LP
261,261
23.08.2018 23:25:39
14,400
e6d57a5966a76cf5b66910ad489cafb93f0cdbe8
divide the total z by 100 to match fruits final results
[ { "change_type": "MODIFY", "old_path": "examples/python/xkcd.py", "new_path": "examples/python/xkcd.py", "diff": "@@ -88,7 +88,7 @@ def main():\nprint(\"num_solutions: \", num_solutions)\nif num_solutions > 0:\nfor s in range(num_solutions):\n- print(\"z:\", collector.Value(s, z))\n+ print(\"z:\", c...
C++
Apache License 2.0
google/or-tools
divide the total z by 100 to match fruits final results
261,218
27.08.2018 11:59:55
-7,200
a340d87b043afb60f95a12edad62d40a175bd4bf
java: Add Vrp.java example
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/java/Vrp.java", "diff": "+// Copyright 2018 Google LLC\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the Licens...
C++
Apache License 2.0
google/or-tools
java: Add Vrp.java example
261,230
28.08.2018 14:45:56
-7,200
00380eda1189e5b278beeb49622b9bf663b85c50
add nosets.mzn to flatzinc sat fz
[ { "change_type": "ADD", "old_path": null, "new_path": "ortools/flatzinc/mznlib_sat/nosets.mzn", "diff": "+%%% Inclusion of this file eliminates set variables by converting them into arrays of var bool.\n+% AUTHORS\n+% Guido Tack <guido.tack@monash.edu>\n+% Gleb Belov <gleb.belov@monash.edu>\n+%\n+% ...
C++
Apache License 2.0
google/or-tools
add nosets.mzn to flatzinc sat fz
261,230
29.08.2018 11:34:17
-7,200
56f09e323ce321ce0245f44ecd311bebe2817a9e
update nosets to from minizinc-2.2.0
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/mznlib_sat/nosets.mzn", "new_path": "ortools/flatzinc/mznlib_sat/nosets.mzn", "diff": "% Guido Tack <guido.tack@monash.edu>\n% Gleb Belov <gleb.belov@monash.edu>\n%\n-% Set comparisons are often used just to avoid symmetries. For that, lex cmp...
C++
Apache License 2.0
google/or-tools
update nosets to from minizinc-2.2.0
261,230
29.08.2018 13:55:59
-7,200
5dd0c1c9852de5cea3cbbad66addd309ae04dada
presolve product with boolean
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -229,9 +229,26 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\n} else if (fz_ct.type == \"bool_ne\" || fz_ct.type == \"bool...
C++
Apache License 2.0
google/or-tools
presolve product with boolean
261,218
17.08.2018 16:13:39
-7,200
6270563518f4ce8cab0d956d8d339557a5b16743
Typo Makefile.port.mk
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.port.mk", "new_path": "makefiles/Makefile.port.mk", "diff": "@@ -70,7 +70,7 @@ ifeq ($(SYSTEM),unix)\nendif\nJAVA_HOME ?= $(firstword $(wildcard $(CANDIDATE_JDK_ROOTS)))\nendif # ($(OS),Linux)\n- ifeq ($(OS),Darwin) # Assume Mac Os X\n+ ifeq...
C++
Apache License 2.0
google/or-tools
Typo Makefile.port.mk
261,218
17.08.2018 16:13:57
-7,200
ebfee949c093d074c73c263b71d963d3c7d6122d
Cleanup Makefile.python.mk
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -36,6 +36,7 @@ PYTHON3_CFLAGS := -DPY3\nendif\nendif\n+# Main target\n.PHONY: python # Build Python OR-Tools.\n.PHONY: test_python # Test Python OR-Tools using various examp...
C++
Apache License 2.0
google/or-tools
Cleanup Makefile.python.mk
261,218
24.08.2018 14:44:17
-7,200
b43055c1286ac48dc8eb03e365d3935fb9e43e05
dotnet: Fix unused variable warnings
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/OrTools/constraint_solver/NetDecisionBuilder.cs", "new_path": "ortools/dotnet/OrTools/constraint_solver/NetDecisionBuilder.cs", "diff": "@@ -36,7 +36,7 @@ public class NetDecisionBuilder : DecisionBuilder\n{\nreturn Next(solver);\n}\n- catch (Ap...
C++
Apache License 2.0
google/or-tools
dotnet: Fix unused variable warnings
261,218
27.08.2018 15:03:22
-7,200
524599ca252e76915af81bbd2d3a96c54e5b09b0
Makefile: add PACKAGE_DIR variable
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.unix.mk", "new_path": "makefiles/Makefile.unix.mk", "diff": "@@ -14,6 +14,7 @@ DOTNET_EX_DIR = $(OR_ROOT)examples/dotnet\nDOTNET_EX_PATH = $(subst /,$S,$(DOTNET_EX_DIR))\nOBJ_DIR = $(OR_ROOT)objs\nCLASS_DIR = $(OR_ROOT)classes\n+PACKAGE_DIR ...
C++
Apache License 2.0
google/or-tools
Makefile: add PACKAGE_DIR variable
261,218
24.08.2018 13:33:48
-7,200
8fb446cf501d8aa4d96888e1183e3583d0683479
Makefile.(win|unix).mk: Cleanup to help maintenance
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.unix.mk", "new_path": "makefiles/Makefile.unix.mk", "diff": "# ----- configuration is not standard. In that case, please tell us -----\n# ----- about it. -----\n+# Unix specific definitions\nLIB_PREFIX = lib\n+DEP_BIN_DIR = $(OR_ROOT)depende...
C++
Apache License 2.0
google/or-tools
Makefile.(win|unix).mk: Cleanup to help maintenance
261,218
28.08.2018 18:33:47
-7,200
c8643fc45699b62be5cab00e923224b0d01bbee2
java: rework examples target
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.java.mk", "new_path": "makefiles/Makefile.java.mk", "diff": "@@ -290,7 +290,7 @@ cjava: $(CLASS_DIR)/$(EX_NAME)\n.PHONY: rjava\nrjava: $(LIB_DIR)/$(EX_NAME)$J\n@echo running $<\n- $(MAKE) run_$(EX_NAME)\n+ $(MAKE) rjava_$(EX_NAME)\nendif # i...
C++
Apache License 2.0
google/or-tools
java: rework examples target
261,218
28.08.2018 18:34:20
-7,200
2e3131b643b61bf6a163c2a29f7caf5deac7612f
python: Rework examples target Fix default solver to use CBC instead of GLPK (which is optional) Fix few examples which doesn't compile against python2.7 Add all examples to target test_python - Few examples disabled since they are too long
[ { "change_type": "MODIFY", "old_path": "examples/python/appointments.py", "new_path": "examples/python/appointments.py", "diff": "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the...
C++
Apache License 2.0
google/or-tools
python: Rework examples target - Fix default solver to use CBC instead of GLPK (which is optional) - Fix few examples which doesn't compile against python2.7 - Add all examples to target test_python - Few examples disabled since they are too long
261,218
29.08.2018 16:43:35
-7,200
0f38cd0f965d7a7666602468915463723f205a70
Test: update cc
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "@@ -13,7 +13,7 @@ test_cc_examples: cc\n$(BIN_DIR)$Scpp11_test$E\n$(BIN_DIR)$Sforbidden_intervals_test$E\n$(BIN_DIR)$Sgcc_test$E\n-# $(BIN_DIR)$Sissue173$E\n+# $(BIN_DIR)$Sissue173...
C++
Apache License 2.0
google/or-tools
Test: update cc
261,218
29.08.2018 18:28:48
-7,200
0a997a902753ec758ae4295b502f2aa34bb8930d
python: disable test crashing on CI
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "@@ -136,7 +136,7 @@ test_python_examples: python\n$(MAKE) rpy_post_office_problem2\n$(MAKE) rpy_production\n$(MAKE) rpy_pyflow_example\n- $(MAKE) rpy_pyls_api\n+# $(MAKE) rpy_pyls_...
C++
Apache License 2.0
google/or-tools
python: disable test crashing on CI
261,218
29.08.2018 20:48:50
-7,200
521c69a0f9fa5cf8a71d64b6dbc7e0d9df5451da
Update Makefile.test.mk
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "@@ -136,7 +136,7 @@ test_python_examples: python\n$(MAKE) rpy_post_office_problem2\n$(MAKE) rpy_production\n$(MAKE) rpy_pyflow_example\n-# $(MAKE) rpy_pyls_api # error: fail on tra...
C++
Apache License 2.0
google/or-tools
Update Makefile.test.mk
261,218
29.08.2018 20:54:28
-7,200
546534f0713ecfb30a8f0ae8965782a6e61b887a
Update Makefile.test.mk fix issue on Windows, can't have comments at the end of a line...
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "@@ -108,7 +108,8 @@ test_python_examples: python\n$(MAKE) rpy_magic_sequence_distribute\n$(MAKE) rpy_magic_square_and_cards\n$(MAKE) rpy_magic_square_mip\n- $(MAKE) rpy_magic_squar...
C++
Apache License 2.0
google/or-tools
Update Makefile.test.mk fix issue on Windows, can't have comments at the end of a line...
261,230
30.08.2018 07:28:59
-7,200
701e7ab336c94ffddcbf5c8f3fd8c0a640759dce
fix pyls_api.py crash on python 3
[ { "change_type": "MODIFY", "old_path": "ortools/constraint_solver/python/constraint_solver.i", "new_path": "ortools/constraint_solver/python/constraint_solver.i", "diff": "@@ -2018,6 +2018,7 @@ namespace operations_research {\n// - MakeNextNeighbor()\n%unignore IntVarLocalSearchOperator;\n%feature(\...
C++
Apache License 2.0
google/or-tools
fix pyls_api.py crash on python 3
261,230
30.08.2018 07:29:30
-7,200
4b793a16c4c51eac5215ec5796fdee139540fb2f
reorganize sat presolve of IntProd
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -555,24 +555,40 @@ bool PresolveIntMin(ConstraintProto* ct, PresolveContext* context) {\nbool PresolveIntProd(ConstraintProto* ct, PresolveContext* context) {\nif (H...
C++
Apache License 2.0
google/or-tools
reorganize sat presolve of IntProd
261,230
30.08.2018 07:59:49
-7,200
2d3c2f1bf7c374339a0ecd65d914a40f8f75b2ff
fix python examples for python3
[ { "change_type": "MODIFY", "old_path": "examples/python/appointments.py", "new_path": "examples/python/appointments.py", "diff": "# limitations under the License.\nfrom __future__ import print_function\n+from __future__ import division\n+\nimport argparse\nfrom ortools.constraint_solver import pywra...
C++
Apache License 2.0
google/or-tools
fix python examples for python3
261,230
30.08.2018 08:22:44
-7,200
ca650dc6235f580bc267226a6dc0d10a314eef48
fix some more python examples
[ { "change_type": "MODIFY", "old_path": "examples/python/vendor_scheduling.py", "new_path": "examples/python/vendor_scheduling.py", "diff": "@@ -79,22 +79,22 @@ def main():\nnum_solutions += 1\nfor i in range(num_vendors):\n- print 'Vendor %i: ' % i, possible_schedules[selected_schedules[i].Value()]\...
C++
Apache License 2.0
google/or-tools
fix some more python examples
261,218
30.08.2018 09:50:07
-7,200
aafa89099dd245b3470dc0ca1d520e19c010c9bd
Travis-CI: Add python2 and python3 jobs before only python (py3) job
[ { "change_type": "MODIFY", "old_path": ".travis.yml", "new_path": ".travis.yml", "diff": "@@ -13,7 +13,12 @@ matrix:\ndist: trusty\nlanguage: cpp\ncompiler: gcc\n- env: BUILDER=make DISTRO=native LANGUAGE=python\n+ env: BUILDER=make DISTRO=native LANGUAGE=python2\n+ - os: linux\n+ dist: trusty\n+ la...
C++
Apache License 2.0
google/or-tools
Travis-CI: Add python2 and python3 jobs - before only python (py3) job
261,218
30.08.2018 10:10:32
-7,200
09459919d18f5fd6b790e5f440fb6b4942f75b67
Travis-CI: fixup
[ { "change_type": "MODIFY", "old_path": ".travis/install.sh", "new_path": ".travis/install.sh", "diff": "@@ -70,7 +70,7 @@ if [ \"${BUILDER}\" == make ]; then\nbrew install swig;\nfi\nif [ \"${LANGUAGE}\" == python2 ]; then\n- brew upgrade python@2;\n+ brew outdated | grep -q python@2 && brew upgrade...
C++
Apache License 2.0
google/or-tools
Travis-CI: fixup
261,218
30.08.2018 10:11:24
-7,200
4320b494af35c0d1a7e4abbb6416151dcdabc1f7
python: fix test_python with python2.7
[ { "change_type": "MODIFY", "old_path": "examples/python/coins_grid.py", "new_path": "examples/python/coins_grid.py", "diff": "http://www.hakank.org/google_or_tools/\n\"\"\"\n+from __future__ import print_function\nimport sys\nfrom ortools.constraint_solver import pywrapcp\n" }, { "change_typ...
C++
Apache License 2.0
google/or-tools
python: fix test_python with python2.7
261,230
30.08.2018 11:28:36
-7,200
039f5067e680a016ba0834e4c8cb717d1df83519
Add StopSearch on SAT solution callback in java, C#
[ { "change_type": "MODIFY", "old_path": "ortools/sat/csharp/sat.i", "new_path": "ortools/sat/csharp/sat.i", "diff": "@@ -71,6 +71,7 @@ PROTO2_RETURN(\n%unignore operations_research::sat::SolutionCallback::OnSolutionCallback;\n%unignore operations_research::sat::SolutionCallback::SolutionBooleanValue;...
C++
Apache License 2.0
google/or-tools
Add StopSearch on SAT solution callback in java, C#
261,218
30.08.2018 11:58:02
-7,200
5bd9c1534120bd1d38d3420791568758760911bf
python: disable test working on unix
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "@@ -190,7 +190,7 @@ test_python_examples: python\n$(MAKE) rpy_wedding_optimal_chart\n$(MAKE) rpy_wedding_optimal_chart_sat\n$(MAKE) rpy_who_killed_agatha\n- $(MAKE) rpy_word_square...
C++
Apache License 2.0
google/or-tools
python: disable test working on unix
261,218
30.08.2018 13:34:50
-7,200
652377e27813c3b639b4d2e233decb1a480fb0f8
Update .gitignore for dotnet
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -88,24 +88,17 @@ cache/\n**/.vs/*\n**/dotnet-test/*\n-**/packages\n-\n-ortools/fsharp/**/bin\n-ortools/fsharp/**/obj\n-ortools/fsharp/**/packages\n-\n-examples/dotnet/**/bin\n-examples/dotnet/**/obj\n-\n+tools...
C++
Apache License 2.0
google/or-tools
Update .gitignore for dotnet
261,218
30.08.2018 14:35:34
-7,200
7da6e92fe75c5ab99dcc3fe208d4b52a409118fd
dotnet: fix clean_dotnet for FSharp
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -419,7 +419,7 @@ clean_dotnet:\n-$(DELREC) ortools$Sdotnet$S$(OR_TOOLS_ASSEMBLY_NAME)$Sruntime.json\n-$(DELREC) ortools$Sdotnet$S$(OR_TOOLS_ASSEMBLY_NAME)$Sbin\n-$(DELREC) o...
C++
Apache License 2.0
google/or-tools
dotnet: fix clean_dotnet for FSharp
261,230
30.08.2018 16:49:09
-7,200
def5b6751e0a8622259861995db109266dd28542
remove empty ctor from sat swig_helper solution callback; fix stop after n solution c# sat sample
[ { "change_type": "MODIFY", "old_path": "ortools/sat/samples/stop_after_n_solutions.cs", "new_path": "ortools/sat/samples/stop_after_n_solutions.cs", "diff": "@@ -32,9 +32,9 @@ public class VarArraySolutionPrinter : CpSolverSolutionCallback {\nConsole.WriteLine(\nString.Format(\"Stopping search after...
C++
Apache License 2.0
google/or-tools
remove empty ctor from sat swig_helper solution callback; fix stop after n solution c# sat sample
261,218
30.08.2018 13:24:33
-7,200
9d8301d3d0247526988c7d9b9d81efbb250d00c6
dotnet: Rework Xunit Tests
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -39,10 +39,10 @@ test_dotnet: dotnet\nelse\ndotnet: \\\nortoolslibs \\\n- csharp_dotnet \\\n- fsharp_dotnet\n+ dotnet_csharp \\\n+ dotnet_fsharp\n-test_dotnet: test_dotnet_e...
C++
Apache License 2.0
google/or-tools
dotnet: Rework Xunit Tests
261,230
30.08.2018 17:50:37
-7,200
14b0e5de452c01f1a97ceb435ad27588c354e0ce
fix python sat boolean value method in solution callback.
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -1354,7 +1354,7 @@ class CpSolverSolutionCallback(pywrapsat.SolutionCallback):\nif isinstance(lit, numbers.Integral):\nreturn bool(lit)\nelif isinstance(lit, IntVar) or ...
C++
Apache License 2.0
google/or-tools
fix python sat boolean value method in solution callback.
261,230
30.08.2018 18:11:47
-7,200
58ceaea59a91ef486b5e9fbae97df57d53d4a37b
Document how to stop search early
[ { "change_type": "MODIFY", "old_path": "ortools/sat/doc/solver.md", "new_path": "ortools/sat/doc/solver.md", "diff": "@@ -913,3 +913,280 @@ public class CodeSamplesSat\n}\n}\n```\n+\n+## Stopping search early\n+\n+Sometimes, one can decide that the current solution is good enough.\n+In this section,...
C++
Apache License 2.0
google/or-tools
Document how to stop search early
261,230
30.08.2018 23:36:56
-7,200
5e47ffaceb552477a4eca681142fd53f2ddf6f2d
fix nqueens2.cc
[ { "change_type": "MODIFY", "old_path": "examples/cpp/nqueens2.cc", "new_path": "examples/cpp/nqueens2.cc", "diff": "#include \"ortools/constraint_solver/constraint_solver.h\"\nDEFINE_int32(\n- size, 88,\n+ size, 0,\n\"Size of the problem. If equal to 0, will test several increasing sizes.\");\nnames...
C++
Apache License 2.0
google/or-tools
fix nqueens2.cc #695
261,230
30.08.2018 23:53:43
-7,200
a9cb8c1a1cd1826364e459f2980ab29cf0a091c2
remove duplicate code in sequence of if
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/presolve.cc", "new_path": "ortools/flatzinc/presolve.cc", "diff": "@@ -1381,24 +1381,12 @@ Presolver::RuleStatus Presolver::PresolveLinear(Constraint* ct,\nct->arguments.resize(1);\nct->arguments.push_back(Argument::IntegerValue(scalprod == rh...
C++
Apache License 2.0
google/or-tools
remove duplicate code in sequence of if
261,230
31.08.2018 08:51:00
-7,200
15e17afb02369b185e1fce3f1ccbece27c4e46b4
remove not exported example from README
[ { "change_type": "MODIFY", "old_path": "examples/cpp/README", "new_path": "examples/cpp/README", "diff": "@@ -51,10 +51,6 @@ Operations Research libraries. </summary>\ndemonstrates how to use dynamic column generation to solve a 2D\ncovering problem.\n- - Examples using multiple technologies:\n- - w...
C++
Apache License 2.0
google/or-tools
remove not exported example from README
261,218
31.08.2018 10:26:31
-7,200
19b8b6d3b5bd2524231b0497d192258fa78c7d5d
dotnet: Fix Google.OrTools.FSharp.Tests
[ { "change_type": "MODIFY", "old_path": "ortools/dotnet/Google.OrTools.FSharp.Tests/Google.OrTools.FSharp.Tests.fsproj.in", "new_path": "ortools/dotnet/Google.OrTools.FSharp.Tests/Google.OrTools.FSharp.Tests.fsproj.in", "diff": "</ItemGroup>\n<ItemGroup>\n- <PackageReference Include=\"Google.OrTools\...
C++
Apache License 2.0
google/or-tools
dotnet: Fix Google.OrTools.FSharp.Tests
261,218
31.08.2018 10:27:33
-7,200
e6013f3e6dde822a185497f9fd49999360f2e82a
dotnet: Add test_dotnet_[cf]sharp to test_dotnet
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -42,7 +42,11 @@ dotnet: \\\ndotnet_csharp \\\ndotnet_fsharp\n-test_dotnet: test_donet_samples test_dotnet_examples\n+test_dotnet: \\\n+ test_dotnet_csharp \\\n+ test_dotnet_...
C++
Apache License 2.0
google/or-tools
dotnet: Add test_dotnet_[cf]sharp to test_dotnet
261,230
31.08.2018 16:12:31
-7,200
b5616d4f096699906a1e9d3a67a096492190bf71
Update compilation commands for SCIP on unix
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -649,11 +649,11 @@ Makefile.local: makefiles/Makefile.third_party.unix.mk\n@echo \"# Define UNIX_GUROBI_DIR and GUROBI_LIB_VERSION to use Gurobi\" >> Mak...
C++
Apache License 2.0
google/or-tools
Update compilation commands for SCIP on unix
261,230
31.08.2018 16:36:17
-7,200
1719dc993ab4ba2206dd42095649643d13517404
remove OptionalIntVar from sat C# API
[ { "change_type": "MODIFY", "old_path": "examples/dotnet/gate_scheduling_sat.cs", "new_path": "examples/dotnet/gate_scheduling_sat.cs", "diff": "@@ -85,21 +85,20 @@ public class GateSchedulingSat\nperformed.Add(performed_on_m0);\n// Create an optional copy of interval to be executed on machine 0.\n- ...
C++
Apache License 2.0
google/or-tools
remove OptionalIntVar from sat C# API #836
261,230
31.08.2018 16:56:55
-7,200
651e44cf0a048cb228d1d06d4efc3feb976175eb
remove OptionalIntVar from the sat Python API
[ { "change_type": "MODIFY", "old_path": "examples/python/gate_scheduling_sat.py", "new_path": "examples/python/gate_scheduling_sat.py", "diff": "@@ -60,19 +60,15 @@ def main():\nperformed.append(performed_on_m0)\n# Create an optional copy of interval to be executed on machine 0.\n- start0 = model.New...
C++
Apache License 2.0
google/or-tools
remove OptionalIntVar from the sat Python API
261,218
31.08.2018 18:12:52
-7,200
837465fbd1f51b6bcc11c31633bdd71b2e241c13
make: Remove test.mk
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.test.mk", "new_path": "makefiles/Makefile.test.mk", "diff": "-# Targets to run tests\n-.PHONY: test_cc_examples\n-test_cc_examples: cc\n- $(BIN_DIR)$Sgolomb$E --size=5\n- $(BIN_DIR)$Scvrptw$E\n- $(BIN_DIR)$Sflow_api$E\n- $(BIN_DIR)$Slinear_p...
C++
Apache License 2.0
google/or-tools
make: Remove test.mk
261,218
31.08.2018 18:13:12
-7,200
ca00c21e3c92efd672dd49fae51a6d470c766f81
python: Makefile cleanup
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.python.mk", "new_path": "makefiles/Makefile.python.mk", "diff": "@@ -51,7 +51,9 @@ python: \\\npysat \\\npyrcpsp\n-test_python: test_python_examples\n+test_python: \\\n+ test_python_samples \\\n+ test_python_examples\nBUILT_LANGUAGES +=, Pyt...
C++
Apache License 2.0
google/or-tools
python: Makefile cleanup
261,218
31.08.2018 18:13:31
-7,200
6d9fae0be4b5e4eba35b57c7ab2aff004dddce54
java: Makefile cleanup
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.java.mk", "new_path": "makefiles/Makefile.java.mk", "diff": "@@ -10,7 +10,8 @@ else\n@echo\nendif\n-JAVA_OR_TOOLS_LIBS= $(LIB_DIR)/com.google.ortools$J $(LIB_DIR)/$(LIB_PREFIX)jniortools.$(JNI_LIB_EXT)\n+JAVA_OR_TOOLS_LIBS= $(LIB_DIR)/com.go...
C++
Apache License 2.0
google/or-tools
java: Makefile cleanup
261,218
31.08.2018 18:13:50
-7,200
304df220d2c79bb89873c85c2ec3a8b849662173
dotnet: Makefile cleanup
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.dotnet.mk", "new_path": "makefiles/Makefile.dotnet.mk", "diff": "@@ -28,8 +28,8 @@ endif\nTEMP_DOTNET_DIR=temp_dotnet\n# Main target\n-.PHONY: dotnet # Build OrTools for .NET\n-.PHONY: test_dotnet # Test dotnet version of OR-Tools\n+.PHONY: ...
C++
Apache License 2.0
google/or-tools
dotnet: Makefile cleanup
261,218
31.08.2018 18:14:17
-7,200
6837decccc02fcb398d8f725577527d413be49a2
cpp: Makefile cleanup
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -18,14 +18,36 @@ else\nprefix ?= /usr/local\nendif\n+HAS_CCC = true\n+ifndef CCC\n+HAS_CCC =\n+endif\n+\n# Main target\n.PHONY: cc # Build C++ OR-Tools and C++ Examples.\n-cc: ort...
C++
Apache License 2.0
google/or-tools
cpp: Makefile cleanup
261,230
01.09.2018 08:13:21
-7,200
265e54a9aaf72d1783db8dfdd574895ab2755a79
simplify school scheduling sat example
[ { "change_type": "MODIFY", "old_path": "examples/python/school_scheduling_sat.py", "new_path": "examples/python/school_scheduling_sat.py", "diff": "@@ -113,27 +113,23 @@ class SchoolSchedulingSatSolver(object):\nsum(teacher_courses[course, subject, t]\nfor t in all_teachers) == 1)\n- # Solution coll...
C++
Apache License 2.0
google/or-tools
simplify school scheduling sat example
261,230
01.09.2018 08:48:43
-7,200
5824112e27baaa39f04705a005dd8faeca28e425
fix issue 260 for the CP-SAT solver
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/tests/issue260.py", "diff": "+#from ortools.constraint_solver import pywrapcp\n+from ortools.sat.python import cp_model\n+\n+model = cp_model.CpModel()\n+y = model.NewIntVar(0, 3, 'y')\n+y == None\n+\n+#solver = pywrapcp.Solver('my solv...
C++
Apache License 2.0
google/or-tools
fix issue 260 for the CP-SAT solver
261,230
01.09.2018 15:08:37
-7,200
9a65e2fda1bebc69e1cf98727fd1b595db9ac1a3
rollback last bump
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.third_party.unix.mk", "new_path": "makefiles/Makefile.third_party.unix.mk", "diff": "@@ -20,7 +20,7 @@ PROTOC_BINARY := $(shell $(WHICH) ${UNIX_PROTOC_BINARY})\n# Tags of dependencies to checkout.\nGFLAGS_TAG = 2.2.1\nGLOG_TAG = 0.3.5\n-PROT...
C++
Apache License 2.0
google/or-tools
rollback last bump
261,230
01.09.2018 16:55:03
-7,200
3c66f269c9ef19abfaff931934258f7815cde051
remove missing example from README
[ { "change_type": "MODIFY", "old_path": "examples/cpp/README", "new_path": "examples/cpp/README", "diff": "@@ -30,7 +30,6 @@ Operations Research libraries. </summary>\n- Routing examples:\n- tsp.cc Travelling Salesman Problem.\n- cvrptw.cc Capacitated Vehicle Routing Problem with Time Windows.\n- - c...
C++
Apache License 2.0
google/or-tools
remove missing example from README
261,230
01.09.2018 16:55:28
-7,200
4b5b2a44d65b7c022772d050471b477e98918de7
fix file comment
[ { "change_type": "MODIFY", "old_path": "examples/cpp/flexible_jobshop.h", "new_path": "examples/cpp/flexible_jobshop.h", "diff": "@@ -80,7 +80,7 @@ class FlexibleJobShopData {\n~FlexibleJobShopData() {}\n- // Parses a file in .fjp format and loads the model. Note that the format is\n+ // Parses a fi...
C++
Apache License 2.0
google/or-tools
fix file comment
261,230
02.09.2018 17:15:55
-7,200
beb05f0079024a49e27b4b292e896086d840b6c9
Sat implementation of vendor scheduling, fixed a few bugs found in the process
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/python/vendor_scheduling_sat.py", "diff": "+# Copyright 2010-2017 Google\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a cop...
C++
Apache License 2.0
google/or-tools
#303 Sat implementation of vendor scheduling, fixed a few bugs found in the process
261,218
03.09.2018 11:28:13
-7,200
e4bf44b9fb084fa785319248c9fd2cf47fa127c4
cc: fix make test_cc
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -428,22 +428,22 @@ $(OBJ_DIR)/sat_runner.$O: \\\n############################\n.PHONY: test_cc_examples # Build and Run all C++ Examples (located in examples/cpp)\ntest_cc_example...
C++
Apache License 2.0
google/or-tools
cc: fix make test_cc
261,230
03.09.2018 16:15:13
-7,200
b7c97377cffb2c640d4d5f9db2914299d14340ea
[FZ] downgrade nosets.mzn to 2.1.7; [SAT] polish presolve, expand code of previous commits; add more presolve on circuit
[ { "change_type": "MODIFY", "old_path": "ortools/flatzinc/cp_model_fz_solver.cc", "new_path": "ortools/flatzinc/cp_model_fz_solver.cc", "diff": "@@ -234,7 +234,7 @@ void CpModelProtoWithMapping::FillConstraint(const fz::Constraint& fz_ct,\nFillLinearConstraintWithGivenDomain({rhs, rhs}, fz_ct, ct);\n...
C++
Apache License 2.0
google/or-tools
[FZ] downgrade nosets.mzn to 2.1.7; [SAT] polish presolve, expand code of previous commits; add more presolve on circuit
261,230
04.09.2018 08:37:51
-7,200
4f3db331e94b4bdc64f3973663575a4ccc46ce37
remove nosets.mzn from flatzinc; should be picked in the minizinc std library
[ { "change_type": "DELETE", "old_path": "ortools/flatzinc/mznlib_sat/nosets.mzn", "new_path": null, "diff": "-%%% Inclusion of this file eliminates set variables by converting them into arrays of var bool.\n-% AUTHORS\n-% Guido Tack <guido.tack@monash.edu>\n-% Gleb Belov <gleb.belov@monash.edu>\n-%\n...
C++
Apache License 2.0
google/or-tools
remove nosets.mzn from flatzinc; should be picked in the minizinc std library
261,218
04.09.2018 10:05:59
-7,200
a1fdabf3b17db21aa50dfaae26ea06f8ee7920cb
Makefile: remove redundant ortoolslibs target prefere to use `cc` phony target or $(OR_TOOLS_LIBS) file
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.cpp.mk", "new_path": "makefiles/Makefile.cpp.mk", "diff": "@@ -18,6 +18,10 @@ else\nprefix ?= /usr/local\nendif\n+# All libraries and dependecies\n+OR_TOOLS_LIBS = $(LIB_DIR)/$(LIB_PREFIX)ortools.$L\n+OR_TOOLS_LNK += $(PRE_LIB)ortools$(POST_...
C++
Apache License 2.0
google/or-tools
Makefile: remove redundant ortoolslibs target - prefere to use `cc` phony target or $(OR_TOOLS_LIBS) file
261,218
04.09.2018 10:06:49
-7,200
836ecba6bd21ed9e3ea95442e881da1bb26f9b77
java: Remove $(JAR) now test_java depends on rjava_% which generate the same list
[ { "change_type": "MODIFY", "old_path": "makefiles/Makefile.java.mk", "new_path": "makefiles/Makefile.java.mk", "diff": "@@ -14,62 +14,6 @@ JAVA_OR_TOOLS_LIBS= $(LIB_DIR)/com.google.ortools$J\nJAVA_OR_TOOLS_NATIVE_LIBS := $(LIB_DIR)/$(LIB_PREFIX)jniortools.$(JNI_LIB_EXT)\nJAVAFLAGS = -Djava.library.p...
C++
Apache License 2.0
google/or-tools
java: Remove $(JAR) - now test_java depends on rjava_% which generate the same list
261,218
03.09.2018 15:47:03
-7,200
a2259ec00c53339ed5ed5e018c025c7e20b70eb7
Split Appveyor CI by language. one job `make all` take more than 1 hour (CI limit for a job)
[ { "change_type": "MODIFY", "old_path": ".appveyor.yml", "new_path": ".appveyor.yml", "diff": "@@ -10,12 +10,27 @@ environment:\n- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017\nVS: 2017\nBUILDER: make\n- LANGUAGE: all\n+ LANGUAGE: cc\n+\n+ - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017\n+ VS: 2...
C++
Apache License 2.0
google/or-tools
Split Appveyor CI by language. - one job `make all` take more than 1 hour (CI limit for a job)
261,230
04.09.2018 18:47:10
-7,200
9a116eba393a62ede652f5cdc8bca9c3b879f67f
remove SolutionObserver is sat/swig_helper.h; rename WithObserver into WithCallback
[ { "change_type": "MODIFY", "old_path": "examples/python/balance_group_sat.py", "new_path": "examples/python/balance_group_sat.py", "diff": "@@ -151,7 +151,7 @@ class SolutionPrinter(cp_model.CpSolverSolutionCallback):\nsolver = cp_model.CpSolver()\nsolution_printer = SolutionPrinter()\n-status = sol...
C++
Apache License 2.0
google/or-tools
remove SolutionObserver is sat/swig_helper.h; rename WithObserver into WithCallback
261,230
05.09.2018 10:57:27
-7,200
36393a1733aee5f6ed31c17954c85f2f5c9beeda
remove useless python __init__
[ { "change_type": "MODIFY", "old_path": "ortools/sat/python/cp_model.py", "new_path": "ortools/sat/python/cp_model.py", "diff": "@@ -1305,9 +1305,6 @@ def EvaluateBooleanExpression(literal, solution):\nclass CpSolverSolutionCallback(pywrapsat.SolutionCallback):\n\"\"\"Nicer solution callback that use...
C++
Apache License 2.0
google/or-tools
remove useless python __init__
261,230
05.09.2018 11:54:28
-7,200
466b2ee0e717539e4fcd29b9b971f9892412fd8a
fix circuit presolve; polish sat cookbook; fix bug with optional intervals sharing the same boolean
[ { "change_type": "MODIFY", "old_path": "ortools/sat/cp_model_presolve.cc", "new_path": "ortools/sat/cp_model_presolve.cc", "diff": "@@ -210,11 +210,19 @@ struct PresolveContext {\nis_unsat = true;\nreturn;\n}\n+ bool added = false;\nif (RefIsPositive(ref_a) == RefIsPositive(ref_b)) {\n+ added |=\naf...
C++
Apache License 2.0
google/or-tools
fix circuit presolve; polish sat cookbook; fix bug with optional intervals sharing the same boolean
261,230
05.09.2018 14:30:42
-7,200
1cda356ebef058585863dbacf7da2ae18a936979
fix vendor scheduling sat notebook
[ { "change_type": "MODIFY", "old_path": "examples/python/vendor_scheduling_sat.py", "new_path": "examples/python/vendor_scheduling_sat.py", "diff": "@@ -51,7 +51,7 @@ class SolutionPrinter(cp_model.CpSolverSolutionCallback):\nreturn self.__solution_count\n-def VendorScheduling():\n+def main(():\n# Cr...
C++
Apache License 2.0
google/or-tools
fix vendor scheduling sat notebook
261,230
05.09.2018 14:32:49
-7,200
6368e91bd39b42ea893ce2c8c58a18d138912fc1
fix vendor_scheduling_sat + notebook
[ { "change_type": "MODIFY", "old_path": "examples/notebook/vendor_scheduling_sat.ipynb", "new_path": "examples/notebook/vendor_scheduling_sat.ipynb", "diff": "\" return self.__solution_count\\n\",\n\"\\n\",\n\"\\n\",\n- \"def VendorScheduling():\\n\",\n\"# Create the model.\\n\",\n\"model = cp_model....
C++
Apache License 2.0
google/or-tools
fix vendor_scheduling_sat + notebook