Error with inequality constraints with patternsearch
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Xinlei Wang
il 7 Lug 2017
0 voti
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.
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!