[Bugzilla] [Bug 4829] Samuel GOUGEON has changed bug_file_loc, cc, component
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Fri Mar 23 22:20:49 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=4829
--------- Bug Summary -----------
In the fminsearch unit test, the counter for the number of function evaluation
---------- Changed by ------------
sgougeon at free.fr
---------- What changed ----------
bug_file_loc, cc, component
Samuel GOUGEON <sgougeon at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL|-->exec fminsearch.tst
|
|-->function y = banana (x)
|
|--> y = |
|100*(x(2)-x(1)^2)^2 + |
|(1-x(1))^2;
|
|-->endfunction
|
|-->[x , fval , exitflag , |
|output] = fminsearch ( |
|banana , [-1.2 1] );
|
|-->assert_close ( x , |
|[1.000022021783570 |
|1.000042219751772], 1e-4 ); |
| |
|-->assert_close ( fval , |
|0.0 , 1e-4 );
|
|-->assert_equal ( |
|output.iterations , 85 );
|
|-->assert_equal ( |
|output.algorithm , |
|"Nelder-Mead simplex direct |
|search" );
|
|-->assert_equal ( |
|output.funcCount , 159 );
|
|Saisissez 'resume' ou |
|'abort' pour revenir au |
|niveau de prompt normal.
|
|-1->output.funcCount
|
| ans =
|
| 160. |
CC| |michael.baudin at contrib.scil
| |ab.org
Component|Numerical Math |Optimization
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180323/80370a68/attachment.htm>
More information about the Bugzilla
mailing list