MaxSat4j

gapt.provers.maxsat.MaxSat4j
See theMaxSat4j companion object
class MaxSat4j extends MaxSATSolver

Attributes

Companion
object
Source
MaxSat4j.scala
Graph
Supertypes
class MaxSATSolver
class Object
trait Matchable
class Any
Known subtypes
object MaxSat4j.type

Members list

Value members

Concrete methods

override def solve(hard: CNF, soft: Seq[(Clause, Int)]): Option[Model]

Solves a weighted partial MaxSAT problem.

Solves a weighted partial MaxSAT problem.

Value parameters

hard

Hard constraints in CNF.

soft

Soft constraints in CNF along with their weights.

Attributes

Returns

None if hard is unsatisfiable, otherwise Some(model), where model is a model of hard maximizing the sum of the weights of soft.

Definition Classes
Source
MaxSat4j.scala

Inherited methods

Value parameters

hard

Hard constraints.

soft

Soft constraints along with their weights.

Attributes

Returns

None if hard is unsatisfiable, otherwise Some(model), where model is a model of hard maximizing the sum of the weights of soft.

Inherited from:
MaxSATSolver
Source
MaxSAT.scala

Attributes

Inherited from:
MaxSATSolver
Source
MaxSAT.scala