Skip to content
Prev 133553 / 398498 Next

Constrained minimization solver for nonlinear programming

On Jan 9, 2008 2:13 PM, tom soyer <tom.soyer at gmail.com> wrote:
Indeed, constrOptim does not do equality constraints, but, trough
penalties, one can add them.
Yes, Tom, R can do that for you. Apply the exponential smoothing. At
the end, you get the RMSE as an expression depending on alpha (the
smoothing parameter). Then use

uniroot

to solve the following equation

RMSE == "your desired value for RMSE".

Please, notice that this is not an optimization problem.

Paul