MATLAB Answers

0

Problem with the optimization of the Economic MPC

Ilyas KH 님이 질문을 제출함. 24 Sep 2019
최근 활동 John D'Errico 님이 답변함. 14 Oct 2019
Hey everyone,
I try to use the economic MPC with an urban traffic (state space system), to control the intersection's light. When I simulate it, the control value stays the same, and Matlab shows me this message:
"Optimization completed because at the initial point, the objective function is non-decreasing in feasible directions to within the default value of the optimality tolerance, and constraints are satisfied to within the default value of the constraint tolerance."
And this:
"Warning: Length of upper bounds is < length(x); filling in missing upper bounds with +Inf."
"Warning: Length of lower bounds is < length(x); filling in missing lower bounds with -Inf."
Can you help me please?
All the best,

  댓글 수: 0

로그인 to comment.

답변 수: 2

zhihua deng 님의 답변 14 Oct 2019

I'glad to answer your quesition.The problem you described is not specific enough. you'd better send the progrem to my eamil:dzh20100154@163.com.In addition, the warning shows that there is a promblem with your constraint equation.

  댓글 수: 0

로그인 to comment.


John D'Errico 님의 답변 14 Oct 2019

Simple.
Your objective function is essenitally constant around the start point, or you provided a start point that actually happens to be the actual solution to your problem. (An unlikely event.) (Read the termination message.)
As far as the warning goes, suppose you have two parameters, but you provided only ONE bound in the vector of bounds. MATLAB then realizes the other parameter has no bound on it. So it assigns an upper bound of inf, and a lower bound of -inf. If you wanted both parameters to have bounds, then you needed to provide an actual VECTOR of bounds, of the same length as the number of parameters in your problem.

  댓글 수: 0

로그인 to comment.



Translated by