Why the form of constraint affects the result of NMinimize?
- To: mathgroup at smc.vnet.net
- Subject: [mg127606] Why the form of constraint affects the result of NMinimize?
- From: paperkite rainyday <paperkite at gmail.com>
- Date: Mon, 6 Aug 2012 04:39:09 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Hi, all,
I want to find the global minima of f[x1,x2,x3,x4] subject to constraints,
and I found that the results of
NMinimize[{f[x1,x2,x3,x4],x1>0 && x2>x3>0 && x4>x2^2+x2*x3},{x1,x2,x3,x4}]
and
NMinimize[{f[x1,x2,x3,x4],x1>0 && x2>x3 && x2>0 && x3>0 &&
x4>x2^2+x2*x3},{x1,x2,x3,x4}]
are different in mathematica 8.
Is there any difference between x2>x3>0 and x2>x3 && x2>0 && x3>0?
Why the form of constraint affects the result of NMinimize?
Thanks,
paperkite