## 5 Reputation

5 years, 204 days

## Error, (in Optimization:-NLPSolve) could...

Maple

guys, need your help. i've been trying to find 9 pamater which are psi1,psi2,psi3,m1,m2,m3,sigma1,sigma2,sigma3. I need to minimize one function. i have datas and several contraints. i will share this with you guys. Really need your help and i'll appreciate any suggestion. Thanks

data:

a(x):=qtopi[x];

this is my objective function:

fungsikerugian := sum((1-(1-(psi1*exp(-((x+1)/m1)^(m1/sigma1))+psi2*(1-exp(-((x+1)/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x+1-m3)/sigma3)))/(psi1*exp(-(x/m1)^(m1/sigma1))+psi2*(1-exp(-(x/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x-m3)/sigma3))))/a(x))^2, x = 0 .. 111);

these are my contraints

a := psi1+psi2+psi3 = 1;

b := 0 <= exp(-((x+1)/m1)^(m1/sigma1));

c := 1 >= exp(-((x+1)/m1)^(m1/sigma1));

d := 0 <= 1-exp(-((x+1)/m2)^(-m2/sigma2));

e := 1 >= 1-exp(-((x+1)/m2)^(-m2/sigma2));

f := 0 <= exp(exp(-m3/sigma3)-exp((x+1-m3)/sigma3));

g := 1 >= exp(exp(-m3/sigma3)-exp((x+1-m3)/sigma3));

h := 0 <= exp(-(x/m1)^(m1/sigma1));

i := 1 >= exp(-(x/m1)^(m1/sigma1));

j := 0 <= 1-exp(-(x/m2)^(-m2/sigma2));

k := 1 >= 1-exp(-(x/m2)^(-m2/sigma2));

l := 0 <= exp(exp(-m3/sigma3)-exp((x-m3)/sigma3));

m := 1 >= exp(exp(-m3/sigma3)-exp((x-m3)/sigma3));

n := 0 <= 1-(psi1*exp(-((x+1)/m1)^(m1/sigma1))+psi2*(1-exp(-((x+1)/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x+1-m3)/sigma3)))/(psi1*exp(-(x/m1)^(m1/sigma1))+psi2*(1-exp(-(x/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x-m3)/sigma3)));

o := 1 >= 1-(psi1*exp(-((x+1)/m1)^(m1/sigma1))+psi2*(1-exp(-((x+1)/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x+1-m3)/sigma3)))/(psi1*exp(-(x/m1)^(m1/sigma1))+psi2*(1-exp(-(x/m2)^(-m2/sigma2)))+psi3*exp(exp(-m3/sigma3)-exp((x-m3)/sigma3)));

i use this to solve that but seems to not going anywhere
NLPSolve(fungsikerugian, {a, b, c, d, e, f, g, h, i, j, k, l, m, n, o}, assume = nonnegative);

Thanks
 Page 1 of 1
﻿