56a2578d6ff1cb31cd1552d1e7ce832b10521ba5,mystic/differential_evolution.py,DifferentialEvolutionSolver,_Step,#DifferentialEvolutionSolver#Any#Any#,242

Before Change


        Note that ExtraArgs should be a *tuple* of extra arguments
        // process and activate input settings
        settings = self._process_inputs(kwds)
        for key in settings:
            exec("%s = settings["%s"]" % (key,key))

        // HACK to enable not explicitly calling _decorate_objective
        cost = self._bootstrap_objective(cost, ExtraArgs)

        init = False  // flag to do 0th iteration "post-initialization"

After Change


        // process and activate input settings
        settings = self._process_inputs(kwds)
        //(hardwired: due to python3.x exec"ing to locals())
        callback = settings["callback"] if "callback" in settings else None
        disp = settings["disp"] if "disp" in settings else False
        strategy = settings["strategy"] if "strategy" in settings else self.strategy

        // HACK to enable not explicitly calling _decorate_objective
        cost = self._bootstrap_objective(cost, ExtraArgs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 14

Instances


Project Name: uqfoundation/mystic
Commit Name: 56a2578d6ff1cb31cd1552d1e7ce832b10521ba5
Time: 2017-06-22
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/differential_evolution.py
Class Name: DifferentialEvolutionSolver
Method Name: _Step


Project Name: uqfoundation/mystic
Commit Name: 56a2578d6ff1cb31cd1552d1e7ce832b10521ba5
Time: 2017-06-22
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/differential_evolution.py
Class Name: DifferentialEvolutionSolver
Method Name: _Step


Project Name: uqfoundation/mystic
Commit Name: 56a2578d6ff1cb31cd1552d1e7ce832b10521ba5
Time: 2017-06-22
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/scipy_optimize.py
Class Name: PowellDirectionalSolver
Method Name: _Step


Project Name: uqfoundation/mystic
Commit Name: 56a2578d6ff1cb31cd1552d1e7ce832b10521ba5
Time: 2017-06-22
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/differential_evolution.py
Class Name: DifferentialEvolutionSolver2
Method Name: _Step


Project Name: uqfoundation/mystic
Commit Name: 56a2578d6ff1cb31cd1552d1e7ce832b10521ba5
Time: 2017-06-22
Author: mmckerns@968178ea-60bd-409e-af13-df8a517b6005
File Name: mystic/scipy_optimize.py
Class Name: NelderMeadSimplexSolver
Method Name: _Step