53f8da05241b69ef44b3befd92cef9b247f4aae6,qiskit_aqua/components/optimizers/nlopts/crs.py,CRS,check_pluggable_valid,#,66

Before Change



    @staticmethod
    def check_pluggable_valid():
        return check_nlopt_valid(CRS.CONFIGURATION["name"])

    def optimize(self, num_vars, objective_function, gradient_function=None,
                 variable_bounds=None, initial_point=None):
        super().optimize(num_vars, objective_function, gradient_function, variable_bounds, initial_point)

After Change



    @staticmethod
    def check_pluggable_valid():
        check_nlopt_valid(CRS.CONFIGURATION["name"])

    def optimize(self, num_vars, objective_function, gradient_function=None,
                 variable_bounds=None, initial_point=None):
        super().optimize(num_vars, objective_function, gradient_function, variable_bounds, initial_point)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 53f8da05241b69ef44b3befd92cef9b247f4aae6
Time: 2018-12-13
Author: manoel@us.ibm.com
File Name: qiskit_aqua/components/optimizers/nlopts/crs.py
Class Name: CRS
Method Name: check_pluggable_valid


Project Name: Qiskit/qiskit-aqua
Commit Name: 53f8da05241b69ef44b3befd92cef9b247f4aae6
Time: 2018-12-13
Author: manoel@us.ibm.com
File Name: qiskit_aqua/components/optimizers/nlopts/direct_l.py
Class Name: DIRECT_L
Method Name: check_pluggable_valid


Project Name: Qiskit/qiskit-aqua
Commit Name: 53f8da05241b69ef44b3befd92cef9b247f4aae6
Time: 2018-12-13
Author: manoel@us.ibm.com
File Name: qiskit_aqua/components/optimizers/nlopts/isres.py
Class Name: ISRES
Method Name: check_pluggable_valid


Project Name: Qiskit/qiskit-aqua
Commit Name: 53f8da05241b69ef44b3befd92cef9b247f4aae6
Time: 2018-12-13
Author: manoel@us.ibm.com
File Name: qiskit_aqua/components/optimizers/nlopts/esch.py
Class Name: ESCH
Method Name: check_pluggable_valid


Project Name: Qiskit/qiskit-aqua
Commit Name: 53f8da05241b69ef44b3befd92cef9b247f4aae6
Time: 2018-12-13
Author: manoel@us.ibm.com
File Name: qiskit_aqua/components/optimizers/nlopts/direct_l_rand.py
Class Name: DIRECT_L_RAND
Method Name: check_pluggable_valid