50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

highs (version 1.10.0-1)

hi_model_set_upper: Set Upper Bounds for a Highs Model

Description

This function sets the upper bounds for a given Highs model.

Usage

hi_model_set_upper(model, upper)

Value

NULL

Arguments

model

an object of class "highs_model".

upper

a numeric vector giving the upper bounds.

Examples

Run this code
model <- hi_new_model()
upper_bounds <- c(10, 20, 30)
hi_model_set_upper(model, upper_bounds)

Run the code above in your browser using DataLab