Locally optimal solution of robust ex-core detector response using constrained simulated annealing