Skip to content
This repository was archived by the owner on Dec 27, 2019. It is now read-only.
This repository was archived by the owner on Dec 27, 2019. It is now read-only.

Use memoization for unbracketed GoldenRatio #11

Description

@sebasv

Concerns calls to GoldenRatio::minimize:

(paraphrased)
If the function values generated in GoldenRatio::explore are stored in a key-value map, and then instead of the precise golden ratio just a "close enough" value from the map is used, the number of evaluations in GoldenRatio::minimize_bracket is potentially lowered at the cost of space.

Originally posted by @to266 in #6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions