-
Notifications
You must be signed in to change notification settings - Fork 86
Meta problem opt transformation #117
base: master
Are you sure you want to change the base?
Conversation
Set the Himmelblau's function four known local minima.
Some meta-problems allow for an easy computation of new minima given the minima of the old problems. These computations can be done during the creation of a new meta-problem instance.
After all I found only three out of the eight meta-problems currently implemented suitable for minima updates at creation from minima of the original problems so that the transformation would be valid in the general case. The scaled meta-problem is also a candidate, but at this point I don't know what values the scale can attain (or which values the scaled class expects). Any comments are welcome. |
test on best_f failed .... any idea? |
I think the signature for the transformation function should be either |
transform_best_x -> transform_x, plus a typo
still failing the tests |
@darioizzo Will look into it, unfortunately I have to leave now, but will get back to it today. |
@AVCZ I believe the unit test that fails with this PR can be fixed by rebasing master (I included some changes to |
@kiryx Yeah, I will break up the test into functions. I also considered once again the transform_best_x vs. transform_x naming and think that we should actualy return the transformed vector(s) from the function (now that it's called transform_x) so that we don't have to call set_best_x(...) inside this function and whenever we decide to use this function for transforming arbitrary vectors, we don't actualy change the minima (with incorrect values). |
Let the transform_x() function return a transformed vector.
I would like to see if I can merge this in master ... can you fix the auto merge? |
Conflicts: tests/CMakeLists.txt tests/best_solutions_test.cpp
No description provided.