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.