What is the difference between "no feasible solution found" and "the problem is infeasible" messages in LSQLIN?
25 views (last 30 days)
Show older comments
I have an optimization problem solved through lsqlin and in some cases it gives "no feasible solution found" and still gives a solution, and in other cases it shows "the problem is infeasible" and the solution is empty (no solution).
What is the difference between the two messages and why is it still giving a solution with "no feasible solution found" message although it's supposed to be infeasible
5 Comments
Bruno Luong
on 21 Jul 2023
lsqlin with interiopoint algorithm and quadprog call the same engine ipqpdense/ipqpsparse
Accepted Answer
Torsten
on 21 Jul 2023
Edited: Torsten
on 21 Jul 2023
"No feasible solution found" means: there might be a feasible solution for your problem, but I was not able to find it. But I give you the last iterate - it's not feasible, but you can see in which search region I spent some effort.
"The problem is infeasible" means: I could prove internally that no feasible solution exists for your problem and I return an empty structure in the solution field. So most probably, you did something wrong in your problem formulation.
5 Comments
Torsten
on 21 Jul 2023
Maybe you are right, but it's a poor wording then for an unexperienced user of the software (like me).
Bruno Luong
on 21 Jul 2023
Finding the feasible point is quite a complex task by itself if inequality constraints are required
There are a quick check of preprocess of constraints
Solve X = Aeq\beq then verify the inequality constraint
If not solve an auxiliar linear programming problem to find the feasible point
May be different messages depend on which step the infeasability is detected.
More Answers (0)
See Also
Categories
Find more on Linear Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!