From: Omega Zeng on
Hi,
I read the link for defining integer variable in GA. http://www.mathworks.com/support/solutions/en/data/1-10PDHC/

It works fine and did gave me all variables as integer; But the question now is like:
I am having an input variable LB [1 1 1 1 1 3000 3000 3000 3000 3000] and UB [10 10 10 10 10 9000 9000 9000 9000 9000]; I wann the first five numbers give me integer and the program just worked well. And also, I wann the second five numbers give me integer which can round to the nearest hundreds intead of rounding to integeres. This is the problem that I can not solve.

I appreciate,

Omega Zeng