Input File Format¶
The current format start with a optional YAML header for metadata follow by the data as show in the template below:
---
<Metadata 01>: <Value 01>
<Metadata 02>: <Value 02>
---
<Problem Name 01> <Exit Flag 01> <Cost 01>
<Problem Name 02> <Exit Flag 02> <Cost 02>
<Problem Name 03> <Exit Flag 03> <Cost 03>
...
where
<Metadata XX>
is the name of metadata field<Value XX>
is the value of the metadata field<Problem Name XX>
is the name of the problem<Exit Flag XX>
isc
ord
, meaning converged and diverged, respectively<Cost XX>
is the "cost" (e.g. time spent) to be used for the performance profile until solve the problem or give up.
Some examples of input file are provided at perprof/examples
(see it on GitHub).
You can build various examples of plots using these example input files with the following:
cd perprof/examples
./make-examples.sh
This will generate 8 simple examples in the folder
perprof/examples/plots
.
YAML header¶
The YAML header store some useful metadata information and optionally some configurations.
Metadata¶
algname
The name of the algorithmic/solver to be used in the plot. Default: File name.col_dual
The column corresponding to the dual feasibility at the solution. Default: 6col_exit
The column corresponding to the exit flag. Default: 2col_fval
The column corresponding to the objective function value at the solution. Default: 4col_name
The column corresponding to the problem names. Default: 1col_primal
The column corresponding to the primal feasibility at the solution. Default: 5col_time
The column corresponding to the time/cost spent on the problem. Default: 3free_format
Only check for mark of success. Default: Falsemaxtime
The maximum time that a algorithmic/solver can run. Default: inf (i.e. not verified)mintime
The minimum time that a algorithmic/solver need to run. Default: 0subset
The name of the file to be used for the subset. Default: Nonesuccess
List of strings to mark success. Default: ‘c’