Skip to main content

Type alias: LowerBoundEvent

LowerBoundEvent: {"solveTime": number;"value": ObjectiveValue; }

An event that is emitted by Solver when a new (i.e. better) lower bound of the objective is found.

The event can be intercepted by calling Solver.on("lower bound", ...) with "lowerBound" event name. The event contains the new lower bound and the solving time so far.

See

Type declaration

solveTime

solveTime: number

Duration of the solve at the time the lower bound was found, in seconds.

value

value: ObjectiveValue

The new lower bound of the objective.