Jeff, I like the graph (2d and 3d) features in enthought, and the traits thing. Hope somebody could help integrate pyglpk into enthought -- this is the magic of open source after all.
Yingjie --- On Sun, 12/20/09, Jeffrey Kantor <[email protected]> wrote: > From: Jeffrey Kantor <[email protected]> > Subject: Re: [Help-glpk] Need help on interval planning constraint > To: "Yingjie Lan" <[email protected]> > Date: Sunday, December 20, 2009, 8:23 PM > Yingjie, > Actually that helped a lot. I have an > installation of the Enthought python distribution. If I > leave that off the path, then it compiles fine. Wish this > would compile under the Enthought distribution which > includes so many other useful tools! > > Jeff > > On Sat, Dec 19, 2009 at 10:35 PM, > Yingjie Lan <[email protected]> > wrote: > > Hi Jeff, > > > > I used the same gcc version as yours, but with python 2.6.1 > on snow leopard, and had auccess. The gcc comes with the > xcode package. I am new to mac, sorry I can't give you > more info than what worked for me. > > > > Regards, > > > > Yingjie > > > > --- On Sat, 12/19/09, Jeffrey Kantor <[email protected]> > wrote: > > > > > From: Jeffrey Kantor <[email protected]> > > > Subject: Re: [Help-glpk] Need help on interval > planning constraint > > > To: "Yingjie Lan" <[email protected]> > > > Date: Saturday, December 19, 2009, 9:43 PM > > > Hi -- > > > I've been trying to install pymathprog on my > > > Mac, but so far without success. When setup.py > install > > > step I got > > > cc1: error: unrecognized command line > > > option "-Wno-long-double" > > > error: command 'gcc' failed with exit status > > > 1 > > > which appears due to use of the deprecated > > > -Wno-long-double flag which has been deleted from > gcc. > > > I'm using Python 2.5.4, > > > and i686-apple-darwin10-gcc-4.2.1 > > > > > > Any advice or fix? > > > Thanks, > > > Jeff > > > On Sat, Dec 19, 2009 at 6:53 AM, > > > Yingjie Lan <[email protected]> > > > wrote: > > > > > > > > > > > > > > > > > > > I have a interval planning problem: > > > > > > > > > > > > > > n intervals, begin and end of each interval needs > to > > > be > > > > > > > determined > > > > > > > duration of interval is given > > > > > > > minimum begin and maximum end of each interval > are > > > given > > > > > > > (bounds) > > > > > > > > > > > > > > > > > > > This sounds like the single machine scheduling > > > problem. > > > > > > See here for a formulation with > > > > > > PyMathProg (http://pymprog.sf.net). > > > > > > > > > > > > http://pymprog.sf.net/advanced.html#machine-scheduling > > > > > > > > > > > > Hope this helps. > > > > > > > > > > > > Yingjie > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > 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
