Informed production optimization in hydrocarbon reservoirs