SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
This tool allows loading XML files from Benchmax into a pandas dataframe, inspecting the results and visualizing them.
This is useful for working with the results in a Jupyter notebook.
Dependencies:
First, install this directory as python library; e.g. on Ubuntu
In your Jupyter notebook:
or, to load multiplle XMLs into one:
This will create a dataframe with columns (solver_name_1, "answer")
, (solver_name_1, "runtime")
, (solver_name_1, "statistics_name_1")
etc (as multi-index).
A virtual best is a solver that behaves optimal on each input w.r.t. a set of solvers. It is computed by selecting for each benchmark instance the solver with shortest running time.
To compute the virtual best solver named VB
w.r.t. solver1
,solver2
and solver3
and considering statistics statistics_name_1
.
We provide the performance_profile
and scatter_plot
functions to easily generate a performance profiles and scatter plots.
There are several methods for quickly inspecting the results of a run provided. For instance, the following script can be used to view a summary of a singel XML file and to show instances with wrong results or segmentation faults:
SMT-RAT provides a small utility script for showing a summary of one or more XML files:
see tikzplotlib