hi_solver_get_constraint_matrix {highs}R Documentation

Get Constraint Matrix

Description

This function retrieves the constraint matrix of the optimization model.

Usage

hi_solver_get_constraint_matrix(solver)

Arguments

solver

An object of class "highs_solver".

Value

A sparse matrix representing the constraints.

Examples

solver <- example_solver()
matrix <- hi_solver_get_constraint_matrix(solver)


[Package highs version 1.10.0-2 Index]