Preparing for multi-model Zephyrus: splitted the local resource constraint generation into two versions.