Commit Graph

13758 Commits

Author SHA1 Message Date
Corentin Le Molgat
be4fd34372 tools: remove mips broken cross compilation support 2025-04-30 15:04:15 +02:00
Corentin Le Molgat
3312af9735 dotnet: cleanup the use Net8.0 as default 2025-04-30 15:03:41 +02:00
Corentin Le Molgat
4ab5969068 bazel(ci): Fix docker build 2025-04-30 15:01:19 +02:00
Corentin Le Molgat
c918c347c4 math_opt: Fix derived_data_test on macOS
trace:
```
[ RUN      ] FormatAttrValueTest.FormatsDouble
/Users/runner/work/or-tools/or-tools/ortools/math_opt/elemental/derived_data_test.cc:168: Failure
Expected equality of these values:
  FormatAttrValue(4.2)
    Which is: "4.2000000000000002"
  "4.2"
Stack trace:
  0x10b8bf8f4: operations_research::math_opt::(anonymous namespace)::FormatAttrValueTest_FormatsDouble_Test::TestBody()
  0x10c7fa88b: testing::internal::HandleExceptionsInMethodIfSupported<>()
  0x10c7fa7b2: testing::Test::Run()
  0x10c7fb8e0: testing::TestInfo::Run()
... Google Test internal frames ...

[  FAILED  ] FormatAttrValueTest.FormatsDouble (0 ms)
```

ref: https://github.com/google/or-tools/actions/runs/14709142545/job/41276791732
2025-04-30 14:06:01 +02:00
Corentin Le Molgat
5011c5c569 math_opt: disable on windows tests using testing::ContainsRegex
note: this method is not implemented in googletest for MSVC...
2025-04-30 14:06:01 +02:00
Corentin Le Molgat
d63bdbfe75 math_opt: Fix macos build (#4636) 2025-04-30 14:06:01 +02:00
Mizux Seiha
f784a22596 math_opt: Fix MSVC compile of attr_key.h (#4635) 2025-04-30 14:06:01 +02:00
Corentin Le Molgat
313a41e2f1 bazel: Fix math_opt's elemental python binding
* use a patched pybind11_bazel archive applying the pybind11-v2.13.6.patch
2025-04-30 14:06:01 +02:00
Corentin Le Molgat
55675f8302 cmake: Fix math_opt's elemental python binding 2025-04-30 14:06:01 +02:00
Corentin Le Molgat
940a79a3af bazel: export more math_opt py_test 2025-04-30 14:06:01 +02:00
Mizux Seiha
aaead8839d cmake: build math_opt elemental C++ tests
* add test to elemental_test.cc
2025-04-30 14:06:01 +02:00
Corentin Le Molgat
e23ac9dc78 math_opt: disable tests incompatible with HiGHS 1.7+ or SCIP v1.10.0 2025-04-30 14:06:01 +02:00
Corentin Le Molgat
adf4594874 math_opt: replace PyType_GetName
note: `PyType_GetName` was introduced in Python 3.11
ref: https://docs.python.org/3/c-api/type.html#c.PyType_GetName
2025-04-30 14:06:01 +02:00
Mizux Seiha
87cc78869d math_opt: Fix build with older gcc 2025-04-30 14:06:01 +02:00
Corentin Le Molgat
211b624cde math_opt: export from google3
* CMake has not been updated yet
* bazel was compiling at least last week

bazel: disable math opt facility_location.py

missing some dependencies...
2025-04-30 14:06:01 +02:00
Laurent Perron
e0544026ba [CP-SAT] small fixes, reindent 2025-04-30 13:54:47 +02:00
Laurent Perron
76c3faf438 bazel: scip -> 9.2.2 2025-04-29 15:36:10 +02:00
Laurent Perron
0e6940cf87 remove failing test on windows 2025-04-27 12:35:30 +02:00
Laurent Perron
cf58b37de0 fix flakyness 2025-04-27 09:00:22 +02:00
Laurent Perron
c49f8294c6 fix 2025-04-25 22:07:19 +02:00
Laurent Perron
0530de461c do not use static assert(false) 2025-04-25 21:09:39 +02:00
Laurent Perron
ea77a585c5 fix 2025-04-25 20:19:17 +02:00
Laurent Perron
2e9b4aba2a simplification 2025-04-25 19:04:33 +02:00
Laurent Perron
fac3bf0e9e cleanup 2025-04-25 19:04:30 +02:00
Laurent Perron
9845bef9fa [CP-SAT] more presolve 2025-04-25 19:04:27 +02:00
Laurent Perron
a866dd1b6a [CP-SAT] one more presolve rule 2025-04-22 20:17:44 +02:00
Laurent Perron
86ed0c067a bump rules_java 2025-04-22 10:27:43 +02:00
Laurent Perron
7f3f4c39bc bump scip to 9.2.2 for cmake 2025-04-21 20:40:32 +02:00
Laurent Perron
c270926a18 tweak search in fz and opb competition mode 2025-04-19 11:02:47 +02:00
Laurent Perron
bade22ee5d cleanup cp-sat default search configurations 2025-04-18 12:58:33 +02:00
Laurent Perron
89b85436fd update sat runner for pbo competition 2025-04-17 16:23:21 +02:00
Laurent Perron
6381d8d949 fix wbo parsing 2025-04-16 23:09:26 +02:00
Laurent Perron
6391391d6f fix race in siging handler 2025-04-16 18:24:59 +02:00
Laurent Perron
3d53b491eb remove unused code 2025-04-16 11:09:50 +02:00
Laurent Perron
81474345a8 [CP-SAT] more tweakings 2025-04-16 11:09:47 +02:00
Laurent Perron
c70d3aaaef update julia wrapper 2025-04-15 21:13:02 +02:00
Laurent Perron
3e1d3d7da9 [CP-SAT] disambiguate shaving parameters 2025-04-15 21:10:19 +02:00
Laurent Perron
467091fe92 [CP-SAT] cleanups; tweaks shaving limits 2025-04-15 17:19:58 +02:00
Laurent Perron
714ba15a4e fixes 2025-04-14 18:24:09 +02:00
Laurent Perron
10374383c7 fix 2025-04-14 16:45:10 +02:00
Laurent Perron
6e405723c4 [CP-SAT] improve opb file support; minor fuzzer bug fixes 2025-04-14 16:45:06 +02:00
Laurent Perron
38c8fd1eb1 reduce time limit check frequency 2025-04-14 16:45:02 +02:00
Laurent Perron
edb9051c03 minor optims 2025-04-10 11:41:06 +02:00
Laurent Perron
f2e2e497ed implement IDisposable 2025-04-09 15:20:02 +02:00
Laurent Perron
b787497074 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:19:59 +02:00
Laurent Perron
884230dec7 [CP-SAT] optional positional boolean on no_overlap_2d; bugfixes 2025-04-08 17:30:48 +02:00
Laurent Perron
6fc80a6181 enable setting random generator on glop 2025-04-08 17:30:45 +02:00
Laurent Perron
061583203a fix 2025-04-07 15:59:47 +02:00
Laurent Perron
0f20448ade Implement official output for opb problems 2025-04-07 15:53:01 +02:00
Laurent Perron
886634f3c4 fix 2025-04-07 08:05:55 +02:00