Expression

sealed trait Expression extends Problem

Anything that can be built up from adding/subtracting/dividing and multiplying by constants

trait Problem
class Object
trait Matchable
class Any
trait Variable
class Real
class Integer
class Binary

Value members

Abstract methods

def coefficients: Vector[Double]

Concrete methods

def *(c: Double): Expression
def *:(c: Double): Expression
def +(other: Expression): Expression
def +(other: Double): Expression
def -(other: Expression): Expression
def -(other: Double): Expression
def <=(rhs_: Expression): Constraint
def <=(c: Double): Constraint
def =:=(c: Double): Constraint
def >=(rhs_: Expression): Constraint
def >=(c: Double): Constraint
def constraints: IndexedSeq[Constraint]
def scalarComponent: Double

Inherited methods

def goal: Option[GoalType]
Inherited from
Problem
def solve(implicit solver: Solver): Result
Inherited from
Problem
def subjectTo(constraints: Constraint*): Problem
Inherited from
Problem
override def toString: String
Definition Classes
Problem -> Any
Inherited from
Problem