hi_solver_get_lp_costs {highs}R 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)


[Package highs version 1.10.0-2 Index]