patchGNU Octave - Patches: patch #8073, Remove redundant function calls in...

 
 

patch #8073: Remove redundant function calls in sqp

Submitter:  Ken Marek <kmarek>
Submitted:  Thu 13 Jun 2013 05:49:48 PM UTC
   
 
Category:  Core : new function Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Dec 2018 07:13:17 PM UTC, comment #1: 

I checked in the patch under your name here (https://hg.savannah.gnu.org/hgweb/octave/rev/34cc6edf2041).  This will be a part of the Octave 5.0 release in Jan. 2019.

On a small example problem the number of function evaluations was reduced from 129 to 60 or roughly in half which is significant.

Thanks for contributing.

Rik <rik5>
Group administrator
Thu 13 Jun 2013 05:49:48 PM UTC, original submission:  

The sqp optimization function currently makes a lot more objective function calls than it needs to, especially when no separate gradient function is supplied. This is problematic if the objective function is computationally expensive and/or has a lot of input dimensions. The attached diff file removes redundant calls and otherwise leaves functionality exactly the same.

Ken Marek <kmarek>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33452:  sqp_change.diff added by wrigh347 (3KiB - text/x-patch - This just updates the patch to work with the current version of octave)
file #28309:  sqp_change.diff added by kmarek (3KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by wrigh347 (Updated the item)
  • -email is unavailable- added by kmarek (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-12-14 rik5 CategoryNone Core : new function
        StatusNone Done
        Open/ClosedOpen Closed
    2015-03-25 wrigh347 Attached File- Added sqp_change.diff, #33452
    2013-06-13 kmarek Attached File- Added sqp_change.diff, #28309

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code