[Help-glpk] GLPK with C#

2009-10-20 Thread Stephen Hill
Dear Sir/Madam,   I am trying to implement a solution using GLPK with C#. I have used Nilgel Galloways example as a starting point, however the program always returns an error when it tries to use the glp_load_matrix function. There is no error code, but it says the #8220;application has request

Re: [Help-glpk] GLPK with C#

2009-10-20 Thread xypron
Hello Steve, looking at file src/glpapi.c of the GLPK source code you will find that glp_load_matrix() will call xerror() in an error condition. This will lead the calling application to be aborted! This design problem has already been addressed in http://lists.gnu.org/archive/html/help-glpk/200

Re: [Help-glpk] GLPK with C#

2009-10-20 Thread xypron
Hello Steve, please, find at the following link a complete C# project created with Visual Studio C# 2008 Express Edition based on Nigels example: http://www.nabble.com/file/p25983015/glpk_t1.zip glpk_t1.zip Please add the GLPK dll available at http://winglpk.sourceforge.net GLPK for Windows .

Re: [Help-glpk] GLPK with C#

2009-10-22 Thread Nigel Galloway
Message - From: "Stephen Hill" To: help-glpk@gnu.org Subject: [Help-glpk] GLPK with C# Date: Tue, 20 Oct 2009 20:10:35 +0400 Dear Sir/Madam,   I am trying to implement a solution using GLPK with C#. I have used Nilgel Galloways example as a starting point, however the