Commit Graph

856 Commits

Author SHA1 Message Date
Corentin Le Molgat
3a97726664 linear_solver: backport .lp support to solve_model 2025-08-06 13:21:18 +02:00
Corentin Le Molgat
260856bf0f linear_solver: rework python typing 2025-08-06 13:20:32 +02:00
Corentin Le Molgat
9cde24d763 highs: rework HighsInterface::Solve 2025-08-06 10:59:09 +02:00
Corentin Le Molgat
80af949922 bazel: fix with_highs support 2025-08-06 10:58:29 +02:00
Corentin Le Molgat
2fd586595b bazel: fix more load statements 2025-08-06 10:57:31 +02:00
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
Guillaume Chatelet
cddd80e8e2 Backport string_view_migration.h 2025-07-23 15:04:05 +02:00
Corentin Le Molgat
d344fd265a cmake: fix build when using -DUSE_SCIP=OFF 2025-07-21 11:56:27 +02:00
Guillaume Chatelet
46f73b3d35 Backport trivial changes 2025-07-18 16:43:00 +02:00
Corentin Le Molgat
781ead7283 ortools: export from google3 2025-07-09 14:13:35 +02:00
Corentin Le Molgat
478c8b5309 cleanup and formatting 2025-06-16 18:03:59 +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
Florian OMNES
5515e005af Revert 2025-06-04 18:57:21 +02:00
Florian OMNES
794514f117 Remarks 2025-06-04 18:55:17 +02:00
Florian OMNES
f03887aa89 Allow multiple calls of XpressInterface::SetCoefficient, also XpressInterface::ClearConstraint 2025-06-04 18:54:04 +02:00
Florian OMNES
c8da371ab3 Remove checks 2025-06-04 18:31:13 +02:00
Florian OMNES
d130a97614 Fixup 2025-06-04 18:06:22 +02:00
Florian OMNES
7844b14ea3 Use fixed order container for constraint coefficients 2025-06-04 18:06:22 +02:00
Peter Mitri
6b83515ddd MPSolver-XPRESS: Remove superfluous calls to XPRSloadlp and XPRScreateprob (#4667) 2025-06-04 09:42:13 +02:00
Corentin Le Molgat
2c6b8e7e67 linear_solver: reapply xpress_interface fix (#4382)
* Also add few fix from rte-france/or-tools fork (`main` branch)
2025-06-03 18:26:14 +02:00
Corentin Le Molgat
569bb0baff bazel: cleanup BUILD.bazel 2025-05-26 15:33:21 +02:00
Mizux Seiha
7fc67a4468 bazel: update deps
* don't use repo name
* Bump abseil-cpp to 20250512.0
* Bump Protobuf to 31.0
* Bump benchmark to 1.9.2
* Bump googletest to 1.17.0
2025-05-22 14:42:28 +02:00
Corentin Le Molgat
fdfc6af03e rework ortools samples (#4590) 2025-05-16 18:02:19 +02:00
Corentin Le Molgat
3067056625 backport from main branch
* bazel: add missing python typing-extensions requirements
* use [[maybe_unused]] standard attribute
* linear_solver: improve LpQuadraticTerm support
2025-04-30 15:15:39 +02:00
Laurent Perron
b787497074 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:19:59 +02:00
Peter Mitri
fad1e40e52 Fix HiGHS interface (model name) (#4616) 2025-04-01 15:37:17 +02:00
Corentin Le Molgat
f17646132c bazel: rename com_google_absl as abseil-cpp 2025-03-26 11:42:18 +01:00
Laurent Perron
f4cc7d1bd3 highs fix 2025-03-21 07:10:48 -07: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
bdfbbc6809 call absl::SetStderrThreshold before InitGoogle 2025-02-25 11:37:10 +01:00
Corentin Le Molgat
d4acbe81ce replace base/logging.h by absl/log/log.h 2025-02-25 11:16:30 +01:00
Laurent Perron
98325ced91 fix #4555 2025-02-24 10:56:38 +01:00
Laurent Perron
7e98e7b4d4 [CP-SAT] improve no_overlap_2d cuts; more no_overlap_2d cuts; bugfixes; add sat/c_api subdirectory 2025-02-10 12:45:46 +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
Laurent Perron
f10a432650 remove enum 2025-01-29 13:35:27 +01:00
Laurent Perron
08a700d8dc more tests for ModelBuilder python 2025-01-20 15:00:42 +01:00
Laurent Perron
af05f3bbf4 protect code from swig 2025-01-19 12:20:15 +01:00
Laurent Perron
ebd959225e further optimize no_op operations 2025-01-19 12:04:41 +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
Laurent Perron
84a35fdc4c [BAZEL] switch to scip with soplex that was recently pushed to BCR 2025-01-02 22:27:29 +01:00
Laurent Perron
fc422b468f update code 2024-12-19 15:39:10 +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