Optimisation ``black-box''