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/2008-03/msg00065.html but has not been resolved yet. If your application is a console application you should receive an error text in the console. Best regards Xypron Stephen Hill-6 wrote: > > 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 requested > the > Runtime to terminate it in an unusual way. #8221; I have checked that I > have > reproduced the file (t1.cs) correctly. > > > > I was wondering if you had come across this problem before > and if you know a solution. Many thanks in advance. > > > > Steve > > > > > > > > > > > > > > > > > > > > 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 “application has requested > the > Runtime to terminate it in an unusual way.” I have checked that I > have > reproduced the file (t1.cs) correctly. > > > > I was wondering if you had come across this problem before > and if you know a solution. Many thanks in advance. > > > > Steve > > > > > > > > _______________________________________________ > Help-glpk mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-glpk > > -- View this message in context: http://www.nabble.com/GLPK-with-C--tp25978078p25979959.html Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
