Student Support Forum: 'Bcons during Maximization' topicStudent Support Forum > General > "Bcons during Maximization"

 < Previous Comment Help | Reply To Comment | Reply To Topic
 Author Comment/Response Bill Simpson 10/17/12 11:18am In Response To 'Re: Bcons during Maximization'---------In[1]Table[ a=RandomReal[{0,1}]; b=RandomReal[{0,1}]; n=RandomReal[{0,1}]; {a*c1,b*c2}/.Last[NMaximize[{n-(1-n)-q (n a c1^2-(1-n) b c2^2+(n (1-a)-(1-n) (1-b))/2)*(n a c1^2+(1-n)b c2^2+(n (1-a)+(1-n) (1-b))/2),0≤c1 Sqrt[1-c2^2]-c2 Sqrt[1-c1^2]≤1&&0≤c1≤1&&0≤c2≤1&&0≤q≤1},{c1,c2,q}]],{5}] Out[1]= {{0.73059, 0.0611}, {6.8134*^-8, 0.`}, {0.0001, 0.}, {0.0557, 0.02453}, {0.3048, 0.5953}} Note this gives no hint of the sensitivity, or lack, of your variables on the maxima URL: ,

 Subject (listing for 'Bcons during Maximization') Author Date Posted Bcons during Maximization Vadim 10/10/12 3:35pm Re: Bcons during Maximization Bill Simpson 10/11/12 12:26pm Re: Bcons during Maximization Peter Pein 10/11/12 12:46pm Re: Bcons during Maximization Vadim 10/12/12 08:33am Re: Re: Bcons during Maximization Bill Simpson 10/12/12 1:55pm Re: Bcons during Maximization Vadim 10/16/12 4:03pm Re: Re: Bcons during Maximization Bill Simpson 10/17/12 11:18am
 < Previous Comment Help | Reply To Comment | Reply To Topic