How do I use relational operators on vectors?
{1, 2, 3} > {0, 1, 2}
(*outputs {1, 2, 3} > {0, 1, 2}*)
More generally, I want {a,b}>{c,d}
to be equivalent to a>c && b>d
. Or, I would want to say vars>0
where vars
is a vector of my variables and that one constraint forces them all to be strictly positive. How might I achieve that?