Skip to content

Surrogate model is only updated when point is optimal #461

@weslleyspereira

Description

@weslleyspereira

Hi! I noticed a possible bug in your code for the DYCORS optimization method. Accordingly to the original paper,

Rommel G Regis and Christine A Shoemaker.
Combining radial basis function surrogates and dynamic coordinate search in high-dimensional expensive black-box optimization.
Engineering Optimization, 45(5): 529–555, 2013.

the surrogate model should be updated regardless if it finds or not a new best point. So, the code:

if f_new < y_best
x_best = x_new
y_best = f_new
add_point!(surr1, x_best, y_best)
end

should be updated to:

if f_new < y_best
    x_best = x_new
    y_best = f_new
end
add_point!(surr1, x_new, f_new)

A similar fix applies to the multidimensional DYCORS optimization method.

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