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
