Readonlyconstants: HighsConstantsImmutable numeric encodings accepted and returned by the API.
Readonlyerrors: HighsErrorConstructorsError classes used by throwing persistent wrappers.
Readonlyinfinity: numberIEEE positive infinity returned by this build of HiGHS.
ReadonlyintBits: numberWidth of native HighsInt; indices must fit this signed width.
ReadonlyintBytes: numberNative HighsInt width in bytes.
ReadonlymemoryBytes: numberCurrent Wasm linear-memory capacity, not the amount of live allocation.
Readonlyraw: RawRuntimeApiStatus-preserving APIs corresponding closely to the stable C API.
Readonlyversion: HighsVersionImmutable version metadata for the loaded Wasm build.
Creates a persistent native instance and optionally loads copied structured
data or parses in-memory LP/MPS content. Garbage collection does not release
its native memory, so the caller must use Highs.withModel(),
using, or eventually call dispose(). Failing to
do so leaks Wasm memory for the lifetime of the runtime.
Optionalsource: ModelData | EncodedModelCreates a model for the duration of operation and disposes it after the
returned value, or after a returned Promise-like value settles. Do not
retain or return the model itself: it is disposed when this method finishes.
Synchronous withModel() overload.
Creates a populated scoped model and awaits a Promise-like operation result.
Creates a populated scoped model and returns a synchronous operation result.
Loaded runtime combining the compatibility solver with persistent and raw APIs.