Hi Mark,
Sorry for being too vague, I was trying to reduce it into a series of equations to make the linear algebra problem more clear. I'll give an example:
Suppose ## S## is the total budget say $100, ## S## should be split into two sub groups, ## S_a## and ## S_b##. ## S_a## contains sub...
I have a problem at work I'm trying to solve and I can't figure out a good way to do it, hoping someone might be able to help. I have put the relevant info in the below pastebin. Basically I want to distribute some amount of S into two bins, one of which is split into smaller bins, in such a way...