Page 1 of 1

for all condition for multidimensional sets

Posted: Thu Aug 04, 2022 1:28 pm
by pseudocleft
Normally we write our constraint as Con (i) to satisfy the for all condition in our constraint and this constraint is applied for each i. But if our for all condition is for two-dimensional sets, how do we write it? Con (A(i,j)).. is this expression true and if this expression is true, it logically chooses i and j as common in constraints each time.

Re: for all condition for multidimensional sets

Posted: Mon Aug 15, 2022 12:32 pm
by Fred
Hi,

The documentation of indexed equations shows examples of equations with more than one dimension.
I hope this helps! If not, please elaborate the question.

Best,
Fred