Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NMinimize - explanation of warning messages' topicStudent Support Forum > General > "NMinimize - explanation of warning messages"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
jf
07/28/12 2:51pm

The constraints may be overdone or inconsistent.
You can try specifying small starting ranges for the parameters. For example, {p, low, high}.

In[1]:= NMinimize[-x Sin[x] + 3 Cos[x] + x/1000, x]

Out[1]= {-3.91085, {x -> 2.57025}}

In[2]:= NMinimize[-x Sin[x] + 3 Cos[x] + x/1000, {x, -100, 100}]

Out[2]= {-221.74, {x -> -221.5}}




URL: ,

Subject (listing for 'NMinimize - explanation of warning messages')
Author Date Posted
NMinimize - explanation of warning messages Madalina 07/27/12 11:38am
Re: NMinimize - explanation of warning messages jf 07/28/12 2:51pm
Re: Re: NMinimize - explanation of warning mess... Madalina 08/07/12 05:25am
Re: Re: Re: NMinimize - explanation of warning ... Bill Simpson 08/07/12 5:24pm
Re: Re: Re: Re: NMinimize - explanation of warn... Madalina 08/11/12 07:28am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic