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 <[email protected]> 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 > > [email protected] > > 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 <[email protected]> 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
>
> [email protected]
>
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
_______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
