MathGroup Archive 2004

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

Search the Archive

Re: NMinimize constraint bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52866] Re: [mg52835] NMinimize constraint bug
  • From: DrBob <drbob at bigfoot.com>
  • Date: Wed, 15 Dec 2004 04:26:32 -0500 (EST)
  • References: <200412141059.FAA24643@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

{$Version,$ReleaseNumber}
NMinimize[{-Log[1-p1]-Log[1-p2],LessEqual[.5,p1,p2,.9]},{p1,p2}]

{5.1 for Microsoft Windows (October 25, 2004),0}

{1.38629,{p1\[Rule]0.5,p2\[Rule]0.5}}

Bobby

On Tue, 14 Dec 2004 05:59:35 -0500 (EST), Joshua A. Solomon <J.A.Solomon at city.ac.uk> wrote:

> 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



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: pdf[d,x] vs. function(x)
  • Next by Date: Re: NMinimize constraint bug
  • Previous by thread: NMinimize constraint bug
  • Next by thread: Re: NMinimize constraint bug