View source: R/gurobi_numerical_optimization_search.R
| resultsGurobiNumericalOptimizeSearch | R Documentation |
Returns the results (thus far) of the Gurobi numerical optimization design search
resultsGurobiNumericalOptimizeSearch(obj)
obj |
The |
Adam Kapelner
## Not run:
if ("gurobi" %in% loadedNamespaces()) {
set.seed(1)
X = matrix(rnorm(12), nrow = 6)
gobj = initGurobiNumericalOptimizationExperimentalDesignObject(
X,
r = 2,
num_cores = 1,
initial_time_limit_sec = 5,
verbose = FALSE
)
res = resultsGurobiNumericalOptimizeSearch(gobj)
res$obj_vals
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.