Rearranged the cplex SimModuleCode