Closed migueltorrescosta closed 3 years ago
Couldn't you just run maxsat with -1 weights on positive literals?
@migueltorrescosta, a possible solution would be indeed the one suggested by @haz. Alternatively, a couple of solvers we have in PySAT should always respect the polarities you set using set_phases()
. See the documentation on how this can be done.
Yes, that is ideal. Thank you for the prompt reply!
Are any of the solvers optimized for minimal solutions, in the sense of minimizing the amount of literals set to true? I was considering something similar to this modification of pycosat: https://github.com/ContinuumIO/pycosat/pull/39