ROI_plugin_build_inequality_constraints function

Build Functional Inequality Constraints

Build Functional Inequality Constraints

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

  1. leq\_zero:h(x)0h(x) \leq 0 and
  2. geq\_zero:h(x)0h(x) \geq 0 and
  3. leq_geq\_rhs:lhsh(x)rhslhs \geq h(x) \leq rhs .

Note

This function only intended for plugin authors.

See Also

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()

  • Maintainer: Stefan Theussl
  • License: GPL-3
  • Last published: 2023-04-20