bugGNU Octave - Bugs: bug #54577, [octave forge] (optim) lsqnonlin...


bug #54577: [octave forge] (optim) lsqnonlin error when requestion Jacobian output

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Sun 26 Aug 2018 08:08:54 PM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  Fixed Assigned to:  Olaf Till <i7tiol>
Originator Name:  Open/Closed:  Closed
Release:  4.4.1 Operating System:  GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

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


Mon 04 Mar 2019 10:25:57 AM UTC, comment #5:

Sorry, seemingly I didn't attend to this.

The original bug and the issue with honouring the parameter class mentioned in passing are now fixed in the repository. A new release will follow soon.

Olaf Till <i7tiol>
Project MemberIn charge of this item.
Mon 27 Aug 2018 05:40:21 PM UTC, comment #4:

The function lsqnonlin is in the optim package. Changing the category to Octave Forge Package.

Rik <rik5>
Project Administrator
Sun 26 Aug 2018 08:21:13 PM UTC, comment #3:

lsqnonlin (@(x)sin(x),single([5]),-Inf,Inf);

Ceral Paquet <octavebugs>
Sun 26 Aug 2018 08:20:32 PM UTC, comment #2:

OK the interface here doesn't like my empty square brackets.

Try again with Infs.

Ceral Paquet <octavebugs>
Sun 26 Aug 2018 08:18:27 PM UTC, comment #1:

The error goes away if I specify dummy arguments for UB and LB. i.e. I need to trigger nargs>=4 in order to get the settings variable initialized.

Another issue I noticed is the Jacobian does not respect the precision of my input variable. This is important because the Jacobian is often gigantic and it helps to use single precision. We don't need to care too much about high precision since the Jacobian is based on a local linearization approximation anyway.

Ceral Paquet <octavebugs>
Sun 26 Aug 2018 08:08:54 PM UTC, original submission:
Ceral Paquet <octavebugs>


(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 i7tiol (Posted a comment)
  • -email is unavailable- added by octavebugs (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-04 i7tiol StatusNone => Fixed
        Assigned toNone => i7tiol
        Open/ClosedOpen => Closed
    2018-08-27 mtmiller Carbon-CopyRemoved 80942 => -
    2018-08-27 mtmiller Summaryoptim package: lsqnonlin error when requestion Jacobian output => [octave forge] (optim) lsqnonlin error when requestion Jacobian output
    2018-08-27 rik5 Carbon-CopyRemoved 72865 => -
    2018-08-27 rik5 CategoryNone => Octave Forge Package
        Item GroupNone => Unexpected Error
        Summaryoptim: error when requestion Jacobian output => optim package: lsqnonlin error when requestion Jacobian output

    Back to the top

    Powered by Savane 3.4