How can I write the objective function of the following linear optimization problem?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have to solve an optimization problem using linear programmimg. My objective function is like : minimization(summation(A*B+ summation(C*D))). How can I create the code in matlab? Here B and D are variables where both are integer values and D can only binary numbers (0 or 1). I need a code when A and C can either be variables and co-efficients?
0 Commenti
Risposte (1)
Alan Weiss
il 8 Giu 2015
If you have Optimization Toolbox, you can use the linprog function to solve linear programming problems, and the intlinprog function to solve mixed-integer linear programming problems.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Commenti
Vedere anche
Categorie
Scopri di più su Nonlinear Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!