How to check the convexity of the objective function?
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi Everyone, I have the following objective function: Max 1-exp(- SNR_threshold/average SNR) and subject to power constraints,0>p< P_max. How can I check if it convex problem or not?
0 Kommentare
Antworten (1)
Kunal Kandhari
am 21 Mai 2024
Hi Alexa,
Since, If the second derivative of a function is always positive or non-negative over an interval, then the function is convex over that interval so you can use the "diff" function in MATLAB to calculate the derivatives and check if f'' >= 0
You can read about the usage of "diff" function from the following documentation:
7 Kommentare
Torsten
am 21 Mai 2024
I don't understand the variables you try to optimize and I don't understand your constraints.
If you wrote
max(1-exp(-x))
under the constraint
0 <= x <= P_max
I'd immediately say: x = P_max is the solution.
But I can't tell what is hidden behind your problem formulation
Max (1-exp(- SNR_threshold/average SNR))
subject to power constraints,
0>p< P_max
.
Siehe auch
Kategorien
Mehr zu Surrogate Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!