-
how to solve this allocation problem
suppose i have a table with three columns
first one denotes the sequence of items to pick each person allowed to pick (here only two and same seq, the front ones will have higher dollar reward) whenever available, rewards is the dollar amount corresponding the sequence of items to pick and column three is whether they allow to pick
since person 1 can pick item 0 which has 300 as he is allowed to pick. then second person cannot pick item 0 as each item for the amount of reward is unique. so he has to skip 1 and second element is 1 which he is allowed to pick then he picks item 1.
The question is if i have a table and row 1 correspond to first person and so on, how can i output the item number each person pick?
pickSeq: (0;1;2);(0;1;2)
rewards:(300;200;100);(300;200;100)
allowToPick:(true;true;true);(true;true;true)
Log in to reply.