| Author |
Comment/Response |
Shaun Hooper
|
03/28/12 8:41pm
Hi,
I am trying to figure out how to use NMinimize or FindMinimum to minimize a function (lets call it g) that is a function of multiple variables.
NMinimize[ { g[10, f1, f2, 1500], 10 < f1 < f2 < < 1500}, {f1, f2} ]
But when I use this. it does a few iterations and then gives me the error,
NMinimize::nrnum: "The function value 1.19029*10^11-1.80599*10^6\ I is not a real number at {f1,f2} = {11.9762,-105.355}"
So it doesn't look like it obeys the contraint?
URL: , |
|