|
[Sponsors] |
February 1, 2005, 11:10 |
Minimization problem
|
#1 |
Guest
Posts: n/a
|
Hi, everybody I've a real problem with some of Numerical Recipes routines in f77. I'm trying to isolate the minimum of a quadratic multidimensional equation (i.e. (x+2)^2+(y+2)^2+3) which will the most simple case with the Conjugate Gradient Method. I use the routine mnbrak dbrent and dlinmin that you can easily find on the Numerical recipes home page. (If your are interested, I can send you the source files of "my" code). The problem is the dependancy of the solution ( i.e. the location of minimum ) to the INITIAL GUESS. If anybody have used those routines...
|
|
February 2, 2005, 04:23 |
Re: Minimization problem
|
#2 |
Guest
Posts: n/a
|
for f(x,y)= (x+2)^2+(y+2)^2+3) the minimum is f(-2,-2)=3
|
|
February 2, 2005, 04:25 |
Re: Minimization problem
|
#3 |
Guest
Posts: n/a
|
HA............ Good Job............
|
|
February 2, 2005, 11:01 |
Re: Minimization problem
|
#4 |
Guest
Posts: n/a
|
That is normal, to a certain extend, with non-linear optimization
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |