How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
显示 更早的评论
How can I write objective function with variable plus constant for solving using intlinprog Ex. X1+4
Thank you for your time
采纳的回答
更多回答(1 个)
Aurele Turnes
2017-11-13
编辑:Aurele Turnes
2017-11-13
1 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Programming and Mixed-Integer Linear Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!