I don't know if this is the right place to report bugs... anyway I'm getting a
Subscript indices must either be real positive integers or logicals error recently... I think it would take a lot of time to strip down my code to something which is reproducible as well as understandable by someone other than me, so I decided to inspect some yalmip code by myself.
I found one line which is very obscure to me, it's line 34 in propagate_bounds_from_equalities.m
The first two elements of col are ones in my case, i.e. col=[1; 1; ....], so the first element of usedVars is 1-1=0. Unfortunately in the next line usedVars is used to index a vector that apparently contains lower bounds. Then i get the aforementioned error, because
p.lb(usedVars) doesn't make sense (at runtime, of course).