Re: [R] Trouble with Optimization in Alabama Package

2011-06-20 Thread mcgrete
Hello all, I was in direct email contact with Ravi, who was very kind to offer his assistance. Inbetween correspondence with Ravi, I arrived at a solution. In case others have the same issue, I am sharing the solution. Thanks Ravi for your willingness to help. Regards, Tim

Re: [R] Trouble with Optimization in Alabama Package

2011-06-19 Thread mcgrete
Hello Erik and Ravi, I am curious if Erick or Ravi have a solution to Erick's question. I have a similar problem. I wish to use auglag to solve a nonlinear optimization problem. The cost function, grad function, and constraints are all function of some parameters that are dependent upon the

Re: [R] Constrainted Nonlinear Optimization - lack of convergence

2011-05-20 Thread mcgrete
Hello all, I did find a bug in coding my cost function; I have only run a few examples to verify it works properly, but this appears to have solved most of my questions. I did find that some of my inequality constraints are not met, e.g. if z1=0; z2=0 are two equality constraints, often the code

[R] Constrainted Nonlinear Optimization - lack of convergence

2011-05-18 Thread mcgrete
Hello, I am attempting to utilize the 'alabama' package to solve a constrained nonlinear optimization problem. The problem has both equality and inequality constraints (heq and hin functions are used). All constraints are smooth, i.e. I can differentiate easily to produce heq.jac and hin.jac