How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
Mostrar comentarios más antiguos
How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
Thank you for your time
Respuesta aceptada
Más respuestas (1)
Aurele Turnes
el 13 de Nov. de 2017
Editada: Aurele Turnes
el 13 de Nov. de 2017
1 voto
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 comentario
Nurye Hassen
el 15 de Nov. de 2017
Categorías
Más información sobre Linear Programming and Mixed-Integer Linear Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!