help-glpk
[Top][All Lists]
Advanced

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

Re: Re: [Help-glpk] Need help on interval planning constraint - Basic Ba


From: jeff . kantor
Subject: Re: Re: [Help-glpk] Need help on interval planning constraint - Basic Bar and Line Graphs (GNU Plot)
Date: Tue, 22 Dec 2009 00:01:50 +0300

Have considered integrating pymathprog as part of the Sage environment?  Seems 
to me that would a very interesting way to build, document, and deploy models, 
especially for educational uses.

On Dec 21, 2009 1:43am, Yingjie Lan <address@hidden> wrote:
> 
> 
> > > I think it would be better to
> 
> > implement basic bar and line graphs
> 
> > > similar to GNU Plot syntax or better in
> 
> > GLPK/MathProg.
> 
> >
> 
> > In mathprog models one can redirect printf output to a file
> 
> > (i.e.
> 
> > printf "foo" >> filename, where filename is a
> 
> > symbolic expression).
> 
> > This allows writing GNU plot data to files and then drawing
> 
> > graphs.
> 
> 
> 
> You can do similar things in PyMathProg too.
> 
> There is a csv module you can use to write as a csv file,
> 
> or you can write to a database if you like.
> 
> Obviously, you could plot the data without saving it first by any plotting 
> module to your like.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> Help-glpk mailing list
> 
> address@hidden
> 
> http://lists.gnu.org/mailman/listinfo/help-glpk
> 
Have considered integrating pymathprog as part of the Sage environment? Seems to me that would a very interesting way to build, document, and deploy models, especially for educational uses.

On Dec 21, 2009 1:43am, Yingjie Lan <address@hidden> wrote:
>
>
> > > I think it would be better to
>
> > implement basic bar and line graphs
>
> > > similar to GNU Plot syntax or better in
>
> > GLPK/MathProg.
>
> >
>
> > In mathprog models one can redirect printf output to a file
>
> > (i.e.
>
> > printf "foo" >> filename, where filename is a
>
> > symbolic _expression_).
>
> > This allows writing GNU plot data to files and then drawing
>
> > graphs.
>
>
>
> You can do similar things in PyMathProg too.
>
> There is a csv module you can use to write as a csv file,
>
> or you can write to a database if you like.
>
> Obviously, you could plot the data without saving it first by any plotting module to your like.
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Help-glpk mailing list
>
> address@hidden
>
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
reply via email to

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