bugGNU Octave - Bugs: bug #40536, qp failure

 
 

bug #40536: qp failure

Submitted by:  Julien Bect <jbect>
Submitted on:  Sun 10 Nov 2013 12:40:28 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 15 Nov 2013 03:24:55 AM UTC, comment #5:

I pushed a followup change to make sure the new test is skipped if Octave is built without GLPK:

http://hg.savannah.gnu.org/hgweb/octave/rev/a404853d2073

Mike Miller <mtmiller>
Project Member
Sun 10 Nov 2013 11:38:36 PM UTC, comment #4:

I made two small changes to your patch:

1) We like to start the line with any conjuction operator like "&&" or "||".

2) We prefer double quotes to single quotes unless there is a specific reason to require the single quote behavior.

I applied it here (http://hg.savannah.gnu.org/hgweb/octave/rev/185038fe7a16). Thanks, and I'm going to close the report.

Rik <rik5>
Project Administrator
Sun 10 Nov 2013 09:37:13 PM UTC, comment #3:

Here is a patch.

(file #29589)

Julien Bect <jbect>
Sun 10 Nov 2013 07:50:46 PM UTC, comment #2:

Found it. The problem is in the 'status' output of glpk, the meaning of which has changed since changeset 54e251e699bb. I am preparing a patch.

Julien Bect <jbect>
Sun 10 Nov 2013 04:15:30 PM UTC, comment #1:

Confirmed that the attached example works in 3.6.4 and generates an error in the development version.

Mike Miller <mtmiller>
Project Member
Sun 10 Nov 2013 12:40:28 PM UTC, original submission:

qp fails with INFO=6 on the attached problem since changeset 54e251e699bb ("Use the new GLPK API (bug #39038)").

Julien Bect <jbect>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #29589:  jbPatchQP1.patch added by jbect (2kB - text/x-patch)
file #29583:  test_qp_direct.m added by jbect (1kB - text/x-objcsrc)

 

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 mtmiller (Posted a comment)
  • -unavailable- added by jbect (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Nov 2013 11:38:36 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sun 10 Nov 2013 09:37:13 PM UTCjbectAttached File-=>Added jbPatchQP1.patch, #29589
    Sun 10 Nov 2013 04:15:30 PM UTCmtmillerStatusNone=>Confirmed
    Sun 10 Nov 2013 12:40:28 PM UTCjbectAttached File-=>Added test_qp_direct.m, #29583

    Back to the top


    Powered by Savane 3.1-cleanup