maximization of a function with constraint​s--optimiz​ation problem

2 Ansichten (letzte 30 Tage)
hari B
hari B am 23 Nov. 2011
hello, i heard that MATLAB is very good for all students \
and researchers ....but i am new to this.now i have started to \
learn.i dont know how to solve problems on constrained optimization \
problems in this.i have tried to solve this by using "fmincon" but i \
am not able to solve.the problem which i am struggling to solving is \
described below.i want to maximize the function with four \
constraints.1) the function to be maximized is :
f = -(summation1 (p (i)*ln (p (i))));
where summation1 is from i = 1 to n
2) the constraints are as follows :
i) (SUM1SUM2 (p (i) (j))) - 1 == 0;
where here SUM1 is summation1 as mentioned above which is \
i = 1 t0 n
and SUM2 is j = 1 to n;
ii) (SUM1SUM2 ((p (i) (j))*D (i)^3)) - 1 == 0;
where as mentioned above SUM1 is i =
1 to n and SUM2 is j =
1 to n.iii) (SUM1SUM2 ((p (i) (j))*D (i)^3*V (j))) - (1 -
a) = 0
where "a" is a constant value
iv) (SUM1SUM2 ((p (i) (j))*D (i)^3*V (j)^2)) - K = 0
where "K" is a constant value
Here D and V are the input values and can give from 0 to 5 and 0 to 2 \
with equal intervals.So could any one please suggest me how to solve \
this problem.if possible code ..
thanks
hari.B

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by