Hello Nazmul, Gusek is a text editor, which calls the 32bit glpsol executable.
Glpsol accepts muliple data files which can be passed with the '-d' command line parameter. You could write the Gmpl files in Gusek or any other editor and invoke glpsol from the console (cmd.exe). Alternatives to pass data from Matlab are CSV files or a SQL data base. Both can be accessed via the table statement in glpsol. Cf. http://www.mathworks.de/de/help/database/ug/database.html http://www.mathworks.de/de/help/matlab/ref/csvwrite.html Best regards Heinrich Schuchardt http://www.xypron.de On 27.12.13 at 03:49, Nazmul Islam wrote: > Hello, > > > > I want to write my GLPK code through the Guesk editor and I am very new to > > the GNU Math Programming Language. > > > > I want to import some data from Matlab to my GLPK code. I want to run the > > code with these imported data. The data is currently in some variables of > > Matlab and I can store them in some .mat files. Do I need to save all these > > Matlab variables in a single .dat file (or .txt file?) and then import to > > GNU Math Prog language? > > > > Is there any example that I can follow? > > > > Thanks, > > > > Nazmul > > _______________________________________________ > > Help-glpk mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/help-glpk _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
