Learn R Programming

highs (version 1.10.0-1)

hi_solver_get_lp_costs: Get Objective Coefficients

Description

This function retrieves the objective coefficients of the linear program.

Usage

hi_solver_get_lp_costs(solver)

Value

A numeric vector of objective coefficients.

Arguments

solver

An object of class "highs_solver".

Examples

Run this code
solver <- example_solver()
costs <- hi_solver_get_lp_costs(solver)

Run the code above in your browser using DataLab