| Author |
Comment/Response |
Caleb Tormey
|
10/01/10 3:48pm
What I am trying to do is fairly basic I think but I haven't found all the pieces.
I have a function I would like to minimize in terms of 4 variables.
f[a1,a2,a3,a4]=1/(8 \[Pi]^3) NIntegrate[p*w[k]*c[a1,a2,a3,a4]+1/2*c[a1,a2,a3,a4,k]^2+Log[u[a1,a2,a3,a4,k],{k,0,40}]
I would like to force the output u[a1,a2,a3,a4] to always be positive and if not move on to the next guess of a1,a2,a3,a4 in the minimization.
URL: , |
|