Function highs_sys::Highs_passMip

source ·
pub unsafe extern "C" fn Highs_passMip(
    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,
    integrality: *const HighsInt
) -> HighsInt
Expand description

Pass a mixed-integer linear program (MILP) to HiGHS in a single function call.

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

@returns A kHighsStatus constant indicating whether the call succeeded.