Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I couldnt find a way to fix this error. Its my homeworkand its due soon. I ' m trying to optimize a personnel scheduling problem
I couldnt find a way to fix this error. Its my homeworkand its due soon. Im trying to optimize a personnel scheduling problem with lingo
sets:
EMPLOYEES;
SHIFTS;
DAYS;
GRUPEMPLOYEESSHIFTS,DAYS:X;
ENDSETS
@ginEMPLOYEESi;
MIN @SUMEMPLOYEESi: @SUMDAYSJ: @SUMSHIFTSK: XiJK;
@forDAYSJ: @FORSHIFTSK: @SUMEMPLOYEESi:XiJK;
@forEMPLOYEESi: @FORDAYSJ: @FORSHIFTSK:XiJK;
@sumEMPLOYEESi: @SUMDAYSJ: @SUMSHIFTSK:XiJK;
Im trying to make a personnel schedule problem with lingo. I quess something is wrong with my sets. For the employee set program uses the decimals I dont know why and how to fix this.t also gives me the error code 'index variables may not share names with other variables'
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started