How to dfine many simlar constraint?

26 views
Skip to first unread message

guoxi zhao

unread,
Apr 6, 2015, 5:15:29 AM4/6/15
to yal...@googlegroups.com
Hi Johan:
     I face a  Lp problem with so many constraints, specifically many are simlar as follows:
I think defining each of them is diffiult, but I don't know how to write them accurately. I also worry if  the yalmip can endur  so many  conditions.

where all parameters such as  \alppha, \beta, \lambda and \mu_k are known, K=4; 1<=N<=50;  except that \phi_{1,j,K} is decision variables. Can you help me ?

Johan Löfberg

unread,
Apr 6, 2015, 5:18:32 AM4/6/15
to yal...@googlegroups.com
Doesn't sound like a YALMIP issue, but more an indication of a lack of MATLAB skills. Looks absolutely straightforward to implement with a for-loop or by vectorization

guoxi zhao

unread,
Apr 6, 2015, 5:22:14 AM4/6/15
to yal...@googlegroups.com
N=50.

Johan Löfberg

unread,
Apr 6, 2015, 5:59:03 AM4/6/15
to yal...@googlegroups.com
so a very small model then
Reply all
Reply to author
Forward
0 new messages