Skip to content

Commit

Permalink
remove addVariablesPyOpt for baseConstraint
Browse files Browse the repository at this point in the history
  • Loading branch information
sseraj committed Oct 31, 2022
1 parent 775a4d3 commit a941087
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pygeo/constraints/baseConstraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,6 @@ def addConstraintsPyOpt(self, optProb, exclude_wrt=None):
self.name, self.nCon, lower=self.lower, upper=self.upper, scale=self.scale, wrt=wrt_names
)

@abstractmethod
def addVariablesPyOpt(self, optProb):
"""
Add the variables to pyOpt, if the flag is set
"""
# if self.addToPyOpt:
# optProb.addVarGroup(self.name, self.nCon, lower=self.lower,
# upper=self.upper, scale=self.scale,
# wrt=self.getVarNames())

@abstractmethod
def writeTecplot(self, handle):
"""
Expand Down

0 comments on commit a941087

Please sign in to comment.