Hi all, I need some help to correctly build two linear constraints to be used in FMINCON (SQP algorithm).
My system has 4 parameters to be estimated: , and . It also have to consider 4 static values:, , and , whose values are in the range and are such that:
The required constraints are defined as follows:
Now, let's suppose for simplicity that:
And that the constraints become:
So far, I tried to write my A and b FMINCON input arguments as follows:
A = [
-0.5 -0.5 0.0 0.0;
0.0 0.0 0.5 0.5;
b = zeros(2,1);
Is that correct? How can I ensure that the inequality constraints do not include 0?