Skip to main content

papilo_problem_add_simple_rows

Function papilo_problem_add_simple_rows 

Source
pub unsafe extern "C" fn papilo_problem_add_simple_rows(
    problem: *mut PAPILO_PROBLEM,
    num: c_int,
    rowtypes: *const c_uchar,
    side: *const f64,
    rownames: *mut *const c_char,
) -> c_int
Expand description

Add simple linear constraints (no ranged rows) to the problem and returns the index of the first new row or -1 if it does not exist (i.e. num == 0). If rownames is NULL generic names are used.