
Re: Urgent Optimization problem
A.Non Feb 14, 2012 9:49 AM (in response to dghaffaritari)It's not possible to say whether or not this is possible without more information. How is the function "Error" defined? Error between what and what?

Re: Urgent Optimization problem
dghaffaritari Feb 23, 2012 8:01 AM (in response to A.Non)Richard,
The Error fucnction is symbolically defined. In the minimization part I want to find constants aij,bij,dij so that the function Error(eps) is always minimize (0<eps<0.1). Basically I don't want to find variable eps but rather have it as a variable.
Thanks
Dariush
***I also attached the file that I have here, It is in written using version 14.
Message was edited by: DanMarotta.

Re: Urgent Optimization problem
A.Non Feb 23, 2012 10:26 AM (in response to dghaffaritari)At least two of your parameters are not independent, so you have an infinte number of possible solutions. I believe that minimize has stopped at one of those solutions, which is very close to where you started. If you change the starting guesses you will find other, equally valid solutions.
Message was edited by: DanMarotta

Re: Urgent Optimization problem
dghaffaritari Feb 15, 2012 10:13 AM (in response to A.Non)Yes that is true, But you see the problem I have right now is that I am fitting parameter "eps" along with other constants, although I want to keep it as a variable. What I am really looking for is a function Error(eps) that is always minimum within the range (0<eps<0.1) . Is that possible using mathcad?

Re: Urgent Optimization problem
A.Non Feb 23, 2012 10:26 AM (in response to dghaffaritari)Yes that is true, But you see the problem I have right now is that I am fitting parameter "eps" along with other constants, although I want to keep it as a variable. What I am really looking for is a function Error(eps) that is always minimum within the range (0<eps<0.1) . Is that possible using mathcad?
Do you mean like in the attached worksheet?
Message was edited by: DanMarotta

Re: Urgent Optimization problem
dghaffaritari Feb 17, 2012 8:18 AM (in response to A.Non)Yes, In fact in the current file I uploaded, fits eps as well.






Re: Urgent Optimization problem
赵亚军 Feb 15, 2012 8:43 PM (in response to dghaffaritari)i think i know what you want to do，but your worksheet are too complex，you may want to find the parameters in your function through minimizing the error，the error functio can be the error(between your function and the experimental data ) sum of squares.mathcad can do it.
my work may have something in common with yours.i give you two two suggestions,hope that it can do some help for you:
1.you have two many parameters,and your functions are very complex,you can use matrix instead of so many parameters;
2.the error function can be expressed like this:
you said that "What I am really looking for is a function Error(eps) that is always minimum within the range (0<eps<0.1)",i think it depends on whether the function and the data can be fitted well or not，if they are fitted very well，the Error maybe very small.
my english is poor,maybe i misurderstand you,wo can continue to discuss.

Re: Urgent Optimization problem
dghaffaritari Feb 19, 2012 4:34 PM (in response to 赵亚军)键 张,
Thank you for your suggestions. I would like to rephrase this question in this form.
Assume we have an arbitrary function like this:
F(x,c1,c2,c3):=c1.x^3+c2.log(x)+c3
now I want to find a minimum for the function F by finding c1,c2 and c3 so that for any value of the variable x (0<x<0.1) this means something like
F(x):=Minimize(F,c1,c2,c3)
Which is not possible, is it?

Re: Urgent Optimization problem
赵亚军 Feb 19, 2012 8:19 PM (in response to dghaffaritari)you can use the minimize function to find c1,c2 and c3
i make a simple example,you also can seek the QuickSheet for help.

Minimize.xmcd.zip 21.1 K

Re: Urgent Optimization problem
dghaffaritari Feb 20, 2012 5:05 PM (in response to 赵亚军)键 张,
Thank you. I think this is going to help me solve the problem. I was trying to solve it in a contineous manner but now I think maybe decretizing, it as you did, might even make it easier to solve. I'll work on it for a few days and let you know how it goes. I appreciate your help.
Dariush



