Description Usage Arguments Examples
The function compiles the code to C++ and uses Armadillo and ensmallen to optimize it.
1 2 3 4 5 6 | compile_optimization_problem(
data = list(),
evaluate,
gradient,
optimizer = optimizer_SA()
)
|
data |
a named list of prior data you would like to supply to the evaluate function. |
evaluate |
a function that is to be minimized. It should return a single numeric. |
gradient |
optional, a function computing the gradient of |
optimizer |
one of the many optimizers |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.