new_solution {ompr} | R Documentation |
This function/class should only be used if you develop your own solver.
new_solution( model, objective_value, status, solution, solution_column_duals = function() NA_real_, solution_row_duals = function() NA_real_ )
model |
the optimization model that was solved |
objective_value |
a numeric objective value |
status |
the status of the solution |
solution |
a named numeric vector containing the primal solution values |
solution_column_duals |
A function without arguments that returns a numeric vector containing the column dual solution values. 'NA_real_', if no column duals are available/defined. |
solution_row_duals |
A function without arguments that returns a numeric vector containing the column dual solution values. 'NA_real_', if no column duals are available/defined. |