Combining global and local optimization techniques for automatic history-matching production and seismic data