The AI minimises the weighted sum. Change the weights and (with learning on) watch it re-optimise the trade-off.