how to solve convex optimization problem..?
이전 댓글 표시
hey everyone.. i have to minimize the convex optimization problem. the function is as follow.
min sum(Su)
subj to
sum Cl<=CL
sum Pl<=P
PL>=0
CL>=0
here Su is a vector and CL is bandwidth ,PL is transmission power and are some constant values. i don not how to solve this problem..? kindly help me with this.
댓글 수: 1
CLEDAT Emmanuel
2020년 5월 6일
Hello,
If I understood well your problem, you can solve your problem with the function linprog.
You can replace min sum(Su) by f’ * Su where f = ones( length(Su) , 1)
And sum Cl <= CL by A1 * Cl <= b1 where A1 = ones( 1 , length(Cl) ) and b1 = CL
I cannot help you more at this point because you didn’t refer to your variable Su later on in your pseudo-code
답변 (1개)
Alan Weiss
2016년 9월 9일
0 개 추천
I assume that the Su vector is related in some functional way to the variables CI and PI. Are CL and PL also variables, or are they given quantities?
In any case, take a look at Optimization Toolbox documentation, particularly the Getting Started example for nonlinear problems, and the Getting Started example for linear problems.
Alan Weiss
MATLAB mathematical toolbox documentation
카테고리
도움말 센터 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!