hi_solver_get_basis: Get Basis

View source: R/solver-api.R

hi_solver_get_basisR Documentation

Get Basis

Description

Retrieves the current simplex basis from the solver.

Usage

hi_solver_get_basis(solver)

Arguments

solver

An object of class "highs_solver".

Value

A list with components:

valid

Logical, whether the basis is valid.

col_status

Integer vector of column basis statuses (0=Lower, 1=Basic, 2=Upper, 3=Zero, 4=Nonbasic).

row_status

Integer vector of row basis statuses.


highs documentation built on June 8, 2026, 9:06 a.m.