hi_solver_get_lp_costs: Get Objective Coefficients

View source: R/solver-api.R

hi_solver_get_lp_costsR Documentation

Get Objective Coefficients

Description

This function retrieves the objective coefficients of the linear program.

Usage

hi_solver_get_lp_costs(solver)

Arguments

solver

An object of class "highs_solver".

Value

A numeric vector of objective coefficients.

Examples

solver <- example_solver()
costs <- hi_solver_get_lp_costs(solver)


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