Re: Minimize goes into infinite loop?
- To: mathgroup at smc.vnet.net
- Subject: [mg98287] Re: Minimize goes into infinite loop?
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Sun, 5 Apr 2009 06:35:38 -0400 (EDT)
- References: <gr4jhu$a7s$1@smc.vnet.net>
How do you know it's infinite? Maybe it's just taking long Cheers -- Sjoerd On Apr 3, 11:06 am, Andrey <andrey.si... at gmail.com> wrote: > Hello group, > > I wonder why the following problem force Mathematica to run into > infinite loop? > > Minimize[ > {m1*w1 + m2*w2 > , w1 > 0 && w2 > 0 && w1 + w2 == 1 > && (p1/(1 - m1) + p2/(1 - m2) - 1 - m) == 0 > && m1 >= 0 && m2 > m1 && 1 > m > 0 > && p1 > 0 && p2 > 0 && p1 + p2 == 1 > }, {m1, m2}, Reals > ] > > Regards, > -Andrey