Skip to content

Replace Problem.x_guesses? #1678

@dweindl

Description

@dweindl

There is pypesto.problem.base.Problem.x_guesses which is used to pre-select startpoints for optimization. By default, Problem.startpoint_method will return points from x_guesses if that's set. Repeated calls will always return the same points. While this may be convenient in a few situations, it's a bit of a footgun elsewhere.

Are there any uses cases for x_guesses outside multi-start optimization (pypesto.optimize.optimize.minimize)? If not, I would propose removing Problem.x_guesses and instead adding an x0 argument to minimize().

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