Learn R Programming

highs (version 1.10.0-1)

hi_model_set_nrow: 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)

Value

NULL

Arguments

model

an object of class "highs_model".

nrow

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

Examples

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

Run the code above in your browser using DataLab