Description Usage Arguments Value
View source: R/functions_ipopt.r
Evaluate an objective function that calculates the weighted sum of (x - 1)^2
at a specific point x
, where x
is the ratio of new weights to
existing weights. It weights elements in the sum by the initial weights. It
scales the calculation by a scaling factor. Most users will have no need to
call this function, but it can be useful when debugging a problem.
1 | eval_f_xm1sq(x, inputs)
|
x |
Numeric vector representing the ratio of new weights to initial weights, length h. |
inputs |
List created by
|
A scalar, the scaled weighted sum of the differences between x and 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.