1
$\begingroup$

I want to put in constraints like z.x1 >=1, z.x2 >= 1 where z, x1, x2 are vectors, but I do not want to list them out. Instead, I want to write something like x.z >= 1 where x = {x1, x2,...}. Is there a way to do this?

$\endgroup$
1
$\begingroup$

Resolved: Use Thread[x.z >= 1].

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.