Re: Index exceeds matrix dimensions

54 views
Skip to first unread message
Message has been deleted

Johan Löfberg

unread,
Oct 15, 2014, 2:19:01 AM10/15/14
to yal...@googlegroups.com
I don't have reasonable data, but the code appears to run correctly (i.e, make a call to mosek) when correctly sized data is sent

MPCController(zeros(1,21),1,ones(1,21),zeros(1,21),1000*ones(1,21),-1000*ones(1,21),1000*ones(1,21),-1000*ones(1,21),rand(2,1),zeros(1,21),zeros(1,21))
Error using MPCController (line 67)
The problem is infeasible

BTW, I hope you understand you are setting up a nasty ill-posed MIQP due to the use of sign(u)

Liting Lu

unread,
Oct 15, 2014, 4:18:30 AM10/15/14
to yal...@googlegroups.com
Thank you very much!
Reply all
Reply to author
Forward
0 new messages