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
Sean de Wolski 2012년 4월 24일

1 개 추천

This can be done with ga() in the Global Optimization Toolbox:

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

질문:

2012년 4월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by