Commit Graph

4 Commits

Author SHA1 Message Date
Dan Kortschak
89be31a4e6 optimize: fix doc comment typo 2020-02-21 19:37:42 +10:30
Brendan Tracey
c07f678f3f optimize: Change initialization, remove Needser, and update Problem f… (#779)
* optimize: Change initialization, remove Needser, and update Problem function calls

We need a better way to express the Hessian function call so that sparse Hessians can be provided. This change updates the Problem function definitions to allow an arbitrary Symmetric matrix. With this change, we need to change how Location is used, so that we do not allocate a SymDense. Once this location is changed, we no longer need Needser to allocate the appropriate memory, and can shift that to initialization, further simplifying the interfaces.

A 'fake' Problem is passed to Method to continue to make it impossible for the Method to call the functions directly.

Fixes #727, #593.
2019-02-01 15:26:26 +00:00
Brendan Tracey
9c5a3cae0e Rename GlobalMethod to Method and GlobalTask to Task 2018-07-26 06:45:43 -06:00
Brendan Tracey
f0b07f8621 optimize: add ListSearch for finding the optimum over a specific list… (#438)
* optimize: add ListSearch for finding the optimum over a specific list of values
2018-03-22 14:00:44 -06:00