31 Commits

Author SHA1 Message Date
Laurent Perron
cfdbc48ad2 fix 2025-12-01 17:48:20 +01:00
Laurent Perron
993ac168d6 [Python] improve support for gil-less python 3.14 2025-12-01 17:48:09 +01:00
Laurent Perron
fce013c63e tentative fix for #4929 2025-12-01 17:44:11 +01:00
Corentin Le Molgat
2ff69ef797 linear_solver: backport from main 2025-11-05 12:05:41 +01:00
Corentin Le Molgat
a7f49a2585 backport from main
* rename swig files .i in .swig
* update constraint_solver and routing
* backport math_opt changes
* move dynamic loading to ortools/third_party_solvers
2025-07-23 23:12:34 +02:00
Laurent Perron
0d00ef7cd3 cleanup expression for cp-sat and model_builder 2025-06-13 13:24:14 +02:00
Laurent Perron
aa12c651b6 improve python exprs 2025-06-12 14:05:56 +02:00
Laurent Perron
803c4269e2 improve python exprs 2025-06-12 11:52:16 +02:00
Laurent Perron
b787497074 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:19:59 +02:00
Laurent Perron
809f13e28b model_builder: revisit memory management in the python layer (use std::shared_ptr), add various optimizations (in place modification; optimized AffineExpr +, -, *) 2025-01-19 11:45:03 +01:00
Laurent Perron
54b8c24839 big graph cleaning; rewrite CP-SAT python layer; rewrite model_builder python layer; reorganize CP-SAT scheduling and packing code 2025-01-15 13:51:40 +01:00
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Laurent Perron
32cdaa73f7 add WriteToMpsFile in model_builder, model_exporter 2024-07-12 17:45:41 +02:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +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
553ef23f2d revert mpl2 commit 2023-11-09 13:46:17 +01:00
Laurent Perron
38dff7fbeb add #define EIGEN_MPL2_ONLY everywhere, fix #3979 2023-11-09 11:33: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
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
Laurent Perron
9939e9d074 polish 2023-10-24 13:33:46 +02:00
Laurent Perron
d86dfadc86 add model cloning to model_builder python + sample 2023-10-24 11:44:43 +02:00
Corentin Le Molgat
69874c9b26 fixup from google3 2023-10-09 15:07:30 +02:00
Laurent Perron
5b8cdcd6bf [ModelBuilder] big update on the code; remove hash table, use c++ canonicalization of linear expressions; remove code duplication 2023-07-27 08:50:52 -07:00
Laurent Perron
b82cd22d7c [ModelBuilder] Add set_coefficient API, fix add_term to not create duplicate variable entries 2023-07-20 15:13:56 -07:00
Laurent Perron
a273b959f4 more model_builder python APIs 2023-07-20 14:01:10 -07:00
Laurent Perron
baf4a82e9e commit wrong indent; but this is the output of our export 2023-07-17 14:43:42 -07:00
Laurent Perron
3acda0a0e9 switch model_builder python from numpy to pandas 2023-07-09 13:54:23 +02:00
Laurent Perron
346642b871 remove the pywrap prefix from pybind11 modules; add _pybind to the cmake target of the same modules 2023-07-03 14:30:27 +02:00