I need to do an optimization problem using ga algorithm. The number of decision variable is 3. i.e 3 x 1 matrix. but first element is always 0. keeping this as reference I want to optmize other two variables. How can I do this task?
Asked
Active
Viewed 105 times
1 Answers
0
Then just use
lb = [0,0,0];
ub = [0,8,8];
IntCon = [0 2 3];

Rody Oldenhuis
- 37,726
- 7
- 50
- 96
-
@ Rody It works fine.. IntCon=[1 2 3]; – Janu Sep 04 '13 at 06:24