Project-Platypus / Platypus

A Free and Open Source Python Library for Multiobjective Optimization
GNU General Public License v3.0
563 stars 153 forks source link

Fix UF11 and UF12 issues #153

Closed andrewdircks closed 2 years ago

andrewdircks commented 4 years ago
  1. Issue in evaluate for UF11 and UF12 caused a TypeError during algorithm run.
    algorithm = NSGAII(UF11())
    algorithm.run(1000)

    gives: TypeError: unhashable type: 'list'

Removing the list brackets in both evaluate functions stopped this issue.

  1. UF12 was using the bounds, rotation, and scaling matrices from UF11.