Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ROI_plugin_canonicalize_solution

Canonicalize Solution


Description

Transform the solution to a standardized form.

Usage

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


ROI

R Optimization Infrastructure

v1.0-0
GPL-3
Authors
Kurt Hornik [aut], David Meyer [aut], Florian Schwendinger [aut], Stefan Theussl [aut, cre], Diethelm Wuertz [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.