Learn R Programming

highs (version 1.10.0-1)

hi_solver_get_solution: Get Solution

Description

This function retrieves the solution from the solver after optimization.

Usage

hi_solver_get_solution(solver)

Value

A list containing the solution information.

Arguments

solver

An object of class "highs_solver".

Examples

Run this code
solver <- example_solver()
hi_solver_run(solver)
solution <- hi_solver_get_solution(solver)

Run the code above in your browser using DataLab