aaaa
unread,Aug 28, 2011, 3:11:32 AM8/28/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AMPL Modeling Language
Hi everyone,
I need your help re defining binary variables in ampl. I have a mixed
integer programming problem with the objective function in minimizing
the makespan and the constraints include two binary variables as
follows:
Xi,j,q = 1, if the order i is assigned to the qth position
at stage j
0, otherwise
Yj,q,m = 1, if the order in the qth position is assigned to
machine m at stage j
0, otherwise
so, how should i define these in ampl, any idea?
any help regarding this will be appreciated.