A POLYNOMIAL-TIME OPTIMAL ALGORITHM FOR SATELLITE-SWITCHED TIME-DIVISION MULTIPLE ACCESS SATELLITE-COMMUNICATIONS WITH GENERAL SWITCHING MODES