def add_extra_parser_arguments(self, parser): parser.add_argument( '--algorithm', help='Specify the algorithm to use', default=DEFAULT_ALGORITHM, ) parser.add_argument( '--config', help='Specify the configuration file', ) parser.add_argument( '--known-optimal-objective', help='Specify the known optimal objective', type=float, ) add_output_format_parser_arguments(parser)
def add_extra_parser_arguments(self, parser): parser.add_argument( '--solver', help='Specify the solver to use', default=DEFAULT_SOLVER, ) parser.add_argument( '--config', help='Specify the configuration file', ) parser.add_argument( '--known-optimal-objective', help='Specify the known optimal objective', type=float, ) add_output_format_parser_arguments(parser)
def add_extra_parser_arguments(self, parser): add_output_format_parser_arguments(parser)
def add_parser_arguments(self, parser): parser.add_argument('selection', choices=['solvers']) add_output_format_parser_arguments(parser)