Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

NMinimize constraint bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52835] NMinimize constraint bug
  • From: "Joshua A. Solomon" <J.A.Solomon at city.ac.uk>
  • Date: Tue, 14 Dec 2004 05:59:35 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In[1]:={$Version, $ReleaseNumber}
Out[1]={5.0 for Mac OS X (June 10, 2003), 0}

In[2]:= NMinimize[{-Log[ 1-p1]-Log[1-p2],LessEqual[.5,p1,p2,.9]},{p1,p2}]

NMinimize::nrnum: The function value -0.57913-3.14159\\[ImaginaryI] is not a
\
real number at {p1,p2} = {2.46921,-0.214585}.

NMinimize::nrnum: The function value -0.57913-3.14159\\[ImaginaryI] is not a
\
real number at {p1,p2} = {2.46921,-0.214585}.

NMinimize::nrnum: The function value -0.57913-3.14159\\[ImaginaryI] is not a
\
real number at {p1,p2} = {2.46921,-0.214585}.

etc.

Comments?

js
-- 
Joshua A. Solomon
http://www.staff.city.ac.uk/~solomon


  • Prev by Date: Re: Remove the higher order terms in series expansion
  • Next by Date: Re: Remove the higher order terms in series expansion
  • Previous by thread: Re: Minors
  • Next by thread: Re: NMinimize constraint bug