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 commentaire

CLEDAT Emmanuel
CLEDAT Emmanuel le 6 Mai 2020
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

Connectez-vous pour commenter.

Réponses (1)

Alan Weiss
Alan Weiss le 9 Sep 2016

0 votes

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

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by