SolverStats-class function

The SolverStats class.

The SolverStats class.

This class contains the miscellaneous information that is returned by a solver after solving, but that is not captured directly by the Problem object. class

SolverStats(results_dict = list(), solver_name = NA_character_)

Arguments

  • results_dict: A list containing the results returned by the solver.
  • solver_name: The name of the solver.

Returns

A list containing

  • solver_name: The name of the solver.
  • solve_time: The time (in seconds) it took for the solver to solve the problem.
  • setup_time: The time (in seconds) it took for the solver to set up the problem.
  • num_iters: The number of iterations the solver had to go through to find a solution.

Slots

  • solver_name: The name of the solver.
  • solve_time: The time (in seconds) it took for the solver to solve the problem.
  • setup_time: The time (in seconds) it took for the solver to set up the problem.
  • num_iters: The number of iterations the solver had to go through to find a solution.
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07