
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
This class represents a leaf node, i.e. a Variable, Constant, or Parameter.
# S4 method for Leaf
variables(object)# S4 method for Leaf
parameters(object)
# S4 method for Leaf
constants(object)
# S4 method for Leaf
is_convex(object)
# S4 method for Leaf
is_concave(object)
# S4 method for Leaf
is_quadratic(object)
# S4 method for Leaf
is_pwl(object)
# S4 method for Leaf
domain(object)
# S4 method for Leaf
validate_val(object, val)
The assigned value.
is_convex
: A logical value indicating whether the leaf node is convex.
is_concave
: A logical value indicating whether the leaf node is concave.
is_quadratic
: A logical value indicating whether the leaf node is quadratic.
is_pwl
: A logical value indicating whether the leaf node is piecewise linear.
domain
: A list of constraints describing the closure of the region where the leaf node is finite. Default is the full domain.
validate_val
: Check that val
satisfies symbolic attributes of leaf.
args
A list containing the arguments.