Mizux Seiha
baaf1ca82a
cmake: Fix dotnet build
...
* fix cmake/dotnet.cmake
* fix <cmp>/dotnet/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-23 13:15:36 +02:00
Mizux Seiha
b65c86da8b
cmake: Fix java
...
* fix cmake/java.cmake
* fix <cmp>/java/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-23 13:15:36 +02:00
Mizux Seiha
ddbbd50228
move examples/test/*.java to ortools/<component>/java
2022-09-22 22:40:10 +02:00
Corentin Le Molgat
899e30d88b
cmake: Fix python build
...
* fix cmake/python.cmake
* fix <cmp>/python/CMakeLists.txt
* fix examples/tests/CMakeLists.txt
2022-09-22 22:39:55 +02:00
Mizux Seiha
e956acee92
cmake: Fix C++17 Unix / C++20 MSVC management
2022-09-20 22:33:30 +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
94e867b66f
bazel: fix build
2022-07-22 14:35:17 +02:00
Laurent Perron
ffefef9136
new dynamic partition class
2022-06-29 17:03:49 +02:00
Corentin Le Molgat
5668bc42c0
algorithms: cleanup knapsack_solver
2022-06-27 14:31:19 +02:00
ajay.gopinath.k
b82deee3d7
removed unused variable
2022-06-25 13:37:13 +05:30
ajay.gopinath.k
da2aada77e
fix local variable names
2022-06-25 13:34:44 +05:30
Mizux Seiha
ebf0581841
Sync from google3
2022-06-22 08:28:59 +02:00
Mizux Seiha
7a823314eb
export from google3
2022-06-21 11:35:03 +02:00
Corentin Le Molgat
045a5d93b7
Sync google3 github
2022-06-17 14:23:23 +02:00
Corentin Le Molgat
c7120439d4
Bump license date
2022-06-17 14:23:23 +02:00
Laurent Perron
af43bb7433
sync algorithms code
2022-05-19 19:01:34 +02:00
Corentin Le Molgat
a7cd09b680
google3: sync
2022-05-04 08:26:48 +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
Laurent Perron
8e6dbcabcd
missing stl
2022-04-02 19:42:45 +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
Corentin Le Molgat
4defaa23ed
Export strong_int.h
2022-01-31 18:44:25 +01:00
Corentin Le Molgat
bbf434fb3f
sync algorithms
2022-01-27 16:32:53 +01:00
Laurent Perron
49e47a336d
mostly reformat
2022-01-24 12:46:54 +01:00
Corentin Le Molgat
a40295d79c
Sync from google
2022-01-21 17:51:38 +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
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
Mizux Seiha
d15847ec36
Bump csproj to 9.2
2021-11-30 18:13:26 +01:00
Laurent Perron
699022953d
fix scip build for bazel; re-enable hungarian_test for bazel
2021-11-29 14:32:48 +01:00
Corentin Le Molgat
dbac279fab
algorithms: use std::stable_sort
2021-09-24 17:58:26 +02:00
Laurent Perron
1941d1a5af
update csproj and generator to use netcoreapp3.1
2021-09-21 09:55:14 +02:00
Laurent Perron
83007b4c00
bump version to 9.1; regenerate doc
2021-09-20 15:57:27 +02:00
Mizux Seiha
c7441c346c
cmake: Migrate to Python3 and use Development.Module
...
note: Development.Module is use to look for python header only
since library is not available on manylinux.
see: https://gitlab.kitware.com/cmake/cmake/-/issues/20425
note2: Development.Module has been introduced in CMake 3.18
ref: https://cmake.org/cmake/help/latest/module/FindPython3.html
2021-09-08 16:08:52 +02:00
Laurent Perron
1c512fd12d
change a bit the export code: propagate effect
2021-09-07 11:53:01 +02:00
Corentin Le Molgat
347fa61799
Update comment in algorithms
2021-09-03 15:29:33 +02:00
Corentin Le Molgat
e5deec180c
Fix indent
2021-08-23 14:46:12 +02:00
Corentin Le Molgat
013bb65405
Fix dotnet samples
2021-07-26 12:47:10 +02:00
Corentin Le Molgat
8e8e4a6c23
bazel: Bump to googletest 1.10
...
* Fix googletest compilation on windows
2021-06-18 14:11:07 +02:00
Mizux Seiha
6ae19c9b5b
Bump version: 8.2 -> 9.0
2021-04-27 10:56:39 +02:00
Laurent Perron
b588424def
Merge pull request #2506 from ruqzuq/knapsackDivideConquerSolver
...
add KnapsackDivideAndConquerSolver
2021-04-16 12:44:29 +02:00
Corentin Le Molgat
7531dd9625
python: Add shebang to programs
2021-04-16 00:23:35 +02:00
ruqzuq
c9fb8bb6e8
add knapsack solver
2021-04-15 12:56:01 +02:00
Laurent Perron
5d84e4e72f
fix #2493
2021-04-14 09:00:33 +02:00