fmincon returns a message that no feasible solution found
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Vidip
2024-4-12
编辑:Vidip
2024-4-12
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!