Learn R Programming

highs (version 1.10.0-1)

hi_model_set_rhs: Set Right Hand Side for a Highs Model

Description

This function sets the left hand side for a given Highs model.

Usage

hi_model_set_rhs(model, rhs)

Value

NULL

Arguments

model

an object of class "highs_model".

rhs

a numeric vector giving the left hand side values.

Examples

Run this code
model <- hi_new_model()
model <- hi_model_set_rhs(model, c(0, 1, 2))

Run the code above in your browser using DataLab