I have a convex polyhedral cone defined as \{Ax,x\geq 0\}. I want to determine whether a point y lies in this cone. To do so, I solve the following linear programming problem:
The existence of a feasible solution in the linear programming problem is equivalent to y belongs to the convex polyhedral cone \{Ax,x\geq 0\}.
The point y = (-1, -1)^\top is not a point in the convex polyhedral cone when A = I.
Solving the Linear Programming Problem: Let’s solve the following linear programming problem:
Q=zeros(2,2);
p=[1;1];
b=-[1;1];
C=eye(2,2);
ci=[0;0];
cs=[];
me=2;
[x ,lagr ,info] = qld(Q, p, C, b, ci, cs, me )
However, it currently stops with the error message:
qld: The constraints are inconsistent.
Desired Outcome: I expect the solver to return info == 10 and I want to continue the conditional branches based on the value of info.
How can I proceed the code without the error message and stopping the execution?