Question

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?

Was it helpful?

Solution

Then just use

lb = [0,0,0];
ub = [0,8,8];
IntCon = [0 2 3];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top