Retrieve the global minimum of a function.

Description

Retrieve the global minimum of a function.

Usage

1
2
3
4
  global_minimum(fn)

  ## S3 method for class 'soo_function'
 global_minimum(fn)

Arguments

fn

Function to query.

Value

List with two elements. par contains the location of the global minimum in the parameter space (possibly as a list if there are multiple global minima) and value the function value of the global minimum.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.