Skip to content

add minmax function #68

Open
Open
@lucaferranti

Description

@lucaferranti

It would be nice to have a minmax function that computes both the minimum and the maximum function.

A start could be

function minmax(f::Function, X; kwargs...)
   global_min, minimiser = minimise(f, X; kwargs...)
   global_max, maximiser = maximise(f, X; kwargs...)
   return minimiser, global_min, maximiser, global_max
end

on the longer run, it could be nice to try to be smarted and solve both simultaneously and more efficiently.

@dpsanders what do you think?

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