The commander of the royal military college has ordered an investigation into the allegations.