Commit Graph

34 Commits

Author SHA1 Message Date
Laurent Perron
f0c6c3b487 [CP-SAT] prepare for custom search; enable ExportToFile in binary format; add balas scheduling cut 2021-04-23 14:57:27 +02:00
Lalith Suresh
a89b4b1db5 sat: take advantage of cached constants in CpModel.indexFromConstant()
Signed-off-by: Lalith Suresh <suresh.lalith@gmail.com>
2021-04-08 22:30:40 -07:00
Mizux Seiha
8bb54b04ef Bump Copyright to 2021
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
2021-04-01 21:00:53 +02:00
Corentin Le Molgat
f334ace8f2 remove trailing whitespace 2021-04-01 12:11:48 +02:00
Laurent Perron
856ee71dc3 polish CpSolver java 2021-03-12 18:12:23 +01:00
Laurent Perron
d1e6c62b65 missing changes 2021-03-12 13:52:05 +01:00
Laurent Perron
55c40e6c89 capture CP-SAT log in python/java/.NET; visual tweak of the log; tweak the logging facilities for CP-SAT 2021-03-11 21:07:28 +01:00
Laurent Perron
13fd763ac6 Exception -> RuntimeException in CP-SAT java 2021-02-20 14:28:19 +01:00
Laurent Perron
9d7acd602e polish CP-SAT java API 2021-02-15 12:26:20 +01:00
Laurent Perron
de9480794f fix new CP-SAT java api 2021-02-15 10:13:23 +01:00
Laurent Perron
418b196b19 cache constant vars in CP-SAT java API 2021-02-15 09:29:29 +01:00
Laurent Perron
598c01026d fix 2021-02-14 14:14:06 +01:00
Laurent Perron
b519ead83f add LinearExpr.booleanSum and LinearExpr.ScalProd to java CP-SAT 2021-02-14 12:48:45 +01:00
Laurent Perron
ce52397ccf fix doc for assumptions new API 2021-02-05 17:18:58 +01:00
Xiang Chen
2d5cd894c7 Add ClearHints() and ClearAssumptions() 2021-02-05 11:21:57 +01:00
Xiang Chen
b34ceefb86 Wrap CP-SAT assumptions 2021-02-04 23:53:50 +01:00
Corentin Le Molgat
fb8e8b0693 Sync Google <=> GitHub 2021-01-26 15:52:32 +01:00
Mizux Seiha
11b72a2dd2 java: Fix missing import in Loader.java 2020-12-29 22:11:54 +01:00
Mizux Seiha
92893142a4 java: allow concurrent call to loader (Fix #2294) 2020-12-29 13:33:04 +01:00
Laurent Perron
c80eec373b [CP-SAT] Change semantics/API of the reservoir constraint; added presolve on the reservoir constraint; experimental propagator for the reservoir constraint; fix #2293 2020-12-24 06:41:44 +01:00
Corentin Le Molgat
8c839e6775 Cleanup JavaDecisionBuilder.java 2020-11-27 11:54:45 +01:00
Corentin Le Molgat
4cd85e08c4 Export Google update 2020-11-18 16:11:32 +01:00
Corentin Le Molgat
c75ac92a5a Sync from Google to GitHub 2020-11-16 17:50:54 +01:00
Laurent Perron
2dfe9eb291 minor reindent 2020-11-03 18:41:07 +01:00
Corentin Le Molgat
b5e70663c7 Format using clang-format 11 2020-10-29 14:26:41 +01:00
Laurent Perron
fa6f84a104 move include from .cc to .h; tweak javadoc 2020-10-18 17:34:29 +02:00
Laurent Perron
bcb7b3073d large synchro with internal code: linear solver: introduce intermediate SCIP layer called gscip; sat: more work on slow propagation detection; base: remove statusor, use abseil version; constraint solver: more work on internal local search 2020-10-18 16:38:25 +02:00
Mizux Seiha
333403197a cmake: Fix ortools-java depends 2020-10-08 17:34:12 +02:00
Laurent Perron
a371180ea5 fix and unit tests for cp-sat export to file 2020-10-08 14:58:51 +02:00
Laurent Perron
d123dfadf6 add CpModel::ExportToFile for CP-SAT in all non C++ languages 2020-10-08 14:32:57 +02:00
Mizux Seiha
00387c133f cmake(java): Add Maven Package (#202) 2020-05-18 14:15:47 +02:00
Corentin Le Molgat
22356ff523 Sync g3 -> gh part_2 2020-03-09 18:34:21 +01:00
Laurent Perron
6d61ac1cb0 query the domain from an IntVar in Python/Java/C# + tests; small speedup of sat reversible data structures 2020-01-24 12:20:08 -08:00
Laurent Perron
654475905b add java as a src directory for java sources 2019-12-31 18:23:12 +01:00