[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8901] fminsearch support for more options

From: Markus Mützel
Subject: [Octave-patch-tracker] [patch #8901] fminsearch support for more options and more output arguments
Date: Wed, 03 Feb 2016 12:48:02 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0


                 Summary: fminsearch support for more options and more output
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Mi 03 Feb 2016 12:48:01 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



This patch fixes bug #44220 (fminsearch >2 output arguments) and bug #41888
(fminsearch: should pass additional arguments to called function). The doubts
in https://savannah.gnu.org/bugs/?41888#comment5 should also be addressed and
I added some tests for the syntax in
Additionally, it implements the other FIXMEs from the list  below the help

I left the search algorithm untouched so that it should be save to apply this

The Mathworks documentation for OutputFcn ([1]) states that it can be called
with the state "interrupt". But I do not understand when this happens and I
cannot test since this seems not to be available in R2012a. Thus, with this
patch the output function will not be called with this state.
I tried the examples given on [1] and they seem to work. I had to change
"Example of a Nested Output Function" since handles to nested functions do not
work in Octave (see attached myproblem.m).

[1] http://de.mathworks.com/help/matlab/math/output-functions.html


File Attachments:

Date: Mi 03 Feb 2016 12:48:01 GMT  Name: fminsearch.patch  Size: 13kB   By:

Date: Mi 03 Feb 2016 12:48:01 GMT  Name: myproblem.m  Size: 415B   By:



Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]