There exist different forms of functional inequality constraints, this function transforms the form used in ROI into the forms commonly used by optimization solvers.
ROI_plugin_build_inequality_constraints(x, type = c("leq_zero","geq_zero"))
Arguments
x: an object of type "OP".
type: an character giving the type of the function to be returned, possible values are "leq\_zero" and "geq\_zero". For more information see Details.
Returns
Returns one function, which combines all the functional constraints.
Details
There are three types of inequality constraints commonly used in