highs-js API reference
    Preparing search index...

    Interface EncodedModel

    In-memory LP or MPS file. format, not a filename extension, selects the parser. A string is encoded as file text; a Uint8Array supplies raw file bytes. Data is copied through a private temporary Emscripten file that is removed before return, so no caller-controlled filesystem path is exposed.

    interface EncodedModel {
        data: string | Uint8Array<ArrayBufferLike>;
        format: "lp" | "mps";
    }
    Index
    data: string | Uint8Array<ArrayBufferLike>

    LP/MPS text or raw encoded file bytes copied into private temporary storage.

    format: "lp" | "mps"

    Parser format, independent of a filename extension.