fmincon's nonlinear equality constraints cannot be met?
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone, I am using fmincon for the optimization of the project.
In the use, three nonlinear equality constraints exist, however, with the optimized results, I checked the nonlinear equalities and find they are not satisfied. It is very strange, because all of the nonlinear inequality constraints are met.
Could you pls give some instructions ??
THX very much!
0 个评论
回答(2 个)
pietro
2014-11-15
Check your contranstrains with an optimization where your objective function is @(x)0 and with your real constraints. The solver should find a feasible solution. If not your constraints are not well written.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!