Skip to content

Commit

Permalink
Remove nodeTimeIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jan 20, 2025
1 parent 9600654 commit 42e6251
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/solver/modelConverter/modelConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ std::vector<Antares::Study::SystemModel::PortType> convertTypes(
/**
* \brief Converts a ModelParser::ValueType to an SystemModel::ValueType.
*
* \param nodeTimeIndex
* \param type The ModelParser::ValueType to convert.
* \return The corresponding SystemModel::ValueType.
* \throws UnknownType if the type is unknown.
Expand Down Expand Up @@ -116,7 +115,6 @@ Antares::Study::SystemModel::ValueType convertType(Antares::Solver::ModelParser:
* \brief Converts ports from ModelParser::Model to SystemModel::Port.
*
* \param model The ModelParser::Model object containing ports.
* \param nodeTimeIndex
* \return A vector of SystemModel::Port objects.
*/
std::vector<Antares::Study::SystemModel::Variable> convertVariables(const ModelParser::Model& model)
Expand Down Expand Up @@ -173,7 +171,6 @@ std::vector<Antares::Study::SystemModel::Constraint> convertConstraints(
* \brief Converts models from ModelParser::Library to SystemModel::Model.
*
* \param library The ModelParser::Library object containing models.
* \param nodeTimeIndex
* \return A vector of SystemModel::Model objects.
*/
std::vector<Antares::Study::SystemModel::Model> convertModels(
Expand All @@ -189,7 +186,6 @@ std::vector<Antares::Study::SystemModel::Model> convertModels(
std::vector<Antares::Study::SystemModel::Constraint> constraints = convertConstraints(
model);

std::unordered_map<const Nodes::Node*, Visitors::TimeIndex> nodeTimeIndex;
auto nodeObjective = convertExpressionToNode(model.objective, model);

auto modelObj = modelBuilder.withId(model.id)
Expand Down

0 comments on commit 42e6251

Please sign in to comment.