*) simulate optimization