bugGNU Octave - Bugs: bug #53483, sqp fails to find the minimum


bug #53483: sqp fails to find the minimum

Submitted by:  None
Submitted on:  Mon 26 Mar 2018 11:04:28 PM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid Assigned to:  None
Originator Name:  Ben Schwab Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.2
Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 27 Mar 2018 06:31:03 PM UTC, comment #3:

It isn't a big deal, do ot worry.
As far as I can tell, your problem would be solvable if you state it in the -log scale.

I recommend you to write to the help mailing list with all the information necessary to reproduce your result. Help GNU Octave <help-octave@gnu.org>

Juan Pablo Carbajal <juanpi>
Project Member
Tue 27 Mar 2018 06:12:58 PM UTC, comment #2:

I must apologize. The instructions for the mailing list were to not to submit bugs to the mailing list. Not sure whether I should submit this as a bug or as a question, I asked on the IRC channel. The advice I got was to post it as a bug. I must not have described my issue correctly.

I didn't mean to disregard procedure and I think you for your patience with me.

Benjamin A Schwab <benschwab>
Mon 26 Mar 2018 11:59:06 PM UTC, comment #1:


Your function is below tolerances. It seems like a likelihood, try to use the -log of that phi for optimization.

For this kind of questions use the mailing list, you will get better answers.

I am closing this bug, because it isn't one.

Juan Pablo Carbajal <juanpi>
Project Member
Mon 26 Mar 2018 11:04:28 PM UTC, original submission:

I am running 64 bit Octave version 4.2.2 for Windows 10 Home Version 1511 OS Build 10586.589

I am attempting to use "sqp" to solve an optimization problem. "sqp" is returning my guess even when there are other inputs of the function with lower outputs. Full code used is bellow. I emphasize that phi([70,40])=-2.9010e-035 but phi([77,47])=-1.1955e-034 which is smaller but sqp returns [70;40] as the minimum when I use that as a guess.



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by benschwab (Posted a comment)
  • -email is unavailable- added by juanpi (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-26 juanpi StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.4