ROI_plugin_build_inequality_constraints | R Documentation |
There exist different forms of functional inequality constraints, this function transforms the form used in ROI into the forms commonly used by R optimization solvers.
ROI_plugin_build_inequality_constraints(x, type = c("leq_zero", "geq_zero"))
x |
an object of type |
type |
an character giving the type of the function to be returned,
possible values are |
There are three types of inequality constraints commonly used in R
leq\_zero
: h(x) \leq 0
and
geq\_zero
: h(x) \geq 0
and
leq_geq\_rhs
: lhs \geq h(x) \leq rhs
.
Returns one function, which combines all the functional constraints.
This function only intended for plugin authors.
Other plugin functions:
ROI_plugin_add_status_code_to_db()
,
ROI_plugin_build_equality_constraints()
,
ROI_plugin_canonicalize_solution()
,
ROI_plugin_get_solver_name()
,
ROI_plugin_make_signature()
,
ROI_plugin_register_solver_control()
,
ROI_plugin_register_solver_method()
,
ROI_plugin_solution_prim()
,
ROI_registered_solver_control()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.