I want to solve the objective function
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Haris
le 2 Oct 2017
Réponse apportée : Alan Weiss
le 2 Oct 2017
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167775/image.jpeg)
How to solve the objective function given in the picture?if i have P_m^j= power of a meter with j subcarrier and gamma_m^j representing the subcarrier allocation if it is assigned or not e.g gamma_m^j=[0,1]...will be 0 if not assigned and vice versa. i am using two subcarriers and two power levels 'p'
0 commentaires
Réponse acceptée
Alan Weiss
le 2 Oct 2017
I cannot tell from your explanation whether your superscript indices mean raise to a power or not. If not, then I believe that you can use the Optimization Toolbox™ intlinprog solver. In any case, you might want to take a look at some of the Mixed-Integer Linear Programming Examples to see whether your problem fits into this framework.
Be aware that there are now two ways of solving mixed-integer linear problems, the new problem-based way, and the older solver-based way. The problem-based approach is new for R2017b.
Alan Weiss
MATLAB mathematical toolbox documentation
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Programming and Mixed-Integer Linear Programming dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!