Skip to content

Commit

Permalink
now is the line short enough?
Browse files Browse the repository at this point in the history
  • Loading branch information
samgdotson committed Feb 29, 2024
1 parent cb069e6 commit 7327179
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions osier/models/capacity_expansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(self,
xl=lower_bound,
xu=upper_bound,
**kwargs)

def print_problem_formulation(self):
"""
Prints the problem formulation.
Expand All @@ -147,7 +147,7 @@ def print_problem_formulation(self):
print("Technology Name | Capacity \n")
for t in self.technology_list:
print(t)

print("\nElectricity Demand:\n")
print(self.demand)

Expand Down Expand Up @@ -219,6 +219,5 @@ def _evaluate(self, x, out, *args, **kwargs):

out["F"] = out_obj


if self.n_constr > 0:
out["G"] = out_constr
out["G"] = out_constr

0 comments on commit 7327179

Please sign in to comment.