MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FindMinimum is not obeying my bounds

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62664] Re: FindMinimum is not obeying my bounds
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 30 Nov 2005 05:40:38 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 11/30/05 at 12:07 AM, chris.chiasson at gmail.com (Chris Chiasson)
wrote:

>FindMinimum is not obeying my bounds:

>In[1]:= FindMinimum[(x-1)^2,{x,-80,-100,-70}] 
>Out[1]={0.,{x\[Rule]1.}}

>Version Number: 5.2.0.0 Platform: Windows

>How does this turn out on your computers?

The same with 5.2 running on MacOS 10.4.3

My first reaction when I saw this was this is what should be expected of FindMinimum. However, on checking the documentation, I see the syntax you used should never go outside the bounds of -100 to -70. But, when I want to ensure these types of bounds are respected, I always use NMinimize, i.e.,

In[2]:=NMinimize[{(x - 1)^2,  -100 <= x <= -70}, x]
Out[2]={5041., {x -> -70.}}
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: MathLink slow
  • Next by Date: Re: FindMinimum is not obeying my bounds
  • Previous by thread: Re: FindMinimum is not obeying my bounds
  • Next by thread: 3-state markov process