Function highs_sys::Highs_passLp

source ·
pub unsafe extern "C" fn Highs_passLp(
    highs: *mut c_void,
    num_col: HighsInt,
    num_row: HighsInt,
    num_nz: HighsInt,
    a_format: HighsInt,
    sense: HighsInt,
    offset: f64,
    col_cost: *const f64,
    col_lower: *const f64,
    col_upper: *const f64,
    row_lower: *const f64,
    row_upper: *const f64,
    a_start: *const HighsInt,
    a_index: *const HighsInt,
    a_value: *const f64
) -> HighsInt
Expand description

Pass a linear program (LP) to HiGHS in a single function call.

The signature of this function is identical to Highs_passModel, without the arguments for passing the Hessian matrix of a quadratic program and the integrality vector.

@returns A kHighsStatus constant indicating whether the call succeeded.