help-glpk
[Top][All Lists]
Advanced

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

RE: [Help-glpk] glpk49vb


From: Gottfried Lindner
Subject: RE: [Help-glpk] glpk49vb
Date: Tue, 25 Jul 2006 13:55:21 +0200

Hello Max,

I don't know why the VB version behaves in an other way than glpsol.
The return code from glpk_simplex is ok?

If you look at the c code of
int lpx_integer(LPX *mip)
(glplpx6c.c) you find at the beginning some conditions, where
LPX_E_FAULT = 204 is encountered. Can some condition be valid for your
problem?

Regards
Gottfried Lindner
 
Mail: address@hidden


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
address@hidden
Sent: Dienstag, 25. Juli 2006 03:41
To: address@hidden
Subject: [Help-glpk] glpk49vb

I am have been using the VB implementation of GLPK for quite a while and
I am having  the following problem. I write a problem in cplex format
and load the file as follows.
        ' load the problem from file 
        ' 
        lp = glpk_read_cpxlp(sPath) 
         
        ' Find Simplex solution 
        ' 
        lRet = glpk_simplex(lp) 
        Print "GLPK SIMPLEX: " & lRet 
        ' Find MIP solution 
        '        
        lRet = glpk_integer(lp) 
        Print "GLPK INTEGER: " & lRet 
 
the glpk_integer returns an error of 204 - cannot start search. 
but if I use glpsol.exe to test the formualtion it finds a mip solution
in less than a 
second. So I am confident that the formulation is ok and that a mip
solution exists. 
 
Has anyone got any ideas as to why the VB implemtation is returning an
error when glpsol.exe can find a solution with the same formulation. 
 
 
Regards, 
Max 



_______________________________________________
Help-glpk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-glpk






reply via email to

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