hi_model_get_ncons {highs}R Documentation

Get Number of Constraints in a Model

Description

This function retrieves the number of constraints in a given 'highs_model' object.

Usage

hi_model_get_ncons(model)

Arguments

model

A 'highs_model' object. The model from which to get the number of variables.

Value

An integer representing the number of constraints in the model.

Examples

model <- hi_new_model()
hi_model_get_ncons(model)


[Package highs version 1.10.0-2 Index]