Extract solution from the solver.
Generic getter functions used by the function
solution
. These functions can be used to write
a solver specific getter function.
ROI_plugin_solution_prim(x, force = FALSE) ## S3 method for class 'OP_solution' ROI_plugin_solution_prim(x, force = FALSE) ## S3 method for class 'OP_solution_set' ROI_plugin_solution_prim(x, force = FALSE) ROI_plugin_solution_dual(x) ROI_plugin_solution_aux(x) ROI_plugin_solution_psd(x) ROI_plugin_solution_msg(x) ROI_plugin_solution_status_code(x) ROI_plugin_solution_status(x) ROI_plugin_solution_objval(x, force = FALSE)
x |
an |
force |
a logical to control the return value in the case that the
status code is equal to 1 (i.e. something went wrong).
By default force is |
the corresponding solution/s.
Other plugin functions:
ROI_plugin_add_status_code_to_db()
,
ROI_plugin_build_equality_constraints()
,
ROI_plugin_build_inequality_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_registered_solver_control()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.