3) Create a third "virtual" Single room and set the quantity to the maximum number of singles you can theoretically sell, in this case it is the quantity of doubles plus the quantity of singles you have available.
Setup the room dependency settings in SETTINGS->PROPERTIES->ROOMS->SETUP DEPENDENCIES as follows:
4) Set all Dependency Levels to Ignore Sub Dependencies