Commit Graph

142 Commits

Author SHA1 Message Date
Laurent Perron
d47f599ac2 bump .NET to 8.0; remove LP_PARSER option 2025-04-09 15:18:29 +02:00
Corentin Le Molgat
1f27694ab8 cmake: Add BZip2 support 2025-04-07 16:28:51 +02:00
Mizux Seiha
f63e33b9dc cmake: Fix routing/parsers build 2025-03-27 17:52:49 +01:00
Laurent Perron
0d40043e4c routing/parsers to cmake 2025-03-21 05:44:01 -07:00
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +01:00
Corentin Le Molgat
ee21143464 cmake: remove ortools_full.lib generation on windows
note: Do not build anymore got the error:
```
LINK : fatal error LNK1189: library limit of 65535 objects exceeded
```
2025-02-12 14:32:01 +01:00
Mizux Seiha
d3af4d76c9 cmake: Fix and enabled shared lib support with MSVC
* Add decldll to proto
* rework init to make it working for MSVC
* fix test_xprs_interface build
dotnet: Fix MSVC shared libs support
  * Fix csproj to include libortools.dll
java: Fix MSVC shared_libs support
  * Fix runtime jar to include libortools.dll
python: Fix MSVC shared_libs support
  * fix __init__.py.in loading for MSVC
2025-02-04 19:42:22 +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
Mizux Seiha
006b260d9e cmake: Fix build when BUILD_TESTING=OFF 2024-10-24 21:39:08 +02:00
Mizux Seiha
4408ce4988 ci: cleanup workflows 2024-10-16 01:15:58 +02:00
Corentin Le Molgat
bbf7fbd36a cmake: rework deps management 2024-10-11 14:08:00 +02:00
Corentin Le Molgat
30bbae08bb cmake: Add MathOpt tests to build (#4402) 2024-10-09 01:30:09 +02:00
Mizux Seiha
792e3362b7 graph: Fix max_flow_test 2024-10-09 01:30:09 +02:00
Mizux Seiha
a02548f178 cmake: Rework ortools_cxx_test() 2024-10-07 11:10:49 +02:00
Corentin Le Molgat
1ded1f2edd sat: Add symmetry_util_test.cc 2024-08-28 13:29:25 +02:00
Mizux Seiha
8a1cd332c4 cmake: move check type in cpp.cmake 2024-07-18 22:01:58 +02:00
Corentin Le Molgat
0d46c059b6 cmake: let CMake choose when adding /DNDEBUG on windows
ref: https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/Platform/Windows-MSVC.cmake?ref_type=heads#L489-L491
2024-07-16 23:30:26 -07:00
Corentin Le Molgat
cf8d324085 cmake: Fix libortools RUNPATH 2024-07-04 12:51:33 +02:00
Corentin Le Molgat
312959af70 routing: mv routing stuff from constraint_solver/ to routing/
* remove routing_ prefix to file
* now have a pywrapcp and a pywraprouting binding.
2024-06-21 16:35:46 +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
88d94984ca constraint_solver: export refactor from google3
* Add pybind11 wrapper
* Move routing proto to routing/
2024-04-12 17:17:40 +02:00
Mizux Seiha
89566cc18e cmake: Fix math_opt's HiGHS support 2024-04-02 16:13:34 +02:00
Mizux Seiha
1ad26ed5f5 cmake: fix re2 dependency 2024-02-13 15:39:51 +01:00
Laurent Perron
d2b7270657 second tentative of fixing github runner with LP_PARSER OFF 2024-02-09 11:05:17 -08:00
Laurent Perron
bd466d3b24 second tentative of fixing github runner with LP_PARSER OFF 2024-02-09 10:58:02 -08:00
Mizux Seiha
e5b4a75923 cmake: cleanup cpp.cmake 2024-02-09 01:00:56 +01:00
Corentin Le Molgat
b3ec9077cb cmake: cleanup cpp.cmake 2024-01-18 10:19:02 +01:00
Mizux Seiha
ed52480195 cmake: format fix 2024-01-17 13:42:26 +01:00
Mizux Seiha
dec772d810 cmake: rework add_cxx_test 2024-01-17 13:42:12 +01:00
Mizux Seiha
adf0e29582 cmake: rework add_cxx_example
* Add mandatory FILE_NAME option
* Add COMPONENT_NAME option
2024-01-17 12:03:09 +01:00
Corentin Le Molgat
835d93025f cmake: Rework add_cxx_sample()
* Add mandatory FILE_NAME option
* Add COMPONENT_NAME option
2024-01-16 11:27:01 +01:00
Corentin Le Molgat
f225de8b20 cmake: Fix function doc 2024-01-15 13:33:49 +01:00
Mizux Seiha
5407bd7f58 cmake: Make BOP and GLOP regular optional solver
* Add USE_BOP option for consistency
* Add USE_GLOP option for consistency

note: OFF is not supported, i.e. GLOP is currently mandatory
2024-01-15 13:33:49 +01:00
Mizux Seiha
a76bf1c5dd bump license boilerplate 2024-01-04 13:43:15 +01:00
Laurent Perron
0bb7d0c58b Merge pull request #3966 from rte-france/feature/xpress_only
Improve the Xpress interface and add dynamic loading of the Xpress library
2023-12-11 11:48:24 +01:00
Corentin Le Molgat
a87803a881 cmake: find proto in algorithms/ 2023-12-08 14:32:20 +01:00
Andrea Sgattoni
2637c36b59 Merge branch 'google/main' into feature/xpress_only_RTE 2023-11-06 18:07:37 +01:00
Corentin Le Molgat
a33bf9a8d8 cmake: Rework add_cxx_test 2023-11-06 17:10:46 +01:00
Andrea Sgattoni
b190d1d799 remove USE_XPRESS variable 2023-10-27 09:42:35 +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
Mizux Seiha
2899beb8f3 cmake: rework gurobi support 2023-09-25 10:46:02 +02:00
Corentin Le Molgat
8aa27339c0 cmake: Fix math_opt singleton on windows 2023-09-25 10:44:04 +02:00
Corentin Le Molgat
461c3db587 cmake: clean comment 2023-09-25 10:44:04 +02:00
Corentin Le Molgat
36aaa82356 cmake: Fix math_opt build when USE_PDLP=OFF 2023-09-08 18:05:49 +02:00
Corentin Le Molgat
9a1313b138 cmake: cleanup 2023-09-04 16:55:01 +02:00
Mizux Seiha
2f04afb7c0 cmake: Fix mathop_build when USE_SCIP=OFF 2023-09-04 16:55:01 +02:00
Mizux Seiha
fbf27ec73e cmake: Add math_opt/ 2023-09-04 16:55:01 +02:00
StefanBruens
4633e1080c Fix RUNPATHs for libraries and executables (#3383)
* Only add relevant directories to various RUNPATHs

The old code added several irrelevant, duplicate or even non-existing
directories to the RUNPATHs of the samples/flatzinc/sat_solver./linear_solver

Calculate the actual relative path between binary and library install
directory (using the absolute paths, CMAKE_INSTALL_LIBDIR may be either
relative or absolute), and set it as target property.
2023-07-28 14:38:25 +02:00
Mizux Seiha
77b58661aa Fix windows build
related to https://github.com/microsoft/STL/issues/2613
2023-04-07 17:22:51 +02:00
Mizux Seiha
4f30a7ff2c cmake: Add C++ documentation 2023-02-02 11:40:42 +01:00