MathGroup Archive 2003

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

Search the Archive

Re: Bug in NMaximize?

  • To: mathgroup at
  • Subject: [mg43512] Re: Bug in NMaximize?
  • From: Bill Rowe <listuser at>
  • Date: Thu, 18 Sep 2003 05:40:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 9/17/03 at 8:00 AM, guillerm at (Guillermo Sanchez) wrote:

> Using: 

> NMaximize[{x^2 + y^2, x^2/9 + y^2/4 <= 1}, {x, y}]

> Mathematica 5 gives as solution: 

> {9., {x -> -3., y -> 3.242576952529308*^-19}}.

> Becouse it is a simetric problem (x^2 and y^2 >= 0) the true solution
> should be: x -> -3 and x -> +3.

> What is wrong?

Nothing. Have you read the documentation for NMaximize and NMinimize? Using the defaults as you've done will only cause NMaximize to return only one point at which the function is at a local maximum. To get multiple points look at the example shown in the documentation for NMinimize in the help browser.

  • Prev by Date: Re: problems with Export
  • Next by Date: Re: 14MB image very quickly exhausts 512MB RAM.
  • Previous by thread: Re: Bug in NMaximize?
  • Next by thread: Re: Bug in NMaximize?