Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Jul 00:08
· 27 commits to master since this release
  • SMT
    • Migrate toysmt from the Smtlib fork to the newly developed language-smtlib package (#206, #214)
      • The toysmt REPL now supports multi-line input (#206, #213)
    • Support define-const command in ToySolver.SMT.SMTLIB2Solver (#215)
    • Update the semantics of zero division on bitvectors to conform to SMT-LIB >=2.6 (#209)
    • toysmt now suppresses the prompt and does not use haskeline when stdin is not a terminal (#211)
    • Fix SMT model not to contain a bogus entry for an unused uninterpreted function (#216)
    • Modify the (get-model) command to return the definition of the zero-division function (/0) instead of the assertions about division by zero results (#217)
  • Converter and toyconvert command
    • Do not produce obj<T constraint in wbo2pb when all interpretations are admissible (#157)
    • Optimize unconstrainPB a little (#159, #161)
    • Change ToySolver.SAT.Encoder.Integer to encode integer variables without introducing <= constraints (#162)
    • Store surplus expression instead of raw variables in inequalitiesToEqualitiesPB (#164)
    • Refactor ToySolver.SAT.Encoder.Integer (#167)
    • Improve inequalitiesToEqualitiesPB to produce more compact output (#168)
    • Extend normalizePB to transform constant terms in the objective function into non-constant terms (#169)
    • Support semi-integer variables in IP→PB conversion and improve error messages (#170)
    • Simplify JSON that represents PBSum (#171)
    • Scale objective function and constraints using rational instead of integer in IP→PB transformation (#172)
    • Linearize constant term in objective function when writing LP/MPS file (#185)
    • Add --[no-]mps-obj-name option to toyconvert (#188)
    • Rename --lp option to --mip and keep --lp as an alias (#189)
    • Optimize pb2ip and wbo2ip by not calling convVar repeatedly (#191)
  • toysat
    • Conform to MaxSAT Evaluation 2024 (#177)
      • It outputs SATISFIABLE in MaxSAT mode if it finds a model but fails to prove optimality
      • Add --exit-code option to set exit code
  • Dependencies
    • Stop supporting 32-bit Windows (#154)
    • Stop supporting GHC 9.4 and below (#156, #205)
    • Use pseudo-boolean-0.1.12.0 (#158)
    • Require aeson >=2.0, array >=0.5.6, hashable >=1.4.3, and optparse-applicative >=0.18 (#208)
    • Require language-smtlib >=0.2.0.0 (#206, #214)
  • Misc
    • Add toysolver-check command to check solution (#174, #196)
    • Improve model output speed by printing using ByteString (#175)
    • Build statically linked Linux binaries (#194)
    • Use Cauchy's bounds instead of Lagrange's bounds as the bounds for all roots (#203)
    • Optimize divModMP by rewriting it from a full-reduction strategy to the standard textbook leading-term multivariate division algorithm (#212)