Learn R Programming

ROI (version 0.2-1)

NO_constraint: Class: "NO_constraint"

Description

In case the constraints slot in the problem object is NULL the return value of a call of constraints() will return an object of class "NO_constraint" which inherits from "L_constraint".

Usage

NO_constraint(n_obj)
as.NO_constraint(x, ...)
is.NO_constraint(x)

Arguments

n_obj
a numeric vector of length 1 representing the number of objective variables.
x
an R object.
...
further arguments passed to or from other methods (currently ignored).

Value

an object of class "NO_constraint" which inherits from "L_constraint" and "constraint".