> Apologies for bothering everyone with this > issue, but I have the following problem:
> I am trying to read data from a mysql database. Installed glpk-4.23 and > mysqlclient (and mysqlserver) under Ubuntu, created a simple database to test > (called test). I am now trying to run glpk with: glpsol --model mysql.mod and > get the following error: > Syntax error in data section > Context: #8230;et : x ; s.t. constr : x>= > y ; data ; param y := 4 ; dbopen > Model processing error > The db command in mysql.mod: > dbopen( #8216;MySQL #8217;, #8216;localhost #8217;, > #8216;test #8217;, #8216;root #8217;, #8216;roottest #8217;); > dbclose; > Does anyone have any idea of what I am > doing wrong? Glpk does not support the interface to databases. I guess you mean a feature developed by Xypron: http://lists.gnu.org/archive/html/help-glpk/2007-11/msg00001.html If so, please contact him directly. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
