bugGNU Octave - Bugs: bug #31731, Test failed for sqp

 
 

bug #31731: Test failed for sqp

Submitted by:  Marco Caliari <caliari>
Submitted on:  Mon 22 Nov 2010 03:49:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.3.53Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 02 Dec 2010 06:34:45 PM UTC, comment #3:

Since you can reach the correct result by adjusting the tolerance, and this seems a satisfactory outcome to you, I'm closing this report.

Rik <rik5>
Project Administrator
Tue 23 Nov 2010 08:31:39 AM UTC, comment #2:

I'm on a linux system, i686.
With the value x_opt found in the test, I see

while with the result x I get (with tol = eps)

(so, both x_opt and x are double precision accurate), but

The result I get is satisfactory for me, but I cannot understand the difference.

Marco

Marco Caliari <caliari>
Project Member
Tue 23 Nov 2010 03:09:19 AM UTC, comment #1:

I can't reproduce this issue. I ran the tests for sqp 500 times and they never failed. This is on a Linux system, Kubuntu 9.04, x86_64.

I did change the documentation to reflect the actual tolerance value. See this changeset: http://hg.savannah.gnu.org/hgweb/octave/rev/646063a22a35

Rik <rik5>
Project Administrator
Mon 22 Nov 2010 03:49:09 PM UTC, original submission:

Dear all,

I noticed that the first test fails (for me) in sqp. I can fix it if I use 7sqrt(eps) instead of 5sqrt(eps) in the assert. It is not dramatic, but I find a little bit strange this difference in the result (around single precision) w.r.t. the author of the test.

Moreover, in the documentation, it is written that tol = eps is used by default (while tol = sqrt (eps) is used).

Marco

Marco Caliari <caliari>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by caliari (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Dec 2010 06:34:45 PM UTCrik5Open/ClosedOpen=>Closed
    Tue 23 Nov 2010 03:09:19 AM UTCrik5StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1