Optimizing Refresh of a Set of Materialized Views