Effacer les filtres
Effacer les filtres

fmincon returns a message that no feasible solution found

1 vue (au cours des 30 derniers jours)
mohamed Faraj
mohamed Faraj le 4 Déc 2019
Modifié(e) : Vidip le 12 Avr 2024
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

Réponses (1)

Vidip
Vidip le 12 Avr 2024
Modifié(e) : Vidip le 12 Avr 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–

Community Treasure Hunt

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

Start Hunting!

Translated by