MPConstraint

case class MPConstraint(constraint: Constraint, index: Int, model: MPModel) extends StrictLogging

Mathematical programming model constraint.

Value parameters:
constraint

the constraint expression

index

the index of the constraint in the model

model

the model that the constraint belongs

trait Serializable
trait Product
trait Equals
trait StrictLogging
class Object
trait Matchable
class Any

Value members

Concrete methods

def check(tol: Double): Boolean
def isTight(tol: Double): Boolean
def slack: Try[Double]
override def toString: String
Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Inherited fields

protected val logger: Logger
Inherited from:
StrictLogging