Clear Filters
Clear Filters

What is the difference between "no feasible solution found" and "the problem is infeasible" messages in LSQLIN?

25 views (last 30 days)
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

Sign in to comment.

Accepted Answer

Torsten
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
Bruno Luong
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!