highs-js API reference
    Preparing search index...

    Interface InfoStore

    Read-only solve-information facade. Values describe current or most recent solver state; some names are unavailable before a solve or for a particular algorithm/model. Native int64 counters are always returned as bigint.

    interface InfoStore {
        get(name: string): number | bigint;
        type(name: string): InfoType;
    }
    Index
    • Gets an exact info item; 64-bit counters use bigint, and unavailable names throw.

      Parameters

      • name: string

      Returns number | bigint

    • Returns the storage category for an exact info name; throws if unknown.

      Parameters

      • name: string

      Returns InfoType