testConstrainedProblem | R Documentation |
A simple example for for NLopt integration for Rcpp, using an example from the NLopt tutorial.
testConstrainedProblem(method = "MMA", verbose = FALSE)
method |
A string defaulting to ‘MMA’ (also allowing ‘COBYLA’) which selects the algorithm use. |
verbose |
A boolean toggle defaulting to ‘false’ |
A numeric vector with two elements
https://nlopt.readthedocs.io/en/latest/NLopt_Tutorial/
testConstrainedProblem("MMA", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.