opb2pbcount

Crates.ioopb2pbcount
lib.rsopb2pbcount
version0.2.0
created_at2025-11-25 12:51:41.718457+00
updated_at2025-12-01 11:53:39.501192+00
descriptionConverter for the OPB format to be used by pbcount
homepage
repositoryhttps://github.com/uulm-janbaudisch/opb2pbcount.git
max_upload_size
id1949665
size32,139
Jan Baudisch (uulm-janbaudisch)

documentation

README

Crates.io Version

opb2pbcount

Converter for the OPB format to be used by pbcount

This tool takes an OPB file and modifies it in such a way that it can be consumed by pbcount.

The following changes are made to the formua:

  • variables are put in the form of x1, x2, ...
  • constraints are changed to only = or >=
  • fails on constraint type !=

Installation

Nix

nix build github:uulm-janbaudisch/opb2pbcount

Cargo

cargo build --release

Usage

opb2pbcount --input file.opb --output output.opb
Commit count: 0

cargo fmt