Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
tbittar committed Aug 23, 2024
1 parent 7c9d427 commit 6022781
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/andromede/simulation/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ def _create_constraints(self) -> None:

def _create_objectives(self) -> None:
for component in self.context.network.all_components:
component_context = self.context.get_component_context(component)
model = component.model

for objective in self.strategy.get_objectives(model):
Expand Down

0 comments on commit 6022781

Please sign in to comment.