> On May 6, 8:51 pm, prynh

@gmail.com wrote:

> > > To use the NAG library, one must PURCHASE object code for the NAG

> > > library specific to a compiler and operating system. Have you done so?

> > Thank you for this. No I haven't purchased any code - I just tried

> > compiling some code that I inherited "out of the box".

> > > I don't think the NAG library is distributed for g95 or gfortran. The

> > > routine E04UCF

> > > "is designed to minimize an arbitrary smooth function subject to

> > > constraints (which may

> > > include simple bounds on the variables, linear constraints and smooth

> > > nonlinear constraints) using a

> > > sequential quadratic programming (SQP) method."

> > > There exist free Fortran codes with similar functionality, and you

> > > could try substituting one of them.

> > Do you know where I would find such codes ? I'm new to Fortran;

> > basically I'm trying to get some code that I've been given to run...

> You can search "minimiz" and "optimiz" at Alan Miller's sitehttp://users.bigpond.net.au/amiller/(for nonlinearly constrained

> optimization, cobyla may work). Some other places to look are

> Open Directory: Fortran: Source Code: Optimizationhttp://dmoz.org/Computers/Programming/Languages/Fortran/Source_Code/O...

> NEOS Guide Optimization Treehttp://www-fp.mcs.anl.gov/otc/Guide/OptWeb/index.html

> Netlibhttp://www.netlib.org/opt/.

Thanks!