Re: NMinimize constraint bug

• To: mathgroup at smc.vnet.net
• Subject: [mg52855] Re: NMinimize constraint bug
• From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
• Date: Wed, 15 Dec 2004 04:26:14 -0500 (EST)
• Organization: Uni Leipzig
• References: <cpmi0t\$odc\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi,

In[3]:=
{\$Version, \$ReleaseNumber}
Out[3]=
{5.0 for Microsoft Windows (November 18, 2003), 1}
In[1]:=
NMinimize[{-Log[ 1 - p1] - Log[1 - p2], LessEqual[.5, p1, p2, .9]}, {p1,
p2}]
Out[1]=
{1.38629, {p1 -> 0.5, p2 -> 0.5}}

and it seems that you should consider an upgrade.
Regards
Jens

"Joshua A. Solomon" <J.A.Solomon at city.ac.uk> schrieb im Newsbeitrag
news:cpmi0t\$odc\$1 at smc.vnet.net...
> 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.
>
>
> js
> --
> Joshua A. Solomon
> http://www.staff.city.ac.uk/~solomon
>

```

• Prev by Date: Re: NMinimize constraint bug
• Next by Date: Re: Suse 9.2 + mathematica 5.0 problem (SOLVED)
• Previous by thread: Re: NMinimize constraint bug
• Next by thread: Intersection of two surfaces in 3D