Function highs_sys::Highs_mipCall

source ·
pub unsafe extern "C" fn Highs_mipCall(
    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,
    col_value: *mut f64,
    row_value: *mut f64,
    model_status: *mut HighsInt
) -> HighsInt
Expand description

Formulate and solve a mixed-integer linear program using HiGHS.

The signature of this method is identical to Highs_lpCall, except that it has an additional integrality argument, and that it is missing the col_dual, row_dual, col_basis_status and row_basis_status arguments.

@param integrality An array of length [num_col], containing a kHighsVarType constant for each column.

@returns A kHighsStatus constant indicating whether the call succeeded.