How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
Afficher commentaires plus anciens
How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
Thank you for your time
Réponse acceptée
Plus de réponses (1)
Aurele Turnes
le 13 Nov 2017
Modifié(e) : Aurele Turnes
le 13 Nov 2017
1 vote
If you have R2017b, the new Problem-based approach lets you specify constant terms in the objective of linear and mixed-integer linear problems. Although Matt is correct that the constant term will not change the final solution value, just the objective value.
1 commentaire
Nurye Hassen
le 15 Nov 2017
Catégories
En savoir plus sur Linear Programming and Mixed-Integer Linear Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!