dlinear
0.0.1
Delta-complete SMT solver for linear programming
|
After compilation, the dlinear
binary will be located in the bazel-bin/dlinear
directory. There are several options to run it:
./bazel-bin/dlinear/dlinear
in the terminalbazel-bin/dlinear
to the PATH
environment variable./bazel-bin/dlinear/dlinear
to a directory already in the PATH
, like /usr/local/bin
From now on, the snippets will assume that the dlinear
binary has been added to the PATH
.
By default, dlinear expects the path to the problem file as the only positional argument. The file can be in the SMT2 or MPS format. If left unspecified, the program will look at the file extension to determine the format.
dlinear can be used in stdin mode, where the user can input is received from the standard input. Note that in this case the format must be specified explicitly.
When the stdin mode is used, the problem must be typed directly in the terminal. To signal dlinear the end of the input, press Ctrl+D
two times. This will start the solver.
dlinear can be used to verify the robustness of a neural network. The network must be in the ONNX format, while the property must be in the VNN-LIB format. To run the verification, use the following command: