hi_solver_set_offset {highs}R 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)


[Package highs version 1.10.0-2 Index]