You should be ok on either, as long as the open jaw portion is shorter than either of the flown segments.
EX- MKE/SFO/ORD -ok since MKE/ORD is shortest
EX= MKE/SFO; PHX/MKE - ok since SFO/PHX is shortest distance.
Above applies on NWA, but others may have different rules.