Skip to content

Offer iterator interface #599

@GiggleLiu

Description

@GiggleLiu

Using iterator interface, we can make the optimizer like a white box,

for info in optimize_iterator(func, x0, solver)
    println("Step = ", info["istep"])
    println("x = ", info["x"])
    println("f = ", info["f"])
   solver.PARAMETER = PARAMETER
    ...
end

This kind of interface is very welcome is debugging, tunning optimizer et. al.
Please consider ~

A python version is of white box optimizer is https://github.com/BRML/climin

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