help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange behavior with glpk in Octave3.6.4_gcc4.6.2 over Windows when usi


From: Emanuele Viola
Subject: Strange behavior with glpk in Octave3.6.4_gcc4.6.2 over Windows when using the constraint type "D":
Date: Sun, 09 Jun 2013 10:21:39 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15

I am getting some strange behavior with glpk in Octave3.6.4_gcc4.6.2 over Windows when using the constraint type "D":

glpk([1],[1], [1], [0] , [1] , "D", "C", -1)

ans = NA

glpk([1],[1], [-1], [0] , [1] , "D", "C", -1)

ans = NA

glpk([1],[1], [1], [0] , [1] , "S", "C", -1)

ans =  1

It seems to me the first answer should be "1" as well.

Is this a bug or can someone explain what I am missing?

Thanks,
Emanuele


reply via email to

[Prev in Thread] Current Thread [Next in Thread]