Even small tables can contain errors. An example data set in a published paper about scheduling maintenance of power generators looks like:
In GAMS I transcribed this as:
table data(i,*) |
Just to be sure I added some checks:
set error(i,t) 'check for mismatch between manpower and outage-weeks'; error(i,t)$(manpower(i,t)=0 and ord(t)<=data(i,'outage-weeks')) = yes; error(i,t)$(manpower(i,t)<>0 and ord(t)>data(i,'outage-weeks')) = yes; abort$card(error) "manpower mismatch",error; |
Low and behold, we see:
---- 93 manpower mismatch ---- 93 SET error check for mismatch between manpower and outage-weeks week4 unit12 YES **** Exec Error at line 93: Execution halted: abort$1 'manpower mismatch' |
Indeed we have for this unit a problem in the manpower allocation.
Can you post a link to the paper? It would be useful, and I don't think it's degrading in any way to the original authors: bugs happen. At least if someone searched for the paper, they would also find this errata.
ReplyDeleteK.P. Dahal, J.R. McDonald and G.M. Burt,
ReplyDeleteModern heuristic techniques for scheduling generator maintenance in power systems,
Transactions of the Institute of Measurement and Control 22,2 (2000) pp. 179–194