Laurent Perron
72d75ca109
[CP-SAT] work on lrat; better expansion of variables only appearing in encoding constraints
2025-11-18 16:24:18 +01:00
Laurent Perron
5d85f840b5
[CP-SAT] fix #4839 ; experimental code for lrat checker; experimental code to control the boolean expansion of small linear2 equations
2025-09-29 16:35:16 +02:00
Laurent Perron
188cfcbde5
[CP-SAT] work on precedences; improve scheduling cuts
2025-05-27 14:34:42 +02:00
Laurent Perron
c06d62f0cb
rename internal sat method; more tests
2025-04-03 16:18:34 +02:00
Corentin Le Molgat
62dca6e486
backport vlog_is_on.h patch from main
2025-03-13 15:56:35 +01:00
Mizux Seiha
068359c162
ortools: backport from main
2025-03-04 21:09:32 +01:00
Corentin Le Molgat
a66a6daac7
Bump Copyright to 2025
2025-01-10 11:35:44 +01:00
Laurent Perron
dba2281f13
[CP-SAT] more work on no_overlap_2d; revisit all includes
2024-12-04 17:47:28 +01:00
Laurent Perron
21a75638c2
partial sync with main (without the routing part)
2024-07-12 13:56:11 +02:00
Mizux Seiha
a76bf1c5dd
bump license boilerplate
2024-01-04 13:43:15 +01:00
Laurent Perron
00fd31bd6d
[CP-SAT] rewrite clause management; improve probing by probing clauses and at_most_ones from the SAT engine; experimental no_overlap_2d energetic propagator code
2023-12-04 15:06:08 +01:00
Laurent Perron
990fc9eb4a
[CP-SAT] simplify clauses periodically (off by default); remove pure sat code path
2023-11-22 14:48:08 +01:00
Laurent Perron
08e53974c7
[CP-SAT] tweak model cloning API; implement it in java; merge pure sat presolve with normal presolve
2023-10-25 15:38:57 +02:00
Laurent Perron
01dd97f64e
[CP-SAT] support int_prod with arity > 2; fix a few bugs, mostly around unsat models; add parameters for lp tolerance; optimize the code on hot spot
2023-10-18 15:47:37 +02:00
Laurent Perron
f1bbd650ab
[CP-SAT] add automatic cast Literal -> LiteralIndex; implement general division where the denominator can have any domain that does not contain 0
2023-10-12 10:06:27 +02:00
Laurent Perron
407c9bb5dc
[CP-SAT] fix overflow in presolve, check failed in feasibility_jump; remove obsolete macro
2023-08-30 10:04:11 -04:00
Laurent Perron
224a38f87f
cleanup code
2023-05-24 11:42:11 +02:00
Laurent Perron
70abbdf825
[CP-SAT] IsModelUnsat -> ModelIsUnsat; fix bug with variables with holes in domain; fix cumulative energetic cut with makespan
2022-09-21 13:35:11 +02:00
Laurent Perron
87ca4f58ad
[CP-SAT] bump license years; fix scheduling cuts; improve lb_tree_search
2022-06-16 15:21:00 +02:00
Laurent Perron
ba15d312ba
[CP-SAT] improve cuts diversity; fix infinite loop in the ttef constraint; improve var domination; remove wrong DCHECK
2022-05-11 17:23:59 +02:00
Laurent Perron
74d5a10f50
minor sync
2022-04-08 11:01:13 +02:00
Laurent Perron
2a5a2b7069
remove types warnings; add stronger scheduling cuts
2022-04-06 17:33:00 +02:00
Laurent Perron
1605046dba
remove diffn energetic propagator, use the cumulative_energy overload checker
2022-03-21 17:37:47 +01:00
Laurent Perron
13dbe6a387
[CP-SAT] fix crash in core search and in presolve; add more needed stl includes
2022-03-14 15:06:11 +01:00
Laurent Perron
c82cfdc9ad
remove map_util from most of the code; absl::make_unique and absl::optional -> stl version
2022-03-09 09:08:40 +01:00
Laurent Perron
19667205a2
std::set/map -> absl::btree_set/map
2022-02-25 09:47:39 +01:00
Laurent Perron
5e41f40c2f
remove range-loop warnings from the sat code
2022-02-24 14:17:43 +01:00
Laurent Perron
8fe2df9a18
[CP-SAT] regenerates all includes; improve core solver when the objective is pseudo-boolean
2022-02-15 18:00:11 +01:00
Laurent Perron
5e9d7ab240
simplify random code
2021-11-27 21:55:58 +01:00
Laurent Perron
1c512fd12d
change a bit the export code: propagate effect
2021-09-07 11:53:01 +02:00
slowy07
2e0ec51049
fix: typo spelling grammar
2021-08-16 10:49:00 +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
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
9de99d789e
improve logging facilities, use it in the CP-SAT solver
2021-03-10 11:40:28 +01:00
Laurent Perron
bad5c2032b
int64 -> int64_t
2021-03-04 18:26:01 +01:00
Laurent Perron
3f177174a8
[CP-SAT] rewrite random management; experimental support for affine expressions in the interval definition; cache precedence literals and constraints across reservoir constraints; fix presolve for the element constraint
2020-12-18 10:16:56 +01:00
Laurent Perron
d5c7c48e79
int_type_indexed_vector -> strong_vector; polish cp-sat probing workers
2020-11-19 00:17:26 +01:00
Laurent Perron
6467dc69b0
reformat the code; [CP-SAT] add dominated columns presolve
2020-10-28 13:42:51 +01:00
Mizux Seiha
20d0496bfb
reapply google format
2020-10-23 00:45:17 +02:00
Laurent Perron
a4258f2bdf
switch flags setters and getters to the absl format
2020-10-21 00:21:54 +02:00
Laurent Perron
7268ce5589
add incremental in-search preprocessing to SAT; fix #2040 ; fix rare check in glop
2020-06-03 12:07:07 +02:00
Laurent Perron
581d5606e0
fix #2005 ; massive rewrite of pure sat processing; RINS/RENS improvements in CP-SAT; get rid of base/status.h in favor of the absl version
2020-05-06 18:22:10 +02:00
Laurent Perron
a0cc52731e
expand table constraints; improve cut management; speed up presolve
2020-03-19 00:24:10 +01:00
Laurent Perron
6ec3362ad0
speed up presolve
2019-10-24 18:24:11 +02:00
Laurent Perron
2dbf3895f2
remove more usage of 0LL and 1LL; reformat code
2019-09-12 10:11:02 +02:00
Laurent Perron
9e0f52f562
improve cp-sat internals
2019-03-12 17:41:26 +01:00
Corentin Le Molgat
b027e57e95
dotnet: Remove reference to dotnet release command
...
- Currently not implemented...
Add abseil patch
- Add patches/absl-config.cmake
Makefile: Add abseil-cpp on unix
- Force abseil-cpp SHA1 to 45221cc
note: Just before the PR #136 which break all CMake
Makefile: Add abseil-cpp on windows
- Force abseil-cpp SHA1 to 45221cc
note: Just before the PR #136 which break all CMake
CMake: Add abseil-cpp
- Force abseil-cpp SHA1 to 45221cc
note: Just before the PR #136 which break all CMake
port to absl: C++ Part
- Fix warning with the use of ABSL_MUST_USE_RESULT
> The macro must appear as the very first part of a function
declaration or definition:
...
Note: past advice was to place the macro after the argument list.
src: dependencies/sources/abseil-cpp-master/absl/base/attributes.h:418
- Rename enum after windows clash
- Remove non compact table constraints
- Change index type from int64 to int in routing library
- Fix file_nonport compilation on windows
- Fix another naming conflict with windows (NO_ERROR is a macro)
- Cleanup hash containers; work on sat internals
- Add optional_boolean sub-proto
Sync cpp examples with internal code
- reenable issue173 after reducing number of loops
port to absl: Python Part
- Add back cp_model.INT32_MIN|MAX for examples
Update Python examples
- Add random_tsp.py
- Run words_square example
- Run magic_square in python tests
port to absl: Java Part
- Fix compilation of the new routing parameters in java
- Protect some code from SWIG parsing
Update Java Examples
port to absl: .Net Part
Update .Net examples
work on sat internals; Add C++ CP-SAT CpModelBuilder API; update sample code and recipes to use the new API; sync with internal code
Remove VS 2015 in Appveyor-CI
- abseil-cpp does not support VS 2015...
improve tables
upgrade C++ sat examples to use the new API; work on sat internals
update license dates
rewrite jobshop_ft06_distance.py to use the CP-SAT solver
rename last example
revert last commit
more work on SAT internals
fix
2018-11-30 14:48:55 +01:00
Laurent Perron
87b9d55b21
update license headers
2018-11-10 18:00:53 +01:00
Corentin Le Molgat
f2989d319d
Replace non ASCII character '–' in comments
...
- Crash on ubuntu 16.04 during 'make java'...
2018-09-10 13:37:04 +02:00
Laurent Perron
4caaef3c23
deep sync with base library renaming; lint checking; Speedup sat; new crash procedure for glop
2018-08-28 11:19:49 +02:00