Skip to content

Commit

Permalink
Merge pull request #53 from mbakker7/51-providing-an-unsolved-timmlmo…
Browse files Browse the repository at this point in the history
…del-raises-error

51 providing an unsolved timmlmodel raises error
  • Loading branch information
dbrakenhoff authored Dec 19, 2023
2 parents 2e15235 + f980cb8 commit 577703f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ttim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def __init__(
self.name = "TimModel"
self.modelname = "ml" # Used for writing out input
self.timmlmodel = timmlmodel
if self.timmlmodel is not None:
self.timmlmodel.solve()


def __repr__(self):
return "Model"
Expand Down

0 comments on commit 577703f

Please sign in to comment.