Gene pool with sum total limits and reactive sliders?

Maybe you can try a negative weight to combinations whose sum exceeds the maximum.
This example (bottom screenshot of link) is linear. Perhaps you can use exponents.