Description Usage Arguments Value Examples
Problem parameters can be set with
set.params
. This method resets all their
values to defaults, which have been described in help for
the set.params
function.
1 | reset.lsp.params(lsp)
|
lsp |
the lsp object whose parameters are to be reset. |
lsp object with all parameters reset to their default values.
1 2 3 4 5 6 7 | modelText <- lsp.model.example('extdata/knapsack.txt')
lsp <- ls.problem(modelText)
lsp$params
lsp <- set.params(lsp, lsTimeLimit=60, lsSeed=7)
lsp$params
lsp <- reset.lsp.params(lsp)
lsp$params
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.