diff --git a/src/solver/CMakeLists.txt b/src/solver/CMakeLists.txt
index 7372ff3b83..1d55b9b7df 100644
--- a/src/solver/CMakeLists.txt
+++ b/src/solver/CMakeLists.txt
@@ -12,7 +12,6 @@ add_subdirectory(variable)
add_subdirectory(hydro)
add_subdirectory(simulation)
add_subdirectory(ts-generator)
-add_subdirectory(aleatoire)
add_subdirectory(utils)
add_subdirectory(optimisation)
add_subdirectory(main)
@@ -90,7 +89,6 @@ set(ANTARES_SOLVER_LIBS ${ANTARES_SOLVER_LIBS}
antares-solver-main-economy
antares-solver-main-adequacy
antares-solver-hydro
- antares-solver-aleatoire
antares-solver-variable
antares-solver-simulation
antares-solver-ts-generator
diff --git a/src/solver/aleatoire/CMakeLists.txt b/src/solver/aleatoire/CMakeLists.txt
deleted file mode 100644
index 609d979cd5..0000000000
--- a/src/solver/aleatoire/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-set(SRC_ALEATOIRE
- alea_fonctions.h
- alea_sys.h
- alea_tirage_au_sort_chroniques.cpp)
-source_group("aleatoire" FILES ${SRC_ALEATOIRE})
-
-
-add_library(antares-solver-aleatoire ${SRC_ALEATOIRE})
-
-target_include_directories(antares-solver-aleatoire
- PRIVATE
- ${CMAKE_SOURCE_DIR}/solver)
-
-target_link_libraries(antares-solver-aleatoire
- PUBLIC
- Antares::study
-)
diff --git a/src/solver/aleatoire/alea_fonctions.h b/src/solver/aleatoire/alea_fonctions.h
deleted file mode 100644
index e54d825358..0000000000
--- a/src/solver/aleatoire/alea_fonctions.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-** Copyright 2007-2023 RTE
-** Authors: Antares_Simulator Team
-**
-** This file is part of Antares_Simulator.
-**
-** Antares_Simulator is free software: you can redistribute it and/or modify
-** it under the terms of the GNU General Public License as published by
-** the Free Software Foundation, either version 3 of the License, or
-** (at your option) any later version.
-**
-** There are special exceptions to the terms and conditions of the
-** license as they are applied to this software. View the full text of
-** the exceptions in file COPYING.txt in the directory of this software
-** distribution
-**
-** Antares_Simulator is distributed in the hope that it will be useful,
-** but WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-** GNU General Public License for more details.
-**
-** You should have received a copy of the GNU General Public License
-** along with Antares_Simulator. If not, see .
-**
-** SPDX-License-Identifier: licenceRef-GPL3_WITH_RTE-Exceptions
-*/
-#pragma once
-
-#include "../simulation/sim_structure_donnees.h"
-#include "antares/study/study.h"
-
-void ApplyRandomTSnumbers(const Antares::Data::Study& study,
- unsigned int year,
- uint numSpace);
\ No newline at end of file
diff --git a/src/solver/aleatoire/alea_sys.h b/src/solver/aleatoire/alea_sys.h
deleted file mode 100644
index 434e67decb..0000000000
--- a/src/solver/aleatoire/alea_sys.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-** Copyright 2007-2023 RTE
-** Authors: Antares_Simulator Team
-**
-** This file is part of Antares_Simulator.
-**
-** Antares_Simulator is free software: you can redistribute it and/or modify
-** it under the terms of the GNU General Public License as published by
-** the Free Software Foundation, either version 3 of the License, or
-** (at your option) any later version.
-**
-** There are special exceptions to the terms and conditions of the
-** license as they are applied to this software. View the full text of
-** the exceptions in file COPYING.txt in the directory of this software
-** distribution
-**
-** Antares_Simulator is distributed in the hope that it will be useful,
-** but WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-** GNU General Public License for more details.
-**
-** You should have received a copy of the GNU General Public License
-** along with Antares_Simulator. If not, see .
-**
-** SPDX-License-Identifier: licenceRef-GPL3_WITH_RTE-Exceptions
-*/
-#ifndef __SOLVER_RANDOM_SYSHDR_H__
-#define __SOLVER_RANDOM_SYSHDR_H__
-
-#include
-#include
-#include
-#include
-#include
-
-#include "../config.h"
-#include
-#include "../simulation/simulation.h"
-
-#endif /* __SOLVER_RANDOM_SYSHDR_H__ */
diff --git a/src/solver/aleatoire/alea_tirage_au_sort_chroniques.cpp b/src/solver/aleatoire/alea_tirage_au_sort_chroniques.cpp
deleted file mode 100644
index 64c1aa43ef..0000000000
--- a/src/solver/aleatoire/alea_tirage_au_sort_chroniques.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-** Copyright 2007-2023 RTE
-** Authors: Antares_Simulator Team
-**
-** This file is part of Antares_Simulator.
-**
-** Antares_Simulator is free software: you can redistribute it and/or modify
-** it under the terms of the GNU General Public License as published by
-** the Free Software Foundation, either version 3 of the License, or
-** (at your option) any later version.
-**
-** There are special exceptions to the terms and conditions of the
-** license as they are applied to this software. View the full text of
-** the exceptions in file COPYING.txt in the directory of this software
-** distribution
-**
-** Antares_Simulator is distributed in the hope that it will be useful,
-** but WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-** GNU General Public License for more details.
-**
-** You should have received a copy of the GNU General Public License
-** along with Antares_Simulator. If not, see .
-**
-** SPDX-License-Identifier: licenceRef-GPL3_WITH_RTE-Exceptions
-*/
-
-#include "../simulation/sim_extern_variables_globales.h"
-#include "alea_fonctions.h"
-#include
-
-using namespace Yuni;
-using namespace Antares;
-using namespace Antares::Data;
-
-void ApplyRandomTSnumbers(const Study& study,
- unsigned int year,
- uint numSpace)
-{
- // ------------------------------
- // Transmission capacities
- // ------------------------------
- // each link
- for (unsigned int linkIndex = 0; linkIndex < study.runtime->interconnectionsCount(); ++linkIndex)
- {
- AreaLink* link = study.runtime->areaLink[linkIndex];
- assert(year < link->timeseriesNumbers.height);
- NUMERO_CHRONIQUES_TIREES_PAR_INTERCONNEXION& ptchro
- = NumeroChroniquesTireesParInterconnexion[numSpace][linkIndex];
- const uint directWidth = link->directCapacities.width;
- [[maybe_unused]] const uint indirectWidth = link->indirectCapacities.width;
- assert(directWidth == indirectWidth);
- ptchro.TransmissionCapacities
- = (directWidth != 1) ? link->timeseriesNumbers[0][year] : 0; // zero-based
- }
-}
diff --git a/src/solver/simulation/common-eco-adq.cpp b/src/solver/simulation/common-eco-adq.cpp
index a3f2099ce9..29bcb34475 100644
--- a/src/solver/simulation/common-eco-adq.cpp
+++ b/src/solver/simulation/common-eco-adq.cpp
@@ -36,7 +36,6 @@
#include
#include