I would recommend that you use auglag() rather than constrOptim.nl() in the
package "alabama." It is a better algorithm, and it does not require feasible
starting values.
Best,
Ravi
-Original Message-
From: Rainer M Krug [mailto:rai...@krugs.de]
Sent: Thursday, October 01, 2015 3:37
Envoyé de mon iPhone
> Le 1 oct. 2015 à 15:17, Ravi Varadhan a écrit :
>
> I would recommend that you use auglag() rather than constrOptim.nl() in the
> package "alabama." It is a better algorithm, and it does not require
> feasible starting values.
Thanks - that was one question I wanted
Ravi Varadhan writes:
> Hi Rainer,
> It is very simple to specify the constraints (linear or nonlinear) in
> "alabama" . They are specified in a function called `hin', where the
> constraints are written such that they are positive.
OK - I somehow missed the part that, when the values x are val
Hi Rainer,
It is very simple to specify the constraints (linear or nonlinear) in "alabama"
. They are specified in a function called `hin', where the constraints are
written such that they are positive. Your two nonlinear constraints would be
written as follows:
hin <- function(x, LAI) {
h <-
Hi
I have posted the following question on stackoverflow [1] but haven't
received a response yet. Has somebody here any idea, how to formulate
non-linear constraints using e.g. the packages alabama or nlopr? The
question is pasted below.
I am really stuck with this.
Thanks,
Rainer
,
| I am
5 matches
Mail list logo