Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmnz committed Jul 23, 2024
1 parent 1c23eb9 commit b4dbc73
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/andromede/simulation/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,10 +735,6 @@ def _create_variables(self) -> None:
model_var.upper_bound, component.id, self.context
)

# Set solver var name
# Externally, for the Solver, this variable will have a full name
# Internally, it will be indexed by a structure that takes into account
# the component id, variable name, timestep and scenario separately
var_name: str = f"{model_var.name}"
component_prefix = f"{component.id}_" if component.id else ""

Expand Down Expand Up @@ -769,6 +765,7 @@ def _create_variables(self) -> None:
else ""
)

# Set solver var name
# Externally, for the Solver, this variable will have a full name
# Internally, it will be indexed by a structure that into account
# the component id, variable name, timestep and scenario separately
Expand Down

0 comments on commit b4dbc73

Please sign in to comment.