[This algorithm is only usable for drafting system and it is not for reward system]
There are two problems in TSB 2014 and has been addressed by GLU in TSB 2015
1. User can draft all the players with the minimum expense and doing this will decrease GLU's profit.
2. After getting all the players, TSB becomes unstable.
The roster management system has been redesigned to fix these two problems.
There are three important features in this system.
1. The roster space size is fixed if draft player is not a 5 star player.
2. The roster space will be dynamically adjusted after drafting a player. There are two conditions which will let the size of the inactive list to be increased. Please see below figure.3. The roster management system will never drop a 5 star player unless you get a prime player from fan reward
I draw a flow graph below to demonstrate how it works.
This new system has one advantage and one disadvantage.Advantage: The system will never drop a 5 star player so if you have a chance to get all of them, your inactive list size will be increased.
Disadvantage: The player below 5 star will be dropped automatically back to the pool once if you draft another player who is also below 5 star. This could let you spend a lot of money to get 5 star player from drafting because you could draft the same player again.
My recommendation is to get 5 star players from event, fan reward because drafting becomes an uncertain thing and probably let you bankrupt.
Thanks for solarmen's correction. If size of the inactive list is OK, the 5 star player will be added.[EDIT]
After I am aware of the prime players, the roster management system algorithm should be adjusted a little.
The prime players should be treated as 6-star player in this game so if you get a prime player, the worst 5 star player will be kicked out from your team. The entire logic is still the same but the criteria to drop player(6/5/4 star) will be changed.