Thanks Andrew,
I was talking mostly about SCILAB... but I think I can do it myself if will
find a time.


-----Original Message-----
From: Andrew Makhorin [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 2:53 AM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [Help-glpk] glpkmex interface for free platform

> First of all, sorry if this email is useless for you.
> I was thinking about a GLPKMEX likely interface for GLPK standalone
> solver, i.e.

. . .

> But for freely distributed MATLAB like platforms SCILAB or OCTAVE.

Please see:
http://www.dii.unisi.it/cohes/tools/mex/downloads/glpkmex/index.html
http://glpkmex.sourceforge.net/

There is also an interface to glpk for the GNU Octave; see:
http://octave.sourceforge.net/doc/optimization.html#Linearprogramming

> For example to create a function (e.g. glpk.sci for SCILAB) which will
> be accepting inputs like above and doing the next things:

> 1.Write input arguments (c, a, b, lb, ub, ctype, vartype, sense,
> param) into some temporary file in applicable for glpsol.exe format.
> 2.Execute glpsol.exe with the just created data-file by using some
> function to work with the shell (like 'unix_g' in SCILAB )
> 3.Read an output of the glpsol.exe and transform it into [xopt, fmin,
> status, extra]. Then delete temporary files and return [xopt, fmin,
> status, extra] to the up.

> I think this way could be more user friendly than using glpsol.exe from
> the command prompt as it.

As you probably know, glpk supports the GNU MathProg modeling language
(a subset of AMPL), which allows the user writing and solving rather
complex models in a convenient way.






_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to