d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b,gekko/gekko.py,GEKKO,MV,#GEKKO#Any#Any#Any#Any#Any#,135

Before Change


    def MV(self, name=None, value=None, lb=None, ub=None, integer=False):
        Change these variables optimally to meet objectives
        if name is not None:
            name = "".join(e for e in name if e.isalnum()).lower()
        else:
            name = "p" + str(len(self.parameters) + 1)
            if integer == True:
                name = "int_"+name

After Change


    def MV(self, name=None, value=None, lb=None, ub=None, integer=False):
        Change these variables optimally to meet objectives
        if name is not None:
            name = re.sub(r"\W+", "", name).lower()
        else:
            name = "p" + str(len(self.parameters) + 1)
        if integer == True:
            name = "int_"+name
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 9

Instances


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: MV


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: SV


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: CV


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: Var


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: FV


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: Intermediate


Project Name: BYU-PRISM/GEKKO
Commit Name: d7ac2a2785f66c2a4c456f3c652b9b10b7b4172b
Time: 2018-03-01
Author: beal.logan@gmail.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: Const