Question
Bob has to plan his working life for the next T years. There are m jobs that Bob can do, and every year Bob must
Bob has to plan his working life for the next T years. There are m jobs that Bob can do, and every year Bob must do exactly one job. Each job pays different amounts depending on the year. (For example, being a mail carrier will pay less and less with time, while being a computer scientist will pay more and more with time.) Specifically, during a year t a job j pays W(j,t). Bob is currently doing job 1 and can switch job at most S times.
Give an algorithm to compute the maximum possible earning of Bob for the next T years.
The running time of the algorithms should be polynomial in T, m, and S.
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