Commit Graph

17 Commits

Author SHA1 Message Date
Dan Kortschak
889a9573ff all: remove redundant bad prefix and make panic strings const 2019-12-02 19:52:03 +10:30
Dan Kortschak
9a5a03f262 optimize: unify Gradient and Hessian API behaviour 2019-04-23 20:19:19 +09:30
Dan Kortschak
ae324d6d48 optimize: make Problem.Hess take a *mat.SymDense 2019-04-23 20:19:19 +09:30
Vladimir Chalupecky
c38fb5f9ef all: fix "the the" typo in comments 2019-03-28 14:24:03 +01:00
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
6b603faff1 optimize/functions: Implement VSLE valley-shaped functions (#332)
* optimize/functions: Implement VSLE valley-shaped functions
2017-12-11 11:14:52 -07:00
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Vladimir Chalupecky
985bce8af2 optimize/functions: use ++ and -- operators 2017-06-17 11:48:26 +02:00
Vladimir Chalupecky
a606d7a1eb optimize/functions: rename Schubert to Shubert 2017-06-17 11:48:26 +02:00
Brendan Tracey
9a50036ca1 Merge pull request #65 from gonum/redomat
matrix, all: combine matrix packages, change matrix to mat
2017-06-15 23:41:30 -06:00
Brendan Tracey
7a159c1266 Merge pull request #66 from gonum/vlsefuncs
optimize/functions: implement the many local minima functions in the …
2017-06-15 23:41:19 -06:00
Brendan Tracey
7a97baedff optimize/functions: implement the many local minima functions in the virtual library of simulation experiments 2017-06-15 20:42:22 -06:00
Brendan Tracey
9f4ea5ad20 optimize/functions: add BraninHoo test function 2017-06-14 11:21:41 -06:00
Brendan Tracey
0d639745f1 all: update packages from mat64 to mat.
This mostly changes package name and code, but also fixes a couple of name clashes with the new package names
2017-06-13 10:28:21 -06:00
kortschak
37850ca814 all: add canonical imports 2017-05-25 16:07:18 +09:30
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
37c29d47e7 optimize: imported optimize as a subtree 2017-05-23 00:02:57 -06:00