Corentin Le Molgat
8480ff4f3f
dependency: Fix bzip2 support
...
* always enable it
* Fix CMake support
* fix windows support
2025-04-30 15:15:39 +02:00
Laurent Perron
4af14d7d4f
sync: cp-sat bug fixes, stringview, fix strong int missing stl code, update graph
2025-04-01 06:29:45 +02:00
Mizux Seiha
61091ff4af
cmake(java): allow to not load highs or scip dll.
...
should fix #4600
2025-03-28 17:03:41 +01:00
Corentin Le Molgat
77a28070b9
deps: bump scip to v9.2.1
...
* use libscip shared library
* enable soplex
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
fc237eaf0d
export from google3
2025-02-10 14:26:48 +01:00
Corentin Le Molgat
da058cd01b
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 14:28:08 +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
1a9aada87c
fix #4465
2024-12-03 15:14:22 +01:00
Laurent Perron
c284aa419d
[CP-SAT] fix doc
2024-11-29 14:32:56 +01:00
Laurent Perron
d50d16837b
fix doc
2024-11-28 15:53:03 +01:00
Corentin Le Molgat
e670dccdb0
cmake: Bump Protobuf to v28.3 and use shared libraries
2024-11-15 14:42:08 +01:00
Corentin Le Molgat
cadcdb5995
java: cleanup
2024-11-15 10:27:20 +01:00
Laurent Perron
ee241f30b5
[CP-SAT] supports affine expression in automaton
2024-10-25 13:15:40 +02:00
Laurent Perron
8cd76eba30
fix various build problems
2024-10-24 11:34:24 +02:00
Laurent Perron
55ff5cf534
[CP-SAT] change element and table protos, API to support affine expressions
2024-10-23 05:59:17 +02:00
Laurent Perron
af9051e8d8
revamp non C++ MPSolver export methods
2024-10-08 16:05:50 +02:00
Laurent Perron
32cdaa73f7
add WriteToMpsFile in model_builder, model_exporter
2024-07-12 17:45:41 +02:00
Laurent Perron
ec453aafb6
[CP-SAT] fix best bound callback non C++ code; more work on pseudo-costs
2024-05-30 10:52:46 +02:00
Laurent Perron
d28edd701c
[CP-SAT] code cleanup; more pseudo-cost experimental code; add objective best bound callback
2024-05-30 10:52:46 +02:00
Laurent Perron
382ab5d35b
[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-05-30 10:51:55 +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
Corentin Le Molgat
57275f9a60
Revert "add Java pragmas"
...
This reverts commit 7e717e4293 .
2022-07-25 11:55:03 +02:00
Laurent Perron
7e717e4293
add Java pragmas
2022-07-04 12:26:52 +02:00
Corentin Le Molgat
c7120439d4
Bump license date
2022-06-17 14:23:23 +02:00