alternating MIQP in new format