Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

minimization routine with bounds

dsmanoli
Beginner
1,585 Views
Hi,

Can someone tell me where I can find a routine to minimize a function of several variables with simple bounds? I am looking for a routine that is based only on function evaluations; I do not know the derivatives for the function and the function may be non-smooth.

For example, I am trying to minimize a function f(x1,...xN) where 1 < x1 <= 2 ... 0 <= xN < 4 and f(--) returns a scalar value.

I know that IMSL has routines for this, but I am trying to find the source code for such a routine.

Please let me know if you have any suggestions.

Thanks,
Day
0 Kudos
5 Replies
DavidWhite
Valued Contributor II
1,585 Views
Hi,

Can someone tell me where I can find a routine to minimize a function of several variables with simple bounds? I am looking for a routine that is based only on function evaluations; I do not know the derivatives for the function and the function may be non-smooth.

For example, I am trying to minimize a function f(x1,...xN) where 1 < x1 <= 2 ... 0 <= xN < 4 and f(--) returns a scalar value.

I know that IMSL has routines for this, but I am trying to find the source code for such a routine.

Please let me know if you have any suggestions.

Thanks,
Day
Suggest you look in netlib.org; or Alan Miller's site as starters.

0 Kudos
anthonyrichards
New Contributor III
1,585 Views
Quoting - David White
Suggest you look in netlib.org; or Alan Miller's site as starters.


There is also the CERNLIB 'MATHLIB' library available as a download from CERN ( see http://cernlib.web.cern.ch/cernlib/), from which these routines are available:

http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/d501/top.html
0 Kudos
Jeppe_G_
Beginner
1,585 Views

Hi

A good starting point might be Numerical Recipies (www.nr.com) - the routines are fairly simple, but works well for small problems. For a more comprehensive code I will suggest that you look at www.coin-or.org, this is a really good solver based on open-source.

Best regards
Jeppe Grue
0 Kudos
bendel_boy1
Beginner
1,585 Views

Hi

A good starting point might be Numerical Recipies (www.nr.com) - the routines are fairly simple, but works well for small problems. For a more comprehensive code I will suggest that you look at www.coin-or.org, this is a really good solver based on open-source.

Best regards
Jeppe Grue
Always remember the optimisation routines decision guide:

http://plato.asu.edu/guide.html
0 Kudos
anthonyrichards
New Contributor III
1,585 Views

CERLIB is free and you can access the source code.
0 Kudos
Reply