Does one need to normalize nonlinear inequality constraints in fmincon?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi Everyone
I am using fmincon with the 'sqp' algorithm to solve an optimal trajectory. I initially tried 'interior-point' to no avail. My input profile/trajectory is discretised to 60 points. Thus, I have 60 variables for my optimization to run.
I am struggling to converge to a good solution and often get this message during my GlobalSearch run:
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 3.010150e-19.
> In C:\MATLAB\R2012a Student\toolbox\optim\optim\private\stopTestSQP.p>stopTestSQP at 204
I have normalised and centered by variables but should I be normalising my constraints as well? eg. in my case my angles must be less than 90degree. Should I normalise and make them less than 1?
Or does this error relate to something else?
Thanks in advance, Amir
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!