Learn R Programming

highs (version 1.10.0-1)

hi_solver_get_constraint_matrix: Get Constraint Matrix

Description

This function retrieves the constraint matrix of the optimization model.

Usage

hi_solver_get_constraint_matrix(solver)

Value

A sparse matrix representing the constraints.

Arguments

solver

An object of class "highs_solver".

Examples

Run this code
solver <- example_solver()
matrix <- hi_solver_get_constraint_matrix(solver)

Run the code above in your browser using DataLab