MATLAB: Anyone knows whether is possible to perfome an optimization with Global Search using only integer inputs

genetic algorithmMATLABoptimization

I'd like to perform an optimization using Global Search in Matlab but I dont know how to restrict inputs as integer like Intcon in Genetic Algorithm.
[x,fval,exitflag] = ga(fitnessfcn,nvars,A,b,[],[],… lb,ub,nonlcon, IntCon,options)
The idea is to execute another optimization technique with Global Search but limiting inputs only to integer.
Thanks in advance

Best Answer

The answer is no. GlobalSearch uses fmincon as its local optimizer, and there is no way to restrict fmincon to integer values. Sorry.
Alan Weiss
MATLAB mathematical toolbox documentation
Related Question