generate a new solution
 if ( dominates )
  discard
 else if ( dominates )
   replace with and add to the archive
 else if ( is dominated by any member of the archive)
   discard
 else if ( dominates any member of the archive)
   replace it with and add to the archive and all other members
   dominated by are discarded
 else
   apply test procedure to , and the archive to determine which
   becomes the new current solution and whether to add to the archive
until a termination criterion has been reached, return to the beginning
Procedure 1: PAES.