Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ackley function implemented incorrectly in ZXH_CF problems 3, 8, 9, and 14 #144

Open
jordan-cork opened this issue Oct 10, 2023 · 0 comments

Comments

@jordan-cork
Copy link

jordan-cork commented Oct 10, 2023

The Ackley function for ZXH_CF problems 3, 8, 9, and 14 have potentially been implemented incorrectly.

The paper describing the ZXH_CF functions writes the Ackley function (for ZXH_CF3) as follows:
image

This is not how it is implemented in the Platemo code where h (representing the Ackley function) is written as follows:
h = 20 - 20 * exp(-0.2 * sqrt(sum((PopDec(:,M+1:end)-OptX).^2,2)/(D-M))) + exp (1) - exp(sum(cos(2 * pi .*(PopDec(:,M+1:end)-OptX)),2)/(D-M));

Instead of n - m, it is implemented as D-M. This will result in division by zero when D and M are of equal values, for instance when the number of decision variables and the number of objectives both equal 2.

I haven't been able to identify exactly what n is in the paper, however, I don't believe it is the number of decision variables.

@jordan-cork jordan-cork changed the title Incorrect Pareto Front Calculations for ZXH_CF Null Oct 10, 2023
@jordan-cork jordan-cork changed the title Null Issue incorrectly posted. Please delete! Oct 10, 2023
@jordan-cork jordan-cork changed the title Issue incorrectly posted. Please delete! Ackley function implemented incorrectly in ZXH_CF problems 3, 8, 9, and 14 Oct 10, 2023
@jordan-cork jordan-cork reopened this Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant