highs-js API reference
    Preparing search index...

    Interface FeasibilityRelaxationInput

    Feasibility-relaxation penalties, used as objective costs for bound/row violations. A positive value charges per unit of violation, zero allows a free violation, and a negative value prohibits that violation. Each supplied local vector spans its complete axis and replaces, rather than adds to, the corresponding global penalty entry by entry.

    interface FeasibilityRelaxationInput {
        globalLowerPenalty: number;
        globalRowPenalty: number;
        globalUpperPenalty: number;
        localLowerPenalty?: NumberInput;
        localRowPenalty?: NumberInput;
        localUpperPenalty?: NumberInput;
    }
    Index
    globalLowerPenalty: number

    Default penalty for violating column lower bounds.

    globalRowPenalty: number

    Default penalty for violating row bounds.

    globalUpperPenalty: number

    Default penalty for violating column upper bounds.

    localLowerPenalty?: NumberInput

    Per-column lower penalties, length numCols; omission uses the global penalty.

    localRowPenalty?: NumberInput

    Per-row penalties, length numRows; omission uses the global penalty.

    localUpperPenalty?: NumberInput

    Per-column upper penalties, length numCols; omission uses the global penalty.