Minimum resource cost