Lola

10 Reputation

One Badge

8 years, 225 days

MaplePrimes Activity


These are questions asked by Lola

I have a non-linear function to be optimized. It involves infinite sums. Maple plots the function so I can see where the minimum is. However the NLP solve keeps on evaluating without providing the solution. I have tried to write the function as a procedure but it does not work either.

I'd appreciate any suggestion

 

I have a nonlinear function Q(a,b,c,d,x,y) and I'd like to get the optimum (x*,y*) for different values of (a,b,c,d). The usual sintax:

NLPSolve(Q(10, 1, 5, 2, x,y), x= 0 .. 50, y = 0 .. 50, initialpoint = {x = 2,y= .5}, assume = nonnegative) does not work when Q contains numerical integration, that is evalf (Int). I have no problem with the definite integral evalf(int). The problem is that most of the cases required numerical integration so I need the former expression.

I'd appreciate very much if someone could help me.

Page 1 of 1