Laurent Perron
c0d0cebfb4
fix incomplete propagation of diffn; rename cp-sat python test method
2021-04-14 18:45:31 +02:00
Laurent Perron
813a92f313
much more pedantic checks in python CP-SAT
2021-04-14 14:34:16 +02:00
Mizux Seiha
4ad9d0b954
sat: [u]int32 -> [u]int32_t
...
note: sed -i 's/\b\([u]\?int32\)\b/\1_t/g' *.h *.cc
2021-04-05 13:48:22 +02: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
a40143cdd2
cpp: Migrate int64 to int64_t
2021-04-01 20:20:43 +02:00
Laurent Perron
b93f3f4a2b
fix #2454
2021-03-22 16:21:49 +01:00
Laurent Perron
4ef22c719e
remove useless swig include
2021-03-19 16:25:47 +01:00
Laurent Perron
dab31c5fe0
polish logs
2021-03-12 15:07:44 +01:00
Laurent Perron
968113be63
polish java/python/.net log from CP-SAT
2021-03-12 13:27:14 +01:00
Laurent Perron
4d1b9d227f
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:17 +01:00
Laurent Perron
bad5c2032b
int64 -> int64_t
2021-03-04 18:26:01 +01:00
Laurent Perron
5c11d9c0ba
fixes
2021-02-17 18:38:59 +01:00
Laurent Perron
948476129c
add support for model deep copy in C++ and python; increase the frequency of time limit checks in code solving
2021-02-17 16:42:54 +01:00
Laurent Perron
1d9174516f
fix typos
2021-02-15 12:26:45 +01:00
Laurent Perron
ce52397ccf
fix doc for assumptions new API
2021-02-05 17:18:58 +01:00
Xiang Chen
b34ceefb86
Wrap CP-SAT assumptions
2021-02-04 23:53:50 +01:00
Laurent Perron
8f458b3c38
add python ClearHints method to CpSolver
2021-02-04 18:14:43 +01:00
Xiang Chen
71c9abe73d
[Python] Type Hint for CpSolver.ResponseProto
2021-02-04 14:22:53 +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
Mizux Seiha
05f12990c9
remove iteritems() usage
2020-11-18 13:39:11 +01: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
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
Laurent Perron
6b5826265d
fix doc
2020-08-14 17:56:17 +02:00
Laurent Perron
29b6f9a6f5
more work on CP-SAT
2020-06-11 10:01:48 +02:00
Mizux Seiha
90a3155af1
cmake(python): Fix module update
2020-05-20 18:46:57 +02:00
Mizux Seiha
775aec03dd
cmake(python): Refactor
...
* Use new Python module
* Use setup.py.in input file (should fix windows error)
2020-05-20 10:13:14 +02:00
Xiang Chen
4ba5921aa1
Remove redundant CapInt64
2020-05-18 21:39:47 +02:00
Xiang Chen
532635de74
Remove redundant isinstance
2020-05-18 17:49:24 +02:00
Xiang Chen
cead10f2d2
[Python] Allow StatusName without parameters
2020-03-19 12:59:48 +01:00
Corentin Le Molgat
22356ff523
Sync g3 -> gh part_2
2020-03-09 18:34:21 +01:00
Corentin Le Molgat
f2981e11c3
CMake:python: Add missing definition for swig
2020-03-05 13:04:08 +01:00
Corentin Le Molgat
4c7456b175
CMake: Update Python support
...
* Add define SWIGWORDSIZE64 on Linux
* Add -doxygen option
* add ortools/util/python
* Move python generated stuff to BINARY_DIR/python
* Bump CMake >= 3.14 as requirement
* SWIG module rework from 3.9 to 3.14
* Python module rework in 3.12
* Drop Python 2.7 support (like in Makefile)
* Fix clean target
* OUTPUT/BYPRODUCTS path are relative to CURRENT_BINARY_DIR not WORKING_DIR
* Fix ortools package install in virtualenv
* Clean target now remove the <build>/venv directory
2020-02-28 08:21:27 +01:00
Xiang Chen
d8876d50a5
Simplify AddElement on integer index
2020-02-19 00:00:18 +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
6bb8272b2a
[CP-SAT] improve rounding methods in linear cuts
2019-12-16 15:33:52 +01:00
Laurent Perron
dc3d9ccf84
internal improvemensts
2019-12-05 16:36:11 +01:00
Laurent Perron
fd04db1add
fix #1766
2019-12-05 11:28:43 +01:00
Laurent Perron
09063ae0c2
small optim; reindent
2019-11-14 12:42:05 -08:00
Laurent Perron
3a631191a1
polish sat recipies
2019-09-12 10:52:29 +02:00
Laurent Perron
2dbf3895f2
remove more usage of 0LL and 1LL; reformat code
2019-09-12 10:11:02 +02:00
Laurent Perron
09655b81ea
add LinearExpr.Term() API; improve internals
2019-08-22 13:15:49 +02:00
Xiang Chen
c5bc6e2519
Added AddHint method to CpModel
2019-07-21 03:11:38 +02:00
Laurent Perron
f32e012aed
works on CP-SAT and cuts
2019-07-18 11:36:47 -07:00
Laurent Perron
4276a58400
work on lns and search
2019-07-17 07:08:16 -07:00
Laurent Perron
b3c9ac9de8
fix #1413
2019-07-15 10:26:19 -07:00
Laurent Perron
5a334386a2
add comments
2019-06-28 10:58:35 +02:00
Laurent Perron
7115cf570f
reorganize SIGINT catching
2019-06-27 17:28:56 +02:00
Laurent Perron
bbc68ee13f
remove functions from python CP-SAT doc
2019-06-26 11:07:58 +02:00
Laurent Perron
67420461a2
improve doc
2019-06-24 19:09:45 +02:00