Re: [R] auglag store parameters

2014-05-05 Thread MacQueen, Don
Just guessing, but something like pars <- numeric(nloops) for (i in 1:nloops) { ## use auglag pars[i] <- {the $par part of the answer} } might be what you're looking for. All of which has nothing to do with auglag in particular, just simple R programming. -Don -- Don MacQueen Lawren

Re: [R] auglag store parameters

2014-05-03 Thread David Winsemius
On May 3, 2014, at 5:07 AM, Delger Enkhbayar wrote: > Hi, > > I am minimizing a non-linear function subject to linear and nonlinear > equalities and inequalities. I managed to understand how to use auglag for > this case. Now, I'm using loops to get solutions for different assumptions, > however

[R] auglag store parameters

2014-05-03 Thread Delger Enkhbayar
Hi, I am minimizing a non-linear function subject to linear and nonlinear equalities and inequalities. I managed to understand how to use auglag for this case. Now, I'm using loops to get solutions for different assumptions, however, I'm facing a difficulty in storing just $par part of the answer

[R] auglag store parameters

2014-05-03 Thread Delger Enkhbayar
Hi, I am minimizing a non-linear function subject to linear and nonlinear equalities and inequalities. I managed to understand how to use auglag for this case. Now, I'm using loops to get solutions for different assumptions, however, I'm facing a difficulty in storing just $par part of the answer