August 19th, 2004, 2:41 pm
Hi everyone, I need to optimize an expression which is objective function, z = sum{[P(x1,x2,x3) - P]^2}where P(x1, x2, x3, x4) is a function with four variables x1, x2, x3 and x4 and whereby there're separate constraints on each of these four variables.May I ask if anyone has any similar ready VBA / C source code for such a optimization routine? Or can anyone advise what is the best algorithm for running this? Any direction/references will be welcome.Thanks!