-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description of the bug
as per the title
Steps To Reproduce
package version: 1.0.1
minimal repro:
fun = cec2017.F92017(ndim=10)
x = [
28.65134357093416,
79.89267547797499,
55.14337860489706,
-57.019180636897296,
-41.90935633243056,
73.93139548679916,
-99.03857772878108,
66.30462801394798,
65.34292892651949,
-5.497987795962517,
]
print(f"Opfunu's global minimum of F9: {fun.f_global}")
print(f"value for given x: {fun.evaluate(x)}")
x_opt = fun.f_shift
print(f"opfunu's minimal input: {x_opt}")
print(f"value for opfunu's minimum input: {fun.evaluate(x_opt)}")output:
Opfunu's global minimum of F9: 900.0
value for given x: -163.41502728126488
opfunu's minimal input: [-24.85625428 0.93425322 21.99393031 51.98676726 -18.40259266
-12.37483856 16.08833668 -3.32547974 -51.33798956 42.40954301]
value for opfunu's minimum input: 900.0
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working