code: def insert_optimization_option_group(parser):
      
      optimization_group = parser.add_argument_group("Options for selecting "
                                     "optimization-specific settings")
  
      optimization_group.add_argument("--cpu-affinity", help="""
                      A set of CPUs on which to run, specified in a format suitable
                      to pass to taskset.""")
      optimization_group.add_argument("--cpu-affinity-from-env", help="""
                      The name of an enivornment variable containing a set
                      of CPUs on which to run,  specified in a format suitable
                      to pass to taskset.""")
docs: Adds the options used to specify optimization-specific options.
  
      Parameters
      ----------
      parser : object
          OptionParser instance