parquet part 3 : parquet for legacy solver#3586
Merged
Merged
Conversation
…ature/parquet-new-start-after-long-pause # Conflicts: # src/io/outputs/CMakeLists.txt
When vcpkg is used (e.g. for Arrow/Parquet), it prepends its paths to CMAKE_PREFIX_PATH. This causes find_dependency(absl) inside ortoolsConfig.cmake to resolve vcpkg's absl (lts_20240722) instead of the version OR-Tools was compiled against (lts_20250512), leading to thousands of linker errors due to ABI incompatibility. Fix: before find_package(ortools), detect the OR-Tools install prefix and set absl_DIR/re2_DIR to the co-installed versions. Supports both lib/ (Ubuntu, Windows) and lib64/ (Oracle Linux 8) layouts.
Apply the same absl_DIR/re2_DIR pinning to Config.cmake.in so that downstream consumers (e.g. api_client_example) using vcpkg also get the correct OR-Tools co-installed absl/re2 instead of vcpkg's version.
On Windows, vcpkg builds Arrow as a shared library (DLLs), so only Arrow::arrow_shared and Parquet::parquet_shared targets exist. Use the ARROW_BUILD_STATIC generator expression (as recommended by Arrow's own CMake usage docs) to select the correct target based on how Arrow was built.
…ing part) + comment for later
|
Contributor
Author
|
Answers to the big comment above :
|
6 tasks
Signed-off-by: GitHub Copilot <copilot@example.com>
Signed-off-by: GitHub Copilot <copilot@example.com>
Signed-off-by: GitHub Copilot <copilot@example.com>
JasonMarechal25
requested changes
May 27, 2026
| // Options parsing | ||
| std::filesystem::path studyPath(argv[1]); | ||
| Writer::TableFormat tableFormat = getTableFormat(argc, argv); | ||
| bool parquetFormat = parquetFormatRequired(argc, argv); |
Contributor
There was a problem hiding this comment.
Please keep format enum and not a boolean.
Contributor
Author
There was a problem hiding this comment.
I knew you would say that, and I think you're right, I should have left it.
I wanted to make it as simple as possible by introducing a boolean, but it's less clear.
This reverts commit f0825a6.
This reverts commit b265d5b.
Co-authored-by: guilpierre <guillaume.pierre_externe@rte-france.com>
…ests NR and make it point to the right commit
…for-legacy-solver # Conflicts: # src/packaging/CMakeLists.txt # src/solver/simulation/economy.cpp # src/tests/resources/Antares_Simulator_Tests_NR
Signed-off-by: GitHub Copilot <copilot@example.com>
JasonMarechal25
approved these changes
May 29, 2026
Co-authored-by: guilpierre <guillaume.pierre_externe@rte-france.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This PR is about ticket ANT-4633.
As we choose to break ticket ANT-4633 into several parts, this is part 3.
This PR intends to write simulation tables for legacy solver.
Please note : list of what was done can be found below, but some github comments were left to ease review.
Caution : many review comments made here are addressed in this PR 3657.
What was done :
What remains to be done (if item is checked, then it's done) :