From: Omega Zeng on 6 Jul 2010 22:26 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
|
Pages: 1 Prev: How to I evaluate a symbolic function at specific values? Next: Problem using hmmtrain |