Skip to content

Commit

Permalink
Remove EqualModel.
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Jul 1, 2020
1 parent a5c6c3d commit d6567dd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions robust/robust_gp_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,6 @@ def setup(self, model):
self.cost = model.cost
return constraints


class EqualModel(Model):
def setup(self, model):
subs = model.substitutions
self.cost = model.cost
return model, subs

def confirmSuccess(model, solution, uncertainsub):
new_model = RobustGPTools.DesignedModel(model, solution, uncertainsub)
fail_success, cost = RobustGPTools.fail_or_success(new_model)
Expand Down

0 comments on commit d6567dd

Please sign in to comment.