Hi All.
I have been asked to develop code that works out all the possible structures a brokerage firm can take to maximise the charges it takes.
If we assume that there are N management levels and under each level there are k types of brokers. For each type of broker the commission charges are different and will depend on the volumes sold. There are no restrictions to number of certain type of agent that the firm direct manager can have.
Given the total volumes for the firm, work out all possible structures that the firm can organise it’s brokers.
To illustrate this.
Lets assume we have a firm with 2 manager levels and 2 agent types on the bought level. i.e. a single manager who can chose to have any number of combinations of the 2 agent types.
If he manages $100mn and lets say the minimum a single agent can manage is $10mn.
He could chose to have any combination as long as it adds up to $100mn. This could be
• 10 agent type 1 agents managing 10 mn each
• 5 agent type1 agents managing 20mn each
• a combination of agent 1 and agent type 2 managing various amounts.
• 10 agent type 2 managing 10m each.
There are a lot of possible combinations and this only gets more complex when you increase the possible number of levels.
Any ideas?
Worth pointing out that this should be done in VBA.
I have been asked to develop code that works out all the possible structures a brokerage firm can take to maximise the charges it takes.
If we assume that there are N management levels and under each level there are k types of brokers. For each type of broker the commission charges are different and will depend on the volumes sold. There are no restrictions to number of certain type of agent that the firm direct manager can have.
Given the total volumes for the firm, work out all possible structures that the firm can organise it’s brokers.
To illustrate this.
Lets assume we have a firm with 2 manager levels and 2 agent types on the bought level. i.e. a single manager who can chose to have any number of combinations of the 2 agent types.
If he manages $100mn and lets say the minimum a single agent can manage is $10mn.
He could chose to have any combination as long as it adds up to $100mn. This could be
• 10 agent type 1 agents managing 10 mn each
• 5 agent type1 agents managing 20mn each
• a combination of agent 1 and agent type 2 managing various amounts.
• 10 agent type 2 managing 10m each.
There are a lot of possible combinations and this only gets more complex when you increase the possible number of levels.
Any ideas?
Worth pointing out that this should be done in VBA.