Laurent Perron
2009df324c
reindent
2025-04-14 16:34:49 +02:00
Corentin Le Molgat
a5bbbcbcff
cmake: BZip2 fixup
2025-04-07 17:46:43 +02:00
Laurent Perron
c7fbf3118d
update routing; move theta_tree to util; remove obsolete sat routing code
2025-03-29 11:21:26 +01:00
Mizux Seiha
af5f03102f
cmake(java): allow to not load highs or scip dll.
...
should fix #4600
2025-03-28 16:32:05 +01:00
Mizux Seiha
51e348357d
cmake: Enable soplex when building SCIP
...
* use SCIP::libscip
note: While scip provide ALIAS,
they forget to use it when `install(export ...)`
* update internal docs/
* build boost as static libraries
2025-03-12 14:12:54 +01:00
Laurent Perron
6a339f633f
[CP-SAT] update routing/scheduling code; manu bug fixes; improve java doc
2025-02-16 15:22:41 +01:00
Corentin Le Molgat
281a9f8e14
export from google3
2025-02-07 17:29:05 +01:00
Mizux Seiha
d3af4d76c9
cmake: Fix and enabled shared lib support with MSVC
...
* Add decldll to proto
* rework init to make it working for MSVC
* fix test_xprs_interface build
dotnet: Fix MSVC shared libs support
* Fix csproj to include libortools.dll
java: Fix MSVC shared_libs support
* Fix runtime jar to include libortools.dll
python: Fix MSVC shared_libs support
* fix __init__.py.in loading for MSVC
2025-02-04 19:42:22 +01:00
Corentin Le Molgat
c34026b101
Bump copyright to 2025
...
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
Laurent Perron
d8c3e49e5b
[CP-SAT] more work on no_overlap_2d; revisit all includes
2024-12-04 17:47:10 +01:00
Laurent Perron
b33ba80aa6
fix #4465
2024-12-03 15:14:06 +01:00
Laurent Perron
b6026fad1b
[CP-SAT] fix doc
2024-11-29 14:28:02 +01:00
Laurent Perron
7df7086d85
fix doc
2024-11-28 15:49:34 +01:00
Laurent Perron
a64a90f386
fix #4435
2024-11-12 14:02:14 +01:00
Laurent Perron
df24c39650
[CP-SAT] add addHint(literal) in java, improve no_overlap_2d propagation; experiments with symmetry keeping presolve; fix a few bugs
2024-11-08 13:54:21 -08:00
Laurent Perron
dbb6328c9b
reformat BUILD files
2024-11-07 18:18:57 -08:00
Mizux Seiha
1c246fb831
cmake: Fix Loader.java on windows
2024-11-06 08:02:57 +01:00
Laurent Perron
bfb7660635
[CP-SAT] supports affine expression in automaton
2024-10-25 13:15:18 +02:00
Laurent Perron
488b43c37c
[CP-SAT] change element and table protos, API to support affine expressions
2024-10-23 05:54:30 +02:00
Laurent Perron
f762c88d35
[CP-SAT] add support for affine expressions in python/java; enable max_lp_sym
2024-10-18 14:45:53 +02:00
Laurent Perron
5384913c34
revamp non C++ MPSolver export methods
2024-10-08 16:03:18 +02:00
Laurent Perron
df2edaf7b7
implement WriteToMpsFile in model_builder and model_exporter
2024-07-12 17:48:57 +02:00
Laurent Perron
e5d09e1e12
[CP-SAT] fix best bound callback non C++ code; more work on pseudo-costs
2024-05-02 14:04:47 +02:00
Laurent Perron
a5c9b75502
[CP-SAT] code cleanup; more pseudo-cost experimental code; add objective best bound callback
2024-04-29 16:25:06 +02:00
Laurent Perron
888d89b5e0
[CP-SAT] do not add the linear part of an interval in the model, create it when copying the model for presolve; improve work sharing in shared_tree_mode
2024-04-03 11:43:20 +02:00
Mizux Seiha
a76bf1c5dd
bump license boilerplate
2024-01-04 13:43:15 +01:00
Laurent Perron
3219d12658
[CP-SAT] support linear expressions in decision strategies
2023-12-08 14:50:21 +01:00
Laurent Perron
72f274f844
Change proto to/from file API to use absl::StatusOr; add reader/writer proto_file to model_builder
2023-11-20 16:13:03 +01:00
Laurent Perron
7bdde984aa
model_builder python: ModelBuilder -> Model, ModelSolver -> Solver; fix bug in enforced linear support; tweak wrappers:
2023-11-06 16:16:38 +01:00
Laurent Perron
fcd64e6b97
polish on model_builder code
2023-11-06 15:20:03 +01:00
Laurent Perron
54843e4f9b
fix doc
2023-11-05 16:54:18 +01:00
Laurent Perron
686b530f10
[ModelBuilder] Add clear_terms and set_coefficient everywhere; finish indicator constraints in C#
2023-11-05 14:40:40 +01:00
Laurent Perron
ce9f1ed6d2
model builder: add clear_terms API; add enforced linear constraint in java + minimal test
2023-11-05 12:41:22 +01:00
Laurent Perron
9d9ca5ccaf
add hinting support for model_builder
2023-11-04 20:58:00 +01:00
Laurent Perron
fd55458966
more work on modelbuilder C#; fix doc on modelbuilder java
2023-10-31 12:38:42 +01:00
Laurent Perron
fb7aa1b853
[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
f1d6a0698c
tweak model_builder java cloning API
2023-10-25 15:38:57 +02:00
Laurent Perron
86a8444709
Add ModelBuilder.clone() java API + sample
2023-10-24 14:50:13 +02:00
Corentin Le Molgat
47ce2eae9f
cleanup
2023-04-05 10:36:56 +02:00
afloren
ea111e48be
ensure absolute library path in Java Loader
2023-04-05 09:53:03 +02:00
Laurent Perron
471a45dd55
tweaks
2023-03-05 08:18:45 +01:00
Laurent Perron
c957fd9798
add activity query for model_builder
2023-03-03 12:12:37 +04:00
Corentin Le Molgat
6c6c7d1902
bazel: Rework java support
...
Fix swig_java.bzl
2023-03-02 17:41:10 +01:00
Corentin Le Molgat
1ae193343a
bazel: Fix Loader.java
...
Bazel will use the `System.loadLibrary()` path
while CMake typically use the URI unpacked stuff
2023-03-02 17:41:10 +01:00
Laurent Perron
cf53ee3c9f
reformat bazel java code; CP-SAT: fix corner case in presolve, zero very small coefficients in translate from math model, more parameter validation
2023-01-05 13:38:42 +01:00
Laurent Perron
71b52a38ad
java bazel support for sat
2022-12-30 11:40:33 +01:00
Laurent Perron
2e21aa7537
Add support for model builder java with bazel
2022-12-30 10:21:01 +01:00
Laurent Perron
2746b48c5c
add bazel java POC; works with algorithms and graph
2022-12-29 19:56:02 +01:00
Corentin Le Molgat
6d1dd32974
sat(java): fix typo in comment
2022-10-19 17:54:12 +02:00
Laurent Perron
a93c57b707
[CP-SAT] prepare for reservoir with variable demand; internal tweakes
2022-09-09 16:49:35 +02:00