Commit Graph

155 Commits

Author SHA1 Message Date
Corentin Le Molgat
f5d9ea77be cmake: cleanup 2024-07-12 15:50:55 +02:00
Corentin Le Molgat
15c17eb565 cmake: Enable HiGHs per default 2024-05-30 10:52:46 +02:00
Florian Omnès
42e3414d5f [CMAKE] Required version 3.18 -> 3.20 (#4155)
```
elseif(UNIX)
  cmake_path(RELATIVE_PATH CMAKE_INSTALL_FULL_LIBDIR
             BASE_DIRECTORY ${CMAKE_INSTALL_FULL_BINDIR}
             OUTPUT_VARIABLE libdir_relative_path)
  set_target_properties(solve PROPERTIES INSTALL_RPATH
    "$ORIGIN/${libdir_relative_path}")
endif()
```

`cmake_path` was added in CMake 3.20, see https://cmake.org/cmake/help/latest/command/cmake_path.html
2024-05-30 10:51:55 +02:00
Corentin Le Molgat
64a85fc841 cmake: Fix configure when LP_PARSER is off 2024-02-12 08:56:47 +01:00
Corentin Le Molgat
4de571ad47 cmake: Add pybind11_abseil deps 2024-01-15 13:33:50 +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
0991aaf8fb cmake: Fix typo 2024-01-15 13:33:49 +01:00
Corentin Le Molgat
bd241abe53 Revert "cpp: Bump to C++20 on unix platform"
This reverts commit d7cc0fbd85.
2024-01-10 11:06:02 +01:00
Corentin Le Molgat
d7cc0fbd85 cpp: Bump to C++20 on unix platform 2024-01-10 10:12:30 +01:00
Corentin Le Molgat
b5c56e2ee0 cmake: add message log 2024-01-08 09:48:02 +01:00
Corentin Le Molgat
a1f4bdce6a cmake: don't make eigen a PDLP only dependency
math_opt and model_builder_helper also depends on it.
2024-01-08 09:19:32 +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
cb5bbe035c cmake: Remove fixup for 3.27.0
note: not needed for 3.27.1+ nor 3.27<
2023-11-27 16:45:13 +01:00
Andrea Sgattoni
4627ddf948 xpress tests gracefully exit if Xpress not found 2023-11-13 15:00:53 +01:00
Andrea Sgattoni
2b8e8ea7bb accept suggestion by Mizux 2023-11-06 18:14:24 +01:00
Andrea Sgattoni
f189b4e2f5 add xpress tests dir 2023-10-27 09:42:36 +02:00
Andrea Sgattoni
b190d1d799 remove USE_XPRESS variable 2023-10-27 09:42:35 +02:00
Corentin Le Molgat
e1f9febd8e cmake(python): Add GENERATE_PYTHON_STUB option (Fix #3944) 2023-10-23 11:01:26 +02:00
Corentin Le Molgat
384a0118ca cmake(python): Force VENV_USE_SYSTEM_SITE_PACKAGES to OFF when BUILD_VENV OFF 2023-10-16 16:03:47 +02:00
Mizux Seiha
2899beb8f3 cmake: rework gurobi support 2023-09-25 10:46:02 +02:00
Corentin Le Molgat
461c3db587 cmake: clean comment 2023-09-25 10:44:04 +02:00
Corentin Le Molgat
9a1313b138 cmake: cleanup 2023-09-04 16:55:01 +02:00
Mizux Seiha
fbf27ec73e cmake: Add math_opt/ 2023-09-04 16:55:01 +02:00
Corentin Le Molgat
863a393517 cmake: Fix windows configure (Fix #3876) 2023-08-03 03:12:41 -07:00
Mizux Seiha
ae1f0ea6d0 cmake: Update DOTNET_SAMPLE_LANG option message 2023-08-01 10:24:59 +02:00
Laurent Perron
9635b925f6 reformat linear_solver python code to BLACK; support pybind11_protobuf 2023-06-28 15:57:32 +02:00
Mizux Seiha
cd1e144ef5 deps: bump googletest v1.13.0 2023-03-26 11:04:45 +02:00
Corentin Le Molgat
af4948c414 cmake: Add support for net7.0 TFM 2023-02-06 08:48:45 +01:00
Corentin Le Molgat
0e4952ee59 cmake: Disable .Net Core 3.1 by default 2023-02-06 08:47:57 +01:00
Mizux Seiha
f5ff63ffe1 cmake: Add Python documentation 2023-02-02 11:40:42 +01:00
Mizux Seiha
1a269db56d cmake: Add Java documentation 2023-02-02 11:40:42 +01:00
Mizux Seiha
bc37fcafa4 cmake: Add .Net documentation 2023-02-02 11:40:42 +01:00
Mizux Seiha
4f30a7ff2c cmake: Add C++ documentation 2023-02-02 11:40:42 +01:00
Corentin Le Molgat
079c8ea2f7 cmake: Add BUILD_DOC option 2023-02-02 11:40:42 +01:00
Mizux Seiha
5273b3e7de cmake: Cleanup 2023-02-02 11:40:42 +01:00
Corentin Le Molgat
ea0038d924 dotnet: Add net46,net461,net462 support 2022-11-21 17:29:27 +01:00
Corentin Le Molgat
03abc88fd0 dotnet: remove netstandard2.0 (unsupported)
ortools\sat\csharp\CpSolver.cs(214,25): error CS1061: 'Queue<Term>' does not contain a definition for 'TryDequeue' and no accessible extension method 'TryDequeue' accepting a first argument of type 'Queue<Term>' could be found
2022-11-21 17:29:27 +01:00
Corentin Le Molgat
9ffe31dcbf dotnet: Rework C# lang version
* use 9.0 for building library
* use 8.0 when building samples
2022-11-21 17:29:27 +01:00
Mizux Seiha
c76c942180 dotnet: Add more optional TFM (disable by default) 2022-11-15 13:37:50 +01:00
Mizux Seiha
0dd8a8756e cmake(python): Add BUILD_VENV option 2022-10-27 10:56:20 +02:00
Corentin Le Molgat
1d5805f8c7 pdlp: add samples 2022-10-10 13:44:12 +02:00
Mizux Seiha
7f392c99e8 cmake: disable HiGHS by default 2022-10-06 16:42:34 +02:00
Corentin Le Molgat
86321f2025 cmake: prepare HiGHS support 2022-10-06 14:45:07 +02:00
Corentin Le Molgat
4585f7ae7a Add license boiler plate 2022-10-05 18:34:27 +02:00
Corentin Le Molgat
97c6a11cf0 cmake: Make BUILD_pybind11=OFF if BUILD_DEPS=OFF (#3431) 2022-09-28 13:35:58 +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
cbc5674ffb cmake(dotnet): Use USE_DOTNET_CORE_31 and USE_DOTNET_6 2022-06-10 16:06:18 +02:00
Corentin Le Molgat
8df4e3af24 cmake: Add glop and model_builder samples dir 2022-06-02 18:09:54 +02:00