Solver checkpoint at which JavaScript may request early termination.
Calling interrupt() asks HiGHS to stop and normally produces model status
highs.constants.modelStatus.interrupted. Decide from data already available
in the handler, such as elapsed time or MIP gap. A separate postMessage()
cannot update the decision while synchronous run() is blocking that Worker.
Solver checkpoint at which JavaScript may request early termination.
Calling
interrupt()asks HiGHS to stop and normally produces model statushighs.constants.modelStatus.interrupted. Decide from data already available in the handler, such as elapsed time or MIP gap. A separatepostMessage()cannot update the decision while synchronousrun()is blocking that Worker.