fmincon returns a message that no feasible solution found
2 views (last 30 days)
Show older comments
I have a convex problem, linear objective, linear and nonlinear constraints. When I run a feasibility probleb (objective function is 0), the solver returns a feasible solution. However, with the same problem setup with a linear objective function, the solver returns a no feasible solution found. Any idea what the problem could be
0 Comments
Answers (1)
Vidip
on 12 Apr 2024
Edited: Vidip
on 12 Apr 2024
When you encounter a discrepancy in the feasibility of solutions between running a problem as a pure feasibility problem (objective function = 0) and introducing a linear objective function, several factors could be at play like different solvers may handle the balance between objective optimization and constraint satisfaction differently, also tolerances for feasibility and optimality of optimization solvers. When you introduce an objective function, the solver's behaviour regarding these tolerances might change, affecting the feasibility check. You can refer to the below documentation links to know about how to set solver tolerance and obtaining solution using feasibility mode–
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!