Optimization with integers only
显示 更早的评论
Hello,
I'm using Optimization Toolbox on MatLab 7.7.0.
I would like to minimize a function f(X) where X must be only integers. I have try to do that using DiffMinChange = 1 and DiffMaxChange = 1, but it does not work.
How to force MatLab to use only integers as solution?
Thanks for your help.
回答(1 个)
Sean de Wolski
2012-4-24
1 个投票
This can be done with ga() in the Global Optimization Toolbox:
类别
在 帮助中心 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!