Skip to content

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

@Undi123

Description

@Undi123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions