testConstrainedProblem {RcppNLoptExample} | R Documentation |
NLopt Call Example from Rcpp
Description
A simple example for for NLopt integration for Rcpp, using an example from the NLopt tutorial.
Usage
testConstrainedProblem(method = "MMA", verbose = FALSE)
Arguments
method |
A string defaulting to ‘MMA’ (also allowing ‘COBYLA’) which selects the algorithm use. |
verbose |
A boolean toggle defaulting to ‘false’ |
Value
A numeric vector with two elements
See Also
https://nlopt.readthedocs.io/en/latest/NLopt_Tutorial/
Examples
testConstrainedProblem("MMA", TRUE)
[Package RcppNLoptExample version 0.0.1 Index]