Path: news.mathworks.com!not-for-mail From: <HIDDEN> Newsgroups: comp.soft-sys.matlab Subject: Re: Some parameters in GA Date: Tue, 11 Dec 2012 10:37:08 +0000 (UTC) Organization: a Lines: 38 Message-ID: <ka72cj$q31$1@newscl01ah.mathworks.com> References: <k9i18k$pmq$1@newscl01ah.mathworks.com> <k9unvd$ha4$1@newscl01ah.mathworks.com> Reply-To: <HIDDEN> NNTP-Posting-Host: www-01-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: newscl01ah.mathworks.com 1355222228 26721 172.30.248.46 (11 Dec 2012 10:37:08 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Tue, 11 Dec 2012 10:37:08 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 3774923 Xref: news.mathworks.com comp.soft-sys.matlab:784596 I understand that “Optimization terminated: average change in the fitness value less than options.TolFun.” means that the change in my fitness value was less than the value I assigned to TolFun. My question is that is this termination criteria acceptable? Do I have to do anything to correct this optimization terminated such as to change the value assigned to TolFun or something else? Secondly, in all the runs of optimization, definitely there will be a reason display for the optimization terminated right? "Marc" wrote in message <k9unvd$ha4$1@newscl01ah.mathworks.com>... > "Sata" wrote in message <k9i18k$pmq$1@newscl01ah.mathworks.com>... > > 1) When I run the GA solver using the toolbox, is the objective function value the most critical output I have to monitor? When I run the GA repeatedly, do I have to record down other information for each run such as current iteration, reason for the optimization terminated and the final point? > > Yes. You should record all the other information. > > > > 2) Is there a standard reference of how many times we have to run for each set of parameter and then take the average of the objective function value? > > Yes. 2431.67 > > > > > 3) For each run, the value for current iteration is different. How does this matter? Bigger value is better or smaller value is better. Is there an ideal value for current iteration? Do I have to do something to control the current iteration? > > There is an ideal value for the current iteration. It is 42, the "meaning of life". > > > > > 4) What is the meaning of this termination reason which was displayed at the results of toolbox “Optimization terminated: average change in the fitness value less than options.TolFun.” > > It means that the change in your fitness value was less than the value you assigned to TolFun. > > > > > 5) If I need to repeat the same set of parameter for ten times by using the toolbox, do I have to manually run it ten times and manually record the objective function value for each run? Is there another way which I can set to run ten times at once and record ten objective function values at once? > > Sure, you can do this manually or use a "For" loop. > > > > > 6) Will the stopping criteria for the number of generation affect my results? E.g does it matter if I set the number of generation to be 200, 300 or 400 etc. > > Yes, the stopping criteria will affect your results. > > > > > 7) In the constrain option, if I don’t have any constraints, do I just put [] for both linear equalities and linear inequalities? > > Yes