| Author |
Comment/Response |
Christian
|
11/30/02 3:02pm
Hello,
Sorry for the basic question, but I couldn't find any example in the FAQ (or maybe more likely, I didn't understand it)
I want to minimize a function of the kind
f:=(const-Sum[x[i],{i,1,many}])^2
The function is actually more complicated than this but that is not important for the question. I can calculate the gradient and each derivative will contain the Sum[x[i],{i,1,many}] -part. How can I tell FindMinimum in the gradient function definition not to evaluate this sum again and again but to use the summation already known from the function evaluation?
Regards
Christian
URL: , |
|