Timeline for How to professionally write a constraint, where some variables take certain values of index and some variables should not take some values of index
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2021 at 21:53 | history | became hot network question | |||
Oct 24, 2021 at 18:56 | comment | added | A.Omidi | I am not a Pyomo user, but what you are looking for is something like you want to use a specific index, in your case $i$, to represent the outer loop on the two different sets. If so, why not define two different sets/subsets and use two for-loop to do that? | |
Oct 24, 2021 at 18:55 | vote | accept | Sik Sik | ||
Oct 24, 2021 at 18:03 | history | edited | EhsanK♦ | CC BY-SA 4.0 |
added 6 characters in body
|
Oct 24, 2021 at 18:02 | answer | added | EhsanK♦ | timeline score: 3 | |
Oct 24, 2021 at 13:53 | history | asked | Sik Sik | CC BY-SA 4.0 |