The Objective class.
This class represents an optimization objective. class
Objective(expr) ## S4 method for signature 'Objective' value(object) ## S4 method for signature 'Objective' is_quadratic(object) ## S4 method for signature 'Objective' is_qpwa(object)
expr
: A scalar Expression to optimize.object
: An Objective object.value(Objective)
: The value of the objective expression.is_quadratic(Objective)
: Is the objective a quadratic function?is_qpwa(Objective)
: Is the objective a quadratic of piecewise affine function?expr
: A scalar Expression to optimize.