Skip to content

Same code produces different results in VScode vs terminal #220

@fabrizioleone

Description

@fabrizioleone

Hi,

Thanks for this great package.

I am using bboptimize to find the minimum of a non-linear function. My approach is very simple

res = bboptimize(x -> my_obj_fun(x, args); SearchRange = [(0.0, 2.0), (0.0, 2.0)], Method = :adaptive_de_rand_1_bin)

This code produces different results if I run it on VScode or if I call Julia in batch mode from the terminal of my computer. Since everything else is identical (package version, seeds, and objective function) I wonder if bboptimize searches differently depending on how it is called.

Is this a known issue? Is there any way to make sure bboptimize gives the same results in both cases?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions