octave-patch-tracker
[Top][All Lists]
Advanced

[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

URL:
  <http://savannah.gnu.org/patch/?8901>

                 Summary: fminsearch support for more options and more output
arguments
                 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

    _______________________________________________________

Details:

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
https://savannah.gnu.org/bugs/?41888#comment7.
Additionally, it implements the other FIXMEs from the list  below the help
text.

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

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:
mmuetzel

<http://savannah.gnu.org/patch/download.php?file_id=36240>
-------------------------------------------------------
Date: Mi 03 Feb 2016 12:48:01 GMT  Name: myproblem.m  Size: 415B   By:
mmuetzel

<http://savannah.gnu.org/patch/download.php?file_id=36241>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8901>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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