hi_solver_get_constraint_matrix: Get Constraint Matrix

View source: R/solver-api.R

hi_solver_get_constraint_matrixR 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)


highs documentation built on June 8, 2025, 10:36 a.m.