bugGNU Octave - Bugs: bug #30460, call to GLPK hangs

 
 

bug #30460: call to GLPK hangs

Submitter:  None
Submitted:  Fri 16 Jul 2010 10:00:11 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Mahesh Sivasambu Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.3
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 16 Aug 2010 04:01:54 AM UTC, comment #3: 

As suggested, I compiled octave 3.2.4 from source with the latest glpk-4.44. A call to GLPK hangs no more.
Thanks!
Mahesh


Anonymous
Mon 16 Aug 2010 01:22:10 AM UTC, comment #2: 

No activity in 1 month.  Closing issue.

Rik <rik5>
Group administrator
Fri 16 Jul 2010 06:59:11 PM UTC, comment #1: 

I am unable to confirm this bug with version 3.2.3, 3.2.4, or the development version 3.3.51.  However, I am running on a GNU/Linux system rather than a Mac.

I suspect the problem is with the pre-compiled version for the Mac.  I guess I would suggest trying to build the 3.2.4 version from source.  I should also say that I am using glpk version 4.38.  If you can upgrade to that version it might help.



Rik <rik5>
Group administrator
Fri 16 Jul 2010 10:00:11 AM UTC, original submission:  

The following sequence of calls to glpk to solve a small (8x48)  linear programming problem hangs:

epun:/tmp> octave
octave-3.2.3:1> global A b c
octave-3.2.3:2> load "Abc.out"; # file Abc.out is attached.
octave-3.2.3:3> [y, fmin, status, extra] = glpk( c, A, b )
(no output)

I am using GNU Octave, version 3.2.3, (binary file downloaded from  octave.sourceforge.net)

The present bug is very sensitive to the matrices A, b and c's values. If I were to store the variables in ascii format (instead of binary) the bug vanishes. I am guessing this is because of truncation.

This may be a GLPK bug and not an octave bug after all. If so, how can I tell?

Many thanks,
Mahesh



Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20991:  Abc.out added by None (4KiB - application/octet-stream)

 

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 None (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 group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-08-16 rik5 Open/ClosedOpen Closed
    2010-07-16 rik5 StatusNone Works For Me
    2010-07-16 None Attached File- Added Abc.out, #20991

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code