[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49632] evalc() not capturing output from glpk
From: |
Ray Zimmerman |
Subject: |
[Octave-bug-tracker] [bug #49632] evalc() not capturing output from glpk() |
Date: |
Thu, 17 Nov 2016 15:26:58 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14 |
URL:
<http://savannah.gnu.org/bugs/?49632>
Summary: evalc() not capturing output from glpk()
Project: GNU Octave
Submitted by: rdzman
Submitted on: Thu 17 Nov 2016 03:26:55 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: rdzman
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0
Operating System: Microsoft Windows
_______________________________________________________
Details:
I use evalc() to attempt to extract the version number of GLPK, using the
following line of code ...
str = evalc('glpk(1, 1, 1, 1, 1, ''U'', ''C'', -1, struct(''msglev'', 3))');
However, it prints the following to the console ...
GLPK Simplex Optimizer, v4.60
1 row, 1 column, 1 non-zero
Preprocessing...
~ 0: obj = 1.000000000e+00 infeas = 0.000e+00
OPTIMAL SOLUTION FOUND BY LP PREPROCESSOR
... while capturing only the following ...
octave:2> str
str = ans = 1
Identical behavior observed on 4.2.0 on Windows 7 in running in a VM and on
4.2.0-rc4 on macOS Sierra 10.12.1 using a MacPorts build of octave-devel
(octave-devel
@4.2.0-rc4_0+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt5+sound).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49632>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49632] evalc() not capturing output from glpk(),
Ray Zimmerman <=