hi_model_set_nrow {highs}R Documentation

Set the number of rows in the model

Description

This function sets the number of rows in the given model.

Usage

hi_model_set_nrow(model, nrow)

Arguments

model

an object of class "highs_model".

nrow

an integer giving the number of rows (variables) to set in the model

Value

NULL

Examples

model <- hi_new_model()
hi_model_set_nrow(model, 5L) # Sets the model to have 5 rows

[Package highs version 1.10.0-2 Index]