check.solver | R Documentation |
This function checks the solver used is supported and is appropriate for the testing function. If not, an error message is displayed.
check.solver(x, name.var, norm = 2, qc = FALSE)
x |
The variable to be checked. |
name.var |
The name of the variable. |
norm |
The norm used (if applicable). |
qc |
An indicator of whether the problem consists of a quadratic constraint. |
Returns the function name that corresponds to the solver for the problem.
solver |
The function for the solver used. |
solver.name |
The name of the solver used in lower case. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.