Effacer les filtres
Effacer les filtres

How to optimize exponential objective function with two variable in convex problem?

1 vue (au cours des 30 derniers jours)
NEELU GUPTA
NEELU GUPTA le 16 Nov 2018
Commenté : NEELU GUPTA le 17 Nov 2018
I am trying to optimize Pi* and Pj* by using convex optimization but due to exponential objective function and mu_n as non-negative constraint, i am getting errors. This algorithm is based on successive convex approximation. Iterative step size is 0.1, Please tell me where is my mistake?
  4 commentaires
Jan
Jan le 16 Nov 2018
Screenshots are less useful than posting text as text. By the way, your Windows license is not activated.
I guess, that this is not the right way to call the tool. Remember that in
minimize(-(Mn-mu_n*(1+exp(-an*(gnx*(Pi+Pj)-bn)))))
the contents inside the parentheses is a number, isn't it? I guess you have to provide a function handle, but I'm not familiar with the CVX tool. The error message means, that "cvx_problem" is called as a function, but it is a script instead - this means without input arguments.
NEELU GUPTA
NEELU GUPTA le 17 Nov 2018
Thank you,
I'll take care of your advice for further, I think you are right and i am working on my mistaken.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Linear Programming and Mixed-Integer Linear Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by