hi_solver_get_solution: Get Solution

View source: R/solver-api.R

hi_solver_get_solutionR Documentation

Get Solution

Description

This function retrieves the solution from the solver after optimization.

Usage

hi_solver_get_solution(solver)

Arguments

solver

An object of class "highs_solver".

Value

A list containing the solution information.

Examples

solver <- example_solver()
hi_solver_run(solver)
solution <- hi_solver_get_solution(solver)


highs documentation built on June 8, 2025, 10:36 a.m.