View Full Version : Help with BCOAH subroutine

02-09-2010, 03:23 PM
I am trying to use the BCOAH subroutine in a Fortran 90 program to estimate parameters from a likelihood function (5 parameters that are in a nonlinear equation). In my case, I know that all of the parameters should be positive (or at least non-negative). This corresponds to IBTYPE = 1.

However, the documentation on the subroutine indicates that I still need a vector denoting an upper limit for my parameters. Is there a way to specify that I only want them to be non-negative and don't want an upper bound?

Thanks in advance.

Richard Hanson
02-10-2010, 06:26 AM
Make the upper bound really big. :)

02-11-2010, 06:38 AM
In practice, that is what I will be doing. It just seems to me that there should be a way to make the upper and lower limits optional if you can specify that the values should be non-negative.