Using the optimization toolbox with the GA solver. My variables are such that they cannot be within a certain range [g,f], i.e must be:
y(i)<gORy(i)>f
where f is larger than g. I then put this in the standard LMI form with:
A.y<b
The toolbox returns an in-feasibility error; which is no surprise, as no single point can satisfy both of the above inequalities simultaneously.
Is there an OR or similar function so I can implement the constraints in the toolbox?
Best Answer