Search found 5 matches

by Emine
8 months ago
Forum: Modeling
Topic: About New Constraint
Replies: 1
Views: 271

About New Constraint

Hello guys, I need your help. My project is on booklet optimization for exams, it is a timetabling problem. Here my sets, variables, equ. and obj. : SETS o sessions /1*4/ k booklets /1*k/ i courses / course1 * coursen/ s students/student1*studentm/; VARIABLES x(i,k) if course i assing to booklet k, ...
by Emine
8 months ago
Forum: Modeling
Topic: Constraint Problem
Replies: 2
Views: 380

Re: Constraint Problem

Thank you very much for the reply Claudio,
Your suggestion worked, i didn't use auxiliary variable like w(i,k,o),
i just changed it like below:

z(i,o)-y(k,o))=l= 1-(x(i,k)) for all i,o,k
z(i,o)-y(k,o)=g= -(1-(x(i,k))) for all i,o,k

Have a nice day,

Emine
by Emine
8 months ago
Forum: Modeling
Topic: Constraint Problem
Replies: 2
Views: 380

Constraint Problem

Hello guys, I need your help. My project is on booklet optimization for exams, it is a timetabling problem. Here my sets, variables, equ. and obj. : SETS o sessions /1*4/ k booklets /1*31/ i courses / course1 * coursen/ s students/student1*studentm/; VARIABLES x(i,k) if course i assing to booklet k ...
by Emine
8 months ago
Forum: Syntax
Topic: About sets
Replies: 2
Views: 501

Re: About sets

Thank you for the reply Renger! it helped.
by Emine
9 months ago
Forum: Syntax
Topic: About sets
Replies: 2
Views: 501

About sets

Hello guys, I have a problem about defining one of the set in my model. Sets in the model: *o sessions /1*4/ *k booklets /1*m/ *i courses /1*87/ *s students /1*30/; At the beginning of the study, number of booklets (k) is unknown and my aim is to minimize the total number of booklets. I define the b...