Error with inequality constraints with patternsearch
Ältere Kommentare anzeigen
Hi,
I encountered the following error while using patternsearch in Matlab :???
Error using ==> lcondirections at 39
Constraints are dependent at current iterate
Try increasing OPTIONS.TolBind (<eps).
The default value of TolBind is already large enough and anyway I tried to increase the TolBind value but to no avail. Does anyone here encountered a similar problem or know how to solve it? Thanks.
Akzeptierte Antwort
Weitere Antworten (1)
Xinlei Wang
am 7 Jul. 2017
0 Stimmen
Hi Tan, I happened to encounter this error and, in my problem, solved it. My linear constraints were redundant. I deleted one of the constraints and then the solver works well. I think you could check whether your constraints are too many, if this is also your case.
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!