Commit Graph

511 Commits

Author SHA1 Message Date
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
Laurent Perron
560826496b BUILD -> BUILD.bazel 2021-12-06 14:36:13 +01:00
Laurent Perron
18d001912d remove ortools/base/random.h|cc; adapt code everywhere; increase robustness of glop preprocessor 2021-12-06 14:03:19 +01:00
Laurent Perron
6acc63def1 minor improvement in DCHECK 2021-12-06 13:00:07 +01:00
Laurent Perron
7d3120d644 Fix C# swig imports 2021-12-05 15:33:21 +01:00
Laurent Perron
7c7fe6a9f7 remove designated initializers 2021-12-05 14:46:04 +01:00
Laurent Perron
35e44538e9 fix 2021-12-05 14:22:33 +01:00
Laurent Perron
ba2091da25 fix compilation 2021-12-05 13:11:46 +01:00
Laurent Perron
529849e58a add missing swig deps 2021-12-05 12:55:50 +01:00
Laurent Perron
edb66aaed5 [ROUTING] major improvement on filters/first solution heuristics/time,break placements 2021-12-05 12:36:59 +01:00
Laurent Perron
d54ed8f29e [ROUTING] remove old gtl:: obsolete code; fix overflow error 2021-12-05 12:15:27 +01:00
Corentin Le Molgat
e41b99a930 remove deprecated .csprog 2021-12-03 17:22:45 +01:00
Corentin Le Molgat
5f567735d7 cmake: Fix dotnet.cmake and path 2021-12-03 14:20:19 +01:00
Mizux Seiha
72ebd8b748 cmake: rework .Net support 2021-12-03 14:20:19 +01:00
Mizux Seiha
976f227b67 cmake: rework java 2021-12-03 14:20:19 +01:00
Mizux Seiha
655eec5260 cmake: rework python 2021-12-03 14:20:19 +01:00
Laurent Perron
a21b35b382 fix example 2021-12-02 18:05:31 +01:00
Mizux Seiha
d15847ec36 Bump csproj to 9.2 2021-11-30 18:13:26 +01:00
Laurent Perron
201a07bb3a [BAZEL] remove windows warning 2021-11-30 10:38:48 +01:00
Laurent Perron
c2596b4029 more work on bazel 2021-11-29 14:06:01 +01:00
Corentin Le Molgat
393686e54a bazel: Fix re2.patch 2021-11-29 08:43:23 +01:00