## 10 Reputation

13 years, 83 days

## Optimization Assistant Fail...

Maple 11

Hi

I want to find the optimum of

G*(.7500000000*B*sqrt((1.-2.*a+a^2)*B^2/(a^2+B^2-2.*B^2*a+B^2*a^2))-.7500000000*B*sqrt((1.-2.*a+a^2)*B^2/(a^2+B^2-2.*B^2*a+B^2*a^2))*a+.7500000000*a*sqrt(a^2/(a^2+B^2-2.*B^2*a+B^2*a^2)))

+

(1-G)*(-6.250000000*10^(-12)*sqrt(a^2/(a^2+B^2-2.*B^2*a+B^2*a^2))*(5.833333333*10^9*B*sqrt((1.-2.*a+a^2)*B^2/(a^2+B^2-2.*B^2*a+B^2*a^2))-7.500000000*10^9)*(4.*a-3.*B*sqrt((1.-2.*a+a^2)*B^2/(a^2+B^2-2.*B^2*a+B^2*a^2))+3.*B*sqrt((1.-2.*a+a^2...

## Things getting too complicated...

Hi

I have this

diff(q^2*l(a, q)^(1/2)*((1-l(a, q))/(1.1))^(1/2)+(1-a)*(1-q*l(a, q)^(1/2))*q*((1-l(a, q))/(1.1))^(1/2)+a*(1-q*((1-l(a, q))/(1.1))^(1/2))*q*l(a, q)^(1/2), a)

where l(a,q) signifies that l is function of a and q, specifically

RootOf((330578512439669421489*sqrt(1-a)*q^2*sqrt(a)-330578512439669421489*sqrt(1-a)*q^2-330578512439669421489*sqrt(a)*q^2+330578512439669421489*q^2)*_Z^4+(-165289256228925619836*q-165289256228925619836*sqrt(1-a...

## Maple ignores one of the variables in so...

Maple

Hi,

i want a first order condition as which expresses the optimal l as a function of q and a

I did this

diff((q*l^(1/3)*q)*(1-l)^(1/2)+(1-a)*(1-q*l^(1/3))*q*(1-l)^(1/2)+a*(1-q*(1-l)^(1/2))*q*l^(1/3), l)

and got

(1/3)*q^2*sqrt(1-l)/l^(2/3)-(1/2)*q^2*l^(1/3)/sqrt(1-l)-(1/3)*(1-a)*q^2*sqrt(1-l)/l^(2/3)-(1/2)*(1-a)*(1-q*l^(1/3))*q/sqrt(1-l)+(1/2)*a*q^2*l^(1/3)/sqrt(1-l)+(1/3)*a*(1-q*sqrt(1-l))*q/l^(2/3)

which i think is right

 Page 1 of 1
﻿