Commit Graph

114 Commits

Author SHA1 Message Date
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
Laurent Perron
7a46833a12 fix #3283: implement clear objective method in CP-SAT 2022-05-07 10:37:29 +02:00
Laurent Perron
03a1571f4c explicit cast long -> double 2022-04-04 15:43:28 +02:00
Laurent Perron
a4fc5aee55 use java.time.Duration for time limit 2022-04-04 15:42:12 +02:00
Laurent Perron
3ee27d3354 fix API 2022-04-04 14:45:15 +02:00
Laurent Perron
ac5dc8be37 fix java crash 2022-04-04 11:57:14 +02:00
Laurent Perron
f54350c578 more work on ModelBuilder java 2022-04-03 23:22:02 +02:00
Laurent Perron
0223b492b3 incomplete ModelBuilder java implementation 2022-04-02 23:28:05 +02:00
Laurent Perron
591f255052 remove obsolete TODO 2022-04-02 23:27:23 +02:00
Laurent Perron
6b9ba5e38c [CP-SAT] clear the previous objective when minimizing or maximizing in the java API 2022-02-19 09:04:20 +01:00
Laurent Perron
1a8a94dace [CP-SAT] add more incremental methods on java constraints; use logger in SatSolver; 2022-02-02 14:57:42 +01:00
Laurent Perron
be8c2f9c79 [CP-SAT] improve C++ modeling layer; allow chaining incremental constraint filling methods in C#/Java 2022-01-11 17:52:27 +01:00
Laurent Perron
1615d1956c fixes 2022-01-11 16:15:07 +01:00