37 Commits

Author SHA1 Message Date
Mizux Seiha
4f381f6d07 backport from main:
* bump abseil to 20250814
* bump protobuf to v32.0
* cmake: add ccache auto support
* backport flatzinc, math_opt and sat update
2025-09-16 16:25:04 +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
Corentin Le Molgat
a66a6daac7 Bump Copyright to 2025 2025-01-10 11:35:44 +01:00
Laurent Perron
f22fed7be9 Add WriteModelToMpsFile to MPSolver in Java/Python/.NET 2024-10-07 15:24:14 +02:00
Corentin Le Molgat
8931e50f31 backport math_opt from main 2024-05-30 10:52:45 +02:00
Laurent Perron
0aa44e7479 protect code for MIP solvers 2024-02-02 14:29:03 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
afbca7604d cleanup c# swig: move vector calling to client .i, import vector.i instead of include; begin support for c# model_builder 2023-10-30 21:51:08 +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
Corentin Le Molgat
4c74636bf8 linear_solver: Add missing solve status 2022-06-29 13:45:40 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Mizux Seiha
32b101b9ee cmake: Fixup for pdlp 2022-02-25 23:43:01 +01:00
Mizux Seiha
8bb54b04ef Bump Copyright to 2021
FYI:
find ortools \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/\(Copyright 2010\)-2018/\1-2021/g'
2021-04-01 21:00:53 +02:00
Laurent Perron
3779db1f83 deep rewrite of the gurobi loading code 2021-03-19 16:24:35 +01:00
Laurent Perron
6e15467065 linear solver: int64 -> int64_t; use new CP-SAT logging 2021-03-12 16:59:39 +01:00
Laurent Perron
55cedb4b4b remove name from MPSolver.CreateSolver API; simplify underlying code 2020-08-18 17:16:10 +02:00
Laurent Perron
f0f675debd remove non C++ leaks with the linear solver 2020-06-25 11:15:19 +02:00
Laurent Perron
a8fc48e1fd polish linear solver backend selection code 2020-06-25 10:32:58 +02:00
Laurent Perron
d6ecea46ad experimental support for dynamic loading of gurobi; add MPSolver.CreateSolver() factory method for non C++ languages to check correctly installed linear solver backends and licenses when needed; port all non C++ examples 2020-06-24 18:11:12 +02:00
Corentin Le Molgat
ed9136bb48 .Net swig refactor 2020-02-17 10:51:57 +01:00
Laurent Perron
bc43e37c90 add sat inferface to the linear solver wrapper 2019-10-18 14:39:51 +02:00
Laurent Perron
439cebb9c8 polish xpress support 2019-09-04 15:20:45 +02:00
Laurent Perron
d4c088a367 test linear solver constraints(), variables(), and SetHint in Python/Java/C# 2019-07-01 13:41:17 +02:00
Laurent Perron
8a4ae8bff0 working SetNumTheads in Python/Java/C#; Working SetHint in java/C# 2019-06-29 12:35:15 +02:00
Corentin Le Molgat
9728fd0b95 C#: Fix missing BOP_INTEGER_PROGRAMMING Enum 2019-04-23 16:08:58 +02:00
Laurent Perron
2a4fc564b4 add constraint with index in linear solver (API + Proto); rewrite MPS reader/writer; update base library as needed 2019-04-18 19:18:48 +02:00
Corentin Le Molgat
2292fdb49e .Net: Fix linear_solver.i 2019-03-07 17:44:09 +01:00
Laurent Perron
f1ed9ba905 export more linear solver parameters in C# 2018-12-18 14:32:49 +01:00
Laurent Perron
fedf3d4ff4 revamp and simplify swig support, force typed enums for C# and Java for all except the constraint_solver/routing module; port examples; Fix SAT on very large problems 2018-12-11 17:03:03 +01:00
Laurent Perron
27f9c4f95e support int64_t transition in c# 2018-12-10 12:57:27 +01:00
Laurent Perron
87b9d55b21 update license headers 2018-11-10 18:00:53 +01:00
Laurent Perron
26fe10d00a wrap InterruptSolve in Java/CSharp #423 2018-09-07 11:45:24 +02:00
Laurent Perron
24fe402a89 fix cplex support 2018-07-31 10:31:56 -07:00
Laurent Perron
7a1889bb1f make name -> var or constraint optional in linear solver 2018-07-24 13:23:58 -07:00
Laurent Perron
03fccb4032 improve incrementality of glop when used in the sat solver; change more copyright dates; more documentation on the gate scheduling problem 2017-10-18 11:09:13 +02:00
Laurent Perron
8c08d72260 replace hash_map and hash_set by unordered_map and unordered_set 2017-04-27 17:34:24 +02:00
Laurent Perron
66b8d23079 move src to ortools; simplified python generation; remove some namespaces in the ortools/base helper files 2017-04-26 17:30:25 +02:00