Non-linear Optimization problem to maximize the sum-rate using fmincon
6 views (last 30 days)
Show older comments
Maheen Fazal on 24 May 2019
Hi, kindly review my problem and suggest me a solution for it, i have been trying to solve this problem for 2weeks but am not able to find any solution that how should i solve this problem. In the main function code below all values are constant except phi(x), which i have to optimze.
the main function is given below, with fmincon code plus constraints.
function Rsumm= my_problem(x)
A = ;
b = ;
[x,fval]= fmincon(@(x) my_problem(x),x0,A,b,,,lb,ub,@my_constraint);
in the above attached picture the author maximize the Rsum with two variables but i have to use only the highlighted one phi(x), and in constraints i mentioned the highlighted constraints.
the problem here is that the author used the over all sum of the equation for n number but in maximzation problem only phi (x) is considered. i am confused here and also donnot know how to solve this problem for this type of equation.
should i take x(n) in the function code?? and single x in fmincon code or try something different.
Find more on Nonlinear Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!