Dear All,
I am trying to optimised a few parameters to achieve minimum fuel consumption. My parameters include gear ratio, throttle, vehicle and driver mass and it must be within a speed limit of 40km/h.
However, when I tried to optimised those parameters, it showed matrix dimensions must agree and failure in initial nonlinear constraint function evaluation. I tried to search online but I cannot figured out what problem is that.
It would be great if someone can tell me what is wrong with my model.
Thank you very much.
Wei Kang Chang
4 Comments
Walter Roberson (view profile)
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/450867-optimization-error-for-car-model#comment_682775
Wei Kang Chang (view profile)
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/450867-optimization-error-for-car-model#comment_682777
Swarooph (view profile)
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/450867-optimization-error-for-car-model#comment_683000
Wei Kang Chang (view profile)
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/450867-optimization-error-for-car-model#comment_683193
Sign in to comment.