ROI_plugin_canonicalize_solution: Canonicalize Solution

Description Usage Arguments Value See Also

View source: R/plugin.R

Description

Transform the solution to a standardized form.

Usage

1
2
3
4
5
6
7
8
ROI_plugin_canonicalize_solution(
  solution,
  optimum,
  status,
  solver,
  message = NULL,
  ...
)

Arguments

solution

a numeric or integer vector giving the solution of the optimization problem.

optimum

a numeric giving the optimal value.

status

an integer giving the status code (exit flag).

solver

a character string giving the name of the solver.

message

an optional R object giving the original solver message.

...

further arguments to be stored in the solution object.

Value

an object of class "OP_solution".

See Also

Other plugin functions: ROI_plugin_add_status_code_to_db(), ROI_plugin_build_equality_constraints(), ROI_plugin_build_inequality_constraints(), 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()


ROI documentation built on Aug. 29, 2020, 3:01 p.m.