[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [ANN] Mathprog Web IDE available

From: Jeffrey Kantor
Subject: Re: [Help-glpk] [ANN] Mathprog Web IDE available
Date: Wed, 20 Feb 2013 10:01:32 -0500


These are excellent points (imho, of course) meriting further discussion. 

Taking up the container issue, I agree that it would be very helpful to have a way to encapsulate models into objects that could shared, archived, processed by servers, etc. Given the existence of glpk.js, I'd suggest a JSON based container required fields

-- .mod model file corresponding to .mod [required]
-- problem name [required]

and optional fields

-- description (markdown syntax?)
-- zero or more data files
-- creator
-- license

The data files might also be be JSON objects with two fields

-- type (corresponding to .dat, .csv, or table)
-- content

Certainly this could be extended in important ways, such as solver options, and solution information, but the above fields would provide basic functionality for model specification.

I'd like to see a simple syntax for a run file, but that's a far more ambitious project.


On Mon, Feb 18, 2013 at 9:33 AM, Robbie Morrison <address@hidden> wrote:

Hello all

I briefly raised this idea with Jeff Kantor but
perhaps a wider discussion could be useful.

The idea stems from the Perl plain old
documentation format:

We now have two websites that take MathProg
models.  And both can display additional
information about the current model in HTML.

It might be useful to develop either parsable
information located within the MathProg comments
section.  Or to develop a container protocol
whereby the MathProg and the HTML (and anything
else) are stored in some kind of consistent
way.  That container could be an XML dialect of
varying sophistication.  Or it could be a zip
format with individual files and with consistent
file naming/extensions and other conventions.

I guess the follow up question is do we want to
establish a models repository.  For instance like
the user contributions that Matlab stores, to take
just one example.

Just some thoughts, particularly given that this
is probably an opportune moment to consider such

cheers, Robbie
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred)           : address@hidden
[from Webmail client]

Help-glpk mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]