70 Commits

Author SHA1 Message Date
Guillaume Chatelet
69dc22f35d Update linear solver build (#4945) 2025-12-15 13:06:58 +01:00
Corentin Le Molgat
b4b226801b update include guards 2025-11-05 11:54:02 +01:00
Guillaume Chatelet
e1f2e3f0d7 Remove unneeded string_view_migration 2025-10-01 08:08:36 +02:00
Guillaume Chatelet
00bf336485 [bazel] Update ortools/linear_solver/wrappers/BUILD.bazel 2025-10-01 08:08:31 +02:00
Guillaume Chatelet
ce299310f6 Remove unnecessary exports_files 2025-08-22 14:21:26 +00:00
Guillaume Chatelet
6759325e87 Fix load statements 2025-07-24 16:37:06 +00:00
Guillaume Chatelet
924ba73402 Fix
* Re-introduce it in base/ BUILD.bazel
* Add explicit deps in every target using it
2025-07-18 16:18:11 +00:00
Guillaume Chatelet
7db9c0e956 Backport string_view_migration.h 2025-07-18 11:59:34 +00:00
Corentin Le Molgat
9991028e4a ortools: export from google3 2025-07-07 15:39:38 +02:00
Laurent Perron
fca7bd43c8 small updates 2025-06-23 17:32:45 +02:00
Laurent Perron
c4b01c1294 reorganize gurobi and xpress side loading 2025-06-18 18:20:30 +02:00
Laurent Perron
e995b1ad7a remove model_builder support for xpress as it is not implemented; move gurobi_util to linear_solver 2025-06-17 13:41:54 +02:00
Laurent Perron
8abc6da4dd cleanup python expression code for cp-sat and model-builder 2025-06-13 13:13:26 +02:00
Laurent Perron
b1d5100c3b improve python exprs 2025-06-12 14:04:51 +02:00
Laurent Perron
7d58c118f6 improve python exprs 2025-06-12 11:52:00 +02:00
Laurent Perron
d47f599ac2 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:18:29 +02: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
ee23527569 big includes cleanup 2025-02-24 22:59:21 +01:00
Laurent Perron
eee21a57e0 more tests for ModelBuilder python 2025-01-20 14:58:24 +01:00
Laurent Perron
accbc8dcca protect code from swig 2025-01-19 12:19:30 +01:00
Laurent Perron
e600bc348f do not create new expressions on no-op modifications 2025-01-19 12:01:56 +01:00
Laurent Perron
98593daf10 rewrite model builder pybind11 code to use shared_ptr; add in place optimizations 2025-01-19 11:38:35 +01:00
Laurent Perron
866ef51b3d improve model_builder code 2025-01-15 13:27:03 +01:00
Laurent Perron
1571e79439 more unit testing 2025-01-13 14:17:07 +01:00
Laurent Perron
1dc0c6402e polish ModelBuilder python new code 2025-01-11 20:09:58 +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
352c75041e revisit model_builder python API; append ::mb to the c++ part of model_builder 2025-01-08 22:53:25 +01:00
Laurent Perron
df2edaf7b7 implement WriteToMpsFile in model_builder and model_exporter 2024-07-12 17:48:57 +02:00
Mizux Seiha
12252fbd17 cmake: split ortools_proto
add routing_proto to fix Xcode error.

devNote: On XCode object file path are flatten and now we have
ortools/routing/parameters.proto and
ortools/glop/parameters.proto which will conflict unless there are split in two differents
libraries.
2024-04-25 18:26:19 +02:00
Laurent Perron
df147b7b03 experimental support for highs in model_builder 2024-04-03 14:48:38 +02:00
Laurent Perron
1457354780 use lazy copy in linear solver 2024-04-02 16:16:27 +02:00
Corentin Le Molgat
abc1584129 export from google3 2024-03-25 10:54:11 +01:00
Laurent Perron
48ccc03eef minor fixes 2024-01-08 10:52:51 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Corentin Le Molgat
3a6819c5a6 Fix clang-format 2024-01-03 10:14:31 +01:00
Corentin Le Molgat
bef205a9dd cleanup 2023-12-26 17:17:01 +01:00
Laurent Perron
14c5731543 fix 2023-12-13 14:20:30 +01:00
Laurent Perron
d09c2ba849 add empty stubs for xpress for model_builder 2023-12-11 14:03:14 +01:00
Corentin Le Molgat
2649b4284a Add int128.proto 2023-12-08 14:28:53 +01:00
Laurent Perron
5559677b6c fix gscip and model_builder bazel build 2023-12-07 19:55:46 +01:00
Laurent Perron
d7b7240058 remove ortools/base/cleanup.h; use the abseil version 2023-12-07 19:18:30 +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
b5f749b794 add import/export with proto on model_builder; add support for proto in solve_model.py 2023-11-19 07:22:44 +01:00
Laurent Perron
0ccc07f288 add glop_proto_solver; split bazel targets for proto_solver 2023-11-17 14:17:52 +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
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
8fc323ed9e add indicator constraints to model_builder python 2023-11-05 09:51:40 +01:00
Laurent Perron
9d9ca5ccaf add hinting support for model_builder 2023-11-04 20:58:00 +01:00