Search found 4 matches

by mogue92
3 months ago
Forum: Syntax
Topic: bounds on sum for looping through sets
Replies: 4
Views: 237

Re: bounds on sum for looping through sets

Hi Supra,

Fred solved my/our problem:

viewtopic.php?f=2&t=10791&p=25228#p25228

Moritz
by mogue92
3 months ago
Forum: Syntax
Topic: Summation with variable lower and upper bound
Replies: 4
Views: 282

Re: Summation with variable lower and upper bound

Hi Fred,

it does help indeed. Thank you very much for clearing that up!

Moritz
by mogue92
3 months ago
Forum: Syntax
Topic: Summation with variable lower and upper bound
Replies: 4
Views: 282

Re: Summation with variable lower and upper bound

Hi supra,

I did not find an a satisfying answer yet. I’ll let you know as when I find a solution to our problem.

Best regards
Moritz
by mogue92
3 months ago
Forum: Syntax
Topic: Summation with variable lower and upper bound
Replies: 4
Views: 282

Summation with variable lower and upper bound

Dear all, Im trying to sum over my binary decision variable X(f,g,t) which equals 1 if family f cooks meal g on day t and 0 otherwise. I want at least 10 days between am family cooking twice in a month. For example: f1*f17; g1*g30; t1*t20* Some of the families have to cook twice. To have a break bet...