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

I rewrite your code in Julia, but I got different result #1

Open
Undi123 opened this issue Feb 19, 2021 · 0 comments
Open

I rewrite your code in Julia, but I got different result #1

Undi123 opened this issue Feb 19, 2021 · 0 comments

Comments

@Undi123
Copy link

Undi123 commented Feb 19, 2021

Hey, dear Mostapha Kalami Heris.

Thank you for your contribution to Yarpiz. I have gained a lot from your code like PSO and GA.

I rewrite your SCE-UA code in Julia, but I got different results. The convergence curves from Julia and MATLAB are quite different. The global best cost in MATLAB is 2.4598e-63 while the global best cost in Julia is 8.264629809290885e-8. I used the same objective function, search space, and parameters. But the precision level of results was quite different.

Since you are the writer of this code. I think you may know where I made mistake. Could you please give me some suggestions? If you have time and know Julia language, I hope you could check my code. Thanks for your time.

My code in Julia can be obtained from https://github.com/Undi123/SCEUA-Julia/archive/main.zip

I also asked this question in Stackoverflow. It was described in detail in https://stackoverflow.com/questions/66254587/why-results-of-sce-ua-optimization-algorithm-are-different-when-implemted-in-jul

Thanks a lot again!

Yours,
Wang

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