Commit Graph

185 Commits

Author SHA1 Message Date
Guillaume Chatelet
5ffb66cdce Fix bazel load rules 2025-07-24 10:10:29 +02: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
Corentin Le Molgat
f17646132c bazel: rename com_google_absl as abseil-cpp 2025-03-26 11:42:18 +01:00
Laurent Perron
08a700d8dc more tests for ModelBuilder python 2025-01-20 15:00:42 +01: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
Corentin Le Molgat
5252c00007 cmake cleanup 2024-12-16 15:45:02 +01:00
Corentin Le Molgat
d5c3764d77 cmake: Fix macOS 15 python build 2024-12-16 15:45:02 +01:00
Laurent Perron
0781ae7a85 fix numpy2.2 bug 2024-12-10 14:55:24 +01:00
Corentin Le Molgat
9d12968c14 bazel: rename target eigen3 to eigen 2024-11-15 10:27:20 +01:00
Laurent Perron
19317b21fd more absl support: span... 2024-10-16 14:13:13 +02:00
Laurent Perron
319db74fad fix linear_solver python swig and test 2024-10-09 12:37:52 +02:00
Laurent Perron
af9051e8d8 revamp non C++ MPSolver export methods 2024-10-08 16:05:50 +02:00
Laurent Perron
f22fed7be9 Add WriteModelToMpsFile to MPSolver in Java/Python/.NET 2024-10-07 15:24:14 +02:00
Laurent Perron
32cdaa73f7 add WriteToMpsFile in model_builder, model_exporter 2024-07-12 17:45:41 +02:00
Corentin Le Molgat
22f931251c indent fixup 2024-07-12 15:51:52 +02:00
Corentin Le Molgat
8931e50f31 backport math_opt from main 2024-05-30 10:52:45 +02:00
Laurent Perron
4cbd27dae9 sync with main 2024-05-30 10:52:42 +02:00
Laurent Perron
0ec48be40c improve model_builder python 2024-05-30 10:51:55 +02:00
Laurent Perron
bf2471515f cleanup semantics of under-specified constraint in model_builder python 2024-05-30 10:51:55 +02:00
Laurent Perron
ee2e20ce4d reformat 2024-05-30 10:51:55 +02:00
Corentin Le Molgat
c9b1ad998a backport linear_solver, math_opt, pdlp and util from main 2024-05-30 10:51:54 +02:00
Mizux Seiha
52245b251d cmake: Fix eigen usage 2024-02-09 01:00:02 +01:00
Laurent Perron
fb501409eb fix lp_test.py in debug 2024-01-31 15:18:13 +01:00
Corentin Le Molgat
75f197409a cmake: rework add_python_test()
* Add FILE_NAME option
* add optional COMPONENT_NAME option
  note: needed if test.py is not in a ortools/<component>/python/ dir
2024-01-15 13:33:49 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
0bb7d0c58b Merge pull request #3966 from rte-france/feature/xpress_only
Improve the Xpress interface and add dynamic loading of the Xpress library
2023-12-11 11:48:24 +01:00
Corentin Le Molgat
de938c4ac3 bazel: add with_cp_sat flag 2023-11-29 11:41:45 +01:00
Laurent Perron
6136a47c99 improvement to PDLP, remove most GLPK from tests, add py.typed for CP-SAT and model_builder python modules: fix #3993 2023-11-22 11:43:44 +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
Florian OMNES
2f543db1bb Merge remote-tracking branch 'google/main' into feature/temporary-for-squash
Co-authored-by: Peter MITRI <peter.mitri@rte-france.com>
2023-11-20 12:48:14 +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
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
Andrea Sgattoni
7161d7a2d2 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-07 18:34:43 +01:00
Laurent Perron
f7f79cd404 improve typing 2023-11-07 14:07:43 +01:00
Andrea Sgattoni
546e0f506d Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-07 10:50:34 +01:00
Laurent Perron
330a4d9508 polish 2023-11-06 18:08:34 +01:00
Andrea Sgattoni
31330208b4 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-06 18:00:05 +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
Andrea Sgattoni
d607131ed8 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-06 09:39:37 +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