77 Commits

Author SHA1 Message Date
Corentin Le Molgat
b4b226801b update include guards 2025-11-05 11:54:02 +01:00
Corentin Le Molgat
29a74e7547 base: backport rework from main 2025-09-22 18:05:44 +02:00
Guillaume Chatelet
0ada091d1c Update ortools/port/BUILD.bazel 2025-09-16 17:13:26 +02:00
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
fcf4bd181e base: add temp_file
port: rework file
2025-08-20 11:36:08 +02:00
Guillaume Chatelet
6759325e87 Fix load statements 2025-07-24 16:37:06 +00:00
Corentin Le Molgat
7518c717ed bazel: cleanup BUILD.bazel 2025-05-26 15:07:03 +02:00
Mizux Seiha
ed1b05d1d8 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 03:12:46 +02:00
Laurent Perron
e7d4bde48e fix 2025-04-25 22:07:05 +02:00
Laurent Perron
5e2e85cdbd do not use static assert(false) 2025-04-25 21:09:26 +02:00
Laurent Perron
c6ded9d6f6 simplification 2025-04-25 19:02:56 +02:00
Laurent Perron
60b5457b47 fixes 2025-03-24 13:31:22 -07:00
Corentin Le Molgat
05e3190929 bazel: rename com_google_absl to abseil-cpp 2025-03-24 18:21:42 +01:00
Laurent Perron
a246657f22 minor 2025-01-14 15:59:47 +01:00
Corentin Le Molgat
c34026b101 Bump copyright to 2025
note: done using
```sh
git grep -l "2010-2024 Google" | xargs sed -i 's/2010-2024 Google/2010-2025 Google/'
```
2025-01-10 11:33:35 +01:00
Corentin Le Molgat
3568fa161f small cleanup 2024-09-25 17:17:14 +02:00
Mizux Seiha
12252fbd17 cmake: split ortools_proto
add routing_proto to fix Xcode error.

devNote: On XCode object file path are flatten and now we have
ortools/routing/parameters.proto and
ortools/glop/parameters.proto which will conflict unless there are split in two differents
libraries.
2024-04-25 18:26:19 +02:00
Corentin Le Molgat
874ad953eb port: rework protobufTextFormatPrintToStringForFlag() 2024-02-23 10:59:51 +01:00
Mizux Seiha
4bd24c78f9 port: expose scoped_std_stream_capture as bazel library 2024-02-21 14:49:40 +01:00
Corentin Le Molgat
c9440d37a2 port: export scoped_std_stream_capture.h 2024-02-19 18:14:10 +01:00
Corentin Le Molgat
d7a253ea68 port: cleanup 2024-02-16 14:27:15 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
1ad4e80902 minor sync 2023-10-16 09:30:20 +02:00
Mizux Seiha
d8634ab0f2 cmake: Split math_opt into sub library
XCode do not support object library with several file with the same name
since it use a flat directory, Xcode "fix" using a UID but CMake can't catch it.

math_opt also use a parameters.proto which conflict with the
glop/parameters.proto -> need to split the proto to .cc generation in
two libraries
2023-09-25 10:46:02 +02:00
Laurent Perron
fa6883d544 mostly cleaning: remove integral_types.h and basictypes.h 2023-08-24 14:52:54 +02:00
Laurent Perron
e9f9404923 Remove logging code; use absl one 2023-01-31 20:46:43 +01:00
Laurent Perron
3fe885e064 sync 2023-01-23 16:16:14 +01:00
Corentin Le Molgat
aad0e67975 export from google3 2022-10-05 15:56:33 +02:00
Mizux Seiha
e956acee92 cmake: Fix C++17 Unix / C++20 MSVC management 2022-09-20 22:33:30 +02:00
Laurent Perron
81b31ff24b Move model_builder under linear_solver 2022-09-12 11:28:52 +02:00
Corentin Le Molgat
5863a63d19 export from google3 2022-06-22 18:09:44 +02:00
Mizux Seiha
a6ace348d5 Add base/helpers.h 2022-06-22 08:28:30 +02:00
Corentin Le Molgat
1af55b2be3 Add license boilerplate 2022-06-21 11:25:29 +02:00
Corentin Le Molgat
c7120439d4 Bump license date 2022-06-17 14:23:23 +02:00
Laurent Perron
5ad0feaa0c cleanup 2022-06-06 12:03:06 +02:00
Laurent Perron
9f375b13b2 sync with internal cleanup code 2022-06-06 11:49:26 +02:00
Laurent Perron
f90442bfd8 missing stl includes 2022-03-26 16:56:52 +01:00
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Laurent Perron
d86d069c54 add missing base include 2021-11-28 13:02:54 +01:00
Laurent Perron
28ea9be1dd remove usage of kint{64|32}{min|max} 2021-05-03 12:12:42 +02:00
Mizux Seiha
e0edd90e28 port: [u]int32 -> [u]int32_t
note: sed -i 's/\b\([u]\?int32\)\b/\1_t/g' *.h *.cc
2021-04-05 13:43:18 +02: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
Corentin Le Molgat
a40143cdd2 cpp: Migrate int64 to int64_t 2021-04-01 20:20:43 +02:00
Laurent Perron
8cdd23bf41 rename files in port/ add portable and non portable code 2021-03-19 16:24:17 +01:00
Laurent Perron
2dfe9eb291 minor reindent 2020-11-03 18:41:07 +01:00
Corentin Le Molgat
e4caaf96bc format file forcing the left alignment 2020-10-29 14:25:39 +01:00
Laurent Perron
6467dc69b0 reformat the code; [CP-SAT] add dominated columns presolve 2020-10-28 13:42:51 +01:00
Mizux Seiha
93af69fb0f cmake: remove gflags and glog deps 2020-10-24 00:50:31 +02:00
Mizux Seiha
20d0496bfb reapply google format 2020-10-23 00:45:17 +02:00
Laurent Perron
a4258f2bdf switch flags setters and getters to the absl format 2020-10-21 00:21:54 +02:00