Well, since you don't really get a say in whether or not men and women would have to live together if gays and straights do, then it doesn't really matter. It has already been pointed out to you, and you even agreed, that the military will not make men and women live together. They already have gays and straights living together though. So your little attempt at a compromise doesn't work very well. You can't bargain with something that isn't going to happen.
And you still didn't answer my question NP, what should the military do if someone accuses a fellow service member of being gay, but they haven't admitted to it? Also, how exactly could they determine the number of barracks/racks needed for the gay men/women? If the homosexual personnel are not all divulging they are gay, then how will you know the exact number of beds needed for each unit/boat to allow for gay personnel? Not to mention, how many heads/showers should be reserved? There is no way that the military could actually require anyone to tell everyone their sexuality. Being gay is nothing like being a different gender. Gender is set as is, there is really no way that someone could be confused about their actual gender. Servicemembers could, however, be confused about what their actual sexuality is. Some service members may still be in denial to themselves that they are homosexual. And where do you put bisexual personnel?