MINISAT+(1)
π MINISAT+(1) β the manual page, but make it cute
okay so bestie, we're in section 1 of the manual (general commands, the good stuff π
) and the command we're stanning today is literally called minisat+. buckle up π
β¨ NAME β¨
minisat+ β a solver for Pseudo-Boolean constraints. she solves. that's the vibe. π§
πΈ SYNOPSIS πΈ
minisat+ <input-file> [<result-file>] [<option> ...]
so like, give her an input file, optionally a result file, and then as many options as your heart desires. go off π
π¦ DESCRIPTION π¦
MiniSat+ is a solver for Pseudo-Boolean constraints, and she's built on top of MiniSat. iconic lineage, no cap.
so what even is a Pseudo-Boolean constraint? okay so it's this thing you can use to describe certain kinds of combinatorial optimization problems. the variables are Boolean, meaning they can only take the values 0 or 1 β literally just two moods, we love a binary queen. but the (in-)equations used in hard constraints and objective functions can use arbitrary integer coefficients. so like, the variables are minimal but the coefficients are main character energy. π
Minisat+ accepts problem specifications written in the OPB format. that's the tea. π
π OPTIONS π
π₯ Solver options:
-M,-minisatβ Use MiniSat v1.13 as the backend. this is the default btw, the og.-S,-sateliteβ Use SatELite v1.0 as the backend instead. switching it up β¨-ca,-addersβ Convert PB-constrs to clauses through adders.-cs,-sortersβ Convert PB-constrs to clauses through sorters.-cb,-bddsβ Convert PB-constrs to clauses through bdds.-cm,-mixedβ Convert PB-constrs to clauses by a mix of the above. this one's the default, she contains multitudes π-ga,-gs,-gb,-gmβ Override the conversion for the goal function. (long name:-goal-xxx). pick your fighter π-w,-weak-offβ Clausify with equivalences instead of implications.-bdd n,-thres=nβ Set the threshold for preferring BDDs in mixed mode ton. (default:3)-sort-thres=nβ Set the threshold for preferring sorters ton. this gets tried after BDDs. (default:20)-goal n,-bias=nβ Set the bias of the goal function conversion towards sorters ton. (default:3)-1,-firstβ Don't minimize, just give the first solution found. fastest girl in the room πββοΈ-A,-allβ Don't minimize, give all the solutions. she's generous like that.-goal=nβ Set the initial goal limit ton.-p,-pbvarsβ Restrict the decision heuristic of SAT to the original PB variables.-ps{+,-,0}β Polarity suggestion in SAT, towards / away from the goal, or neutral. three whole settings, pick your vibe.
πΈ Input options:
-of,-old-fmtβ Use the old variant of the OPB file format. vintage, retro, archival π
π Output options:
-s,-satliveβ Turn off SAT competition output.-a,-ansiβ Turn off ANSI codes in the output.-vnβ Set the verbosity level ton. possible values fornare1,2,3. (default:1)-cnf=fileβ Write the SAT problem to a file calledfile. but if the input problem is found to be trivially unsatisfiable, then no file is written. heads up on that one π«Ά
π EXIT CODES π
if the parsing of the input fails, then the program exits with exit code 5. so if you see a 5, that's the parser telling you the input was not it, bestie. π
π«Ά AUTHORS π«Ά
Minisat+ was written by Niklas Een and Niklas Sorensson. two Niklases, double the talent, we love a collab. π
and that's the whole page!! this was the minisat+ manual, section 1 of the general commands manual, and the footer just says MINISAT+(1) β no extra version string, no date, she's mysterious like that π
β¨
π¦ where this page comes from
- debian bookworm: minisat+ 1.0-4 Β· MIT
- debian trixie: minisat+ 1.0-5 Β· MIT
- ubuntu jammy: minisat+ 1.0-4build1 Β· MIT
- ubuntu noble: minisat+ 1.0-4build1 Β· MIT
- ubuntu questing: minisat+ 1.0-5
- ubuntu resolute: minisat+ 1.0-5build1 Β· MIT
- ubuntu stonking: minisat+ 1.0-5build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms