[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Need help on interval planning constraint - Basic Bar an
From: |
Yingjie Lan |
Subject: |
Re: [Help-glpk] Need help on interval planning constraint - Basic Bar and Line Graphs (GNU Plot) in GLPK/MathProg |
Date: |
Sun, 20 Dec 2009 22:43:02 -0800 (PST) |
> > 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.