731 Commits

Author SHA1 Message Date
Laurent Perron
81b31ff24b Move model_builder under linear_solver 2022-09-12 11:28:52 +02:00
Corentin Le Molgat
25f74e892b fix mips64 cross build
* Bump to 2020 codespace toolchain
* Fix SYSROOT_DIR
* Fix convertion using _MIPS_SZPTR

dev note:
cd /build_cross/archives/mips-mti-linux-gnu/2020.06-01/bin
./mips-mti-linux-gnu-g++ -EB -mips64r6 -mabi=64 -std=c++17 -dM -E -x c++ /dev/null | grepc -i mips
2022-08-24 11:51:12 +02:00
Corentin Le Molgat
65ed3339e0 export form google3 2022-08-04 16:24:13 +02:00
Corentin Le Molgat
1c95a2c00e bazel: rework tests 2022-07-27 16:47:32 +02:00
Corentin Le Molgat
f98afa8e42 Add missing STL include 2022-07-22 16:25:40 +02:00
Corentin Le Molgat
c78f83e4d4 constraint_solver: add execute bit flag to all python samples 2022-07-20 17:21:55 +02:00
Corentin Le Molgat
5863a63d19 export from google3 2022-06-22 18:09:44 +02:00
Mizux Seiha
c1c5739e94 bazel: testing_utils fixup 2022-06-22 14:50:04 +02:00
Corentin Le Molgat
e88481eeec constraint_solver: fixup 2022-06-22 14:49:59 +02:00
Mizux Seiha
ec506600dc routing: Fix few DCHECK_NE(*, nullptr) 2022-06-22 08:28:59 +02:00
Mizux Seiha
ebf0581841 Sync from google3 2022-06-22 08:28:59 +02:00
Mizux Seiha
a6ace348d5 Add base/helpers.h 2022-06-22 08:28:30 +02:00
Mizux Seiha
7a823314eb export from google3 2022-06-21 11:35:03 +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
Corentin Le Molgat
d23b95eebc routing: Fix few DCHECK_NE(*, nullptr) 2022-06-02 18:09:54 +02:00
Corentin Le Molgat
1a04b6bfa3 python: Expose RoutingDimension:GetBreakDistanceDurationOfVehicle() (#3165) 2022-05-23 17:38:34 +02:00
Corentin Le Molgat
c9c7c69428 sync from googl3 2022-05-23 09:28:20 +02:00
Corentin Le Molgat
226e1cea9c constraint_solver: Sync python 2022-05-23 09:28:20 +02:00
Mizux Seiha
5dd447661d constraint_solver: workaround to fix build 2022-05-20 18:05:14 +02:00
Corentin Le Molgat
06bc318331 constraint_solver: sync with google3 2022-05-20 18:05:14 +02:00
Corentin Le Molgat
03de36e782 cpp: Fix system headers 2022-05-19 17:23:01 +02:00
Corentin Le Molgat
0b3d8f8878 Fix routing_svg.py indent 2022-05-19 17:23:01 +02:00
Corentin Le Molgat
59c7491170 routing: Add vrp_items_to_deliver.py 2022-05-04 11:49:14 +02:00
StefanBruens
9021ffbb95 Build Python modules as CMake MODULEs (#3259)
Python since 3.8 no longer links to the interpreter library, so
symbols like `PyExc_AttributeError` will be undefined at link time.

This causes build failures when shared libraries are linked with
`-Wl,--no-undefined`. Use `TYPE MODULE` for python extension modules,
which allows to specify distinct flags via CMAKE_MODULE_LINKER_FLAGS
vs CMAKE_SHARED_LINKER_FLAGS. (The same is already used by
`pybind11_add_module(... MODULE ...)`).

Fixes #3258.
2022-04-28 15:50:56 +02:00
Corentin Le Molgat
111b942bc2 constraint_solver: cleanup 2022-03-31 15:34:37 +02:00
Corentin Le Molgat
fca3456c45 Sync from Google 2022-03-03 14:09:10 +01:00
Corentin Le Molgat
35ef175cac Sync from google 2022-03-02 22:10:54 +01:00
Corentin Le Molgat
0466c9f6bf python: remove __init__.py
now you'll need to always use a wheel package
avoid some issue when trying to run venv from root dir
e.g. `./build/python/venv/bin/python -c "from ortools.pdlp import solve_log_pb2"`
2022-02-28 08:52:31 +01:00
Mizux Seiha
de9aca5770 fix non c++20 code
see: https://eel.is/c++draft/diff.cpp17.class#2
2022-02-24 16:20:36 +01:00
Corentin Le Molgat
8a83e4265b doc: mv doc/ to docs/ 2022-02-23 16:19:26 +01:00
Laurent Perron
d01da2b0b5 protect resource code from swig 2022-02-22 20:45:45 +01:00
Laurent Perron
9dd7ed7fd1 bump constraint_solver code; remove unused files 2022-02-22 19:25:31 +01:00
Corentin Le Molgat
f4136a40d6 Fix clang-format 2022-02-16 16:18:08 +01:00
Corentin Le Molgat
4defaa23ed Export strong_int.h 2022-01-31 18:44:25 +01:00
Corentin Le Molgat
683d1d12e1 sync with google code 2022-01-27 16:35:42 +01:00
Corentin Le Molgat
d426cef8ef routing: update doc 2022-01-27 16:33:27 +01:00
Corentin Le Molgat
a40295d79c Sync from google 2022-01-21 17:51:38 +01:00
Corentin Le Molgat
3cc01f2a29 fixup export sync 2022-01-18 11:05:48 +01:00
Corentin Le Molgat
904f9c67cd Sync google/github 2022-01-17 15:47:25 +01:00
Corentin Le Molgat
32f3bc53d0 Sync google/github 2022-01-17 15:04:44 +01:00
Corentin Le Molgat
63da2871fc sync constraint_solver doc 2022-01-17 09:27:54 +01:00
Corentin Le Molgat
fc1c7e2718 routing: make python sample executable 2022-01-17 08:38:21 +01:00
Corentin Le Molgat
b7ed2f5355 cp: Update doc 2022-01-17 08:38:21 +01:00
bollhals
e2054b3cb5 - only use domain object if really needed
- upgrade to C# 9
- replace some null checks with "is (not) null"
2022-01-12 21:54:53 +01:00
Corentin Le Molgat
4e604d4bad Sync code 2022-01-03 09:49:48 +01:00
Corentin Le Molgat
3b05c5400d constraint_solver: remove usage of gtl:ContainsKey 2022-01-03 09:49:48 +01:00
Corentin Le Molgat
354e350004 Sync C# indent 2022-01-03 09:49:47 +01:00
Corentin Le Molgat
d5aaffc9e1 Fix comment typo 2021-12-10 16:59:13 +01:00
Laurent Perron
5f03dc4993 reformat BUILD files 2021-12-06 15:39:18 +01:00