Optimal control problem in fmincon exitflag = 2?
3 次查看(过去 30 天)
显示 更早的评论
Hello, i apologize for disturb you, i have met some problem in `fmincon`.
My OCP has 300 variables. so i set MaxFunEvals = 1e7, and the result exitflag = 2. outputs says:
Local minimum possible. Constraints satisfied.
fmincon stopped because the size of the current step is less than
the value of the step size tolerance and constraints are
satisfied to within the value of the constraint tolerance.
Then i use the result `X` to check @nonlinear_constraint function, i find the ceq and c is not satisfied the TolCon = 1e-6. so the result is bad, how to improve it if i didn't konw the Hessian and grad?
Thank you, any advice i will be very appreciate!
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!