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

조회 수: 1 (최근 30일)
hari B
hari B 2011년 11월 23일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by