Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with NMinimize...' topicStudent Support Forum > General > "Problem with NMinimize..."

Next Comment >Help | Reply To Topic
Author Comment/Response
Sven
12/18/06 07:03am

Hi,

I would like to know why NMinimize has problems with a simple function like

Abs[-1 + x + 12*y].

NMinimize[Abs[-1 + x + 12*y], {x, y}] yields

{4.884981308350689`*^-15, {x -> -1.108831830176431`),
y -> 0.17573598584803551`}

whereas

Abs[-1 -1.108831830176431` + 12*0.17573598584803551`] = 1.19486.

Obvioulsy, this is not the minimum found by NMinimize.

Thanks in advance,
Sven

URL: ,

Subject (listing for 'Problem with NMinimize...')
Author Date Posted
Problem with NMinimize... Sven 12/18/06 07:03am
Re: Problem with NMinimize... yehuda ben-s... 12/18/06 2:04pm
Re: Problem with NMinimize... Sven 12/19/06 03:51am
Re: Problem with NMinimize... Sven 12/19/06 04:02am
Next Comment >Help | Reply To Topic