MaxSat4j

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

Attributes

Companion
class
Source
MaxSat4j.scala
Graph
Supertypes
class MaxSat4j
class MaxSATSolver
class Object
trait Matchable
class Any
Self type
MaxSat4j.type

Members list

Value members

Inherited 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
Inherited from:
MaxSat4j
Source
MaxSat4j.scala

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