Optimization of Inventivity