hi_solver_set_offset: Set the objective offset for the solver.

View source: R/solver-api.R

hi_solver_set_offsetR Documentation

Set the objective offset for the solver.

Description

This function sets the objective offset in the solver instance.

Usage

hi_solver_set_offset(solver, ext_offset)

Arguments

solver

An object of class "highs_solver".

ext_offset

A numeric value representing the offset.

Value

The solver instance with the updated offset.

Examples

solver <- example_solver()
hi_solver_set_offset(solver, 5.0)


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