SCIPcreateNlpiProblemFromNlRows

Function SCIPcreateNlpiProblemFromNlRows 

Source
pub unsafe extern "C" fn SCIPcreateNlpiProblemFromNlRows(
    scip: *mut SCIP,
    nlpi: *mut SCIP_NLPI,
    nlpiprob: *mut *mut SCIP_NLPIPROBLEM,
    name: *const c_char,
    nlrows: *mut *mut SCIP_NLROW,
    nnlrows: c_int,
    var2idx: *mut SCIP_HASHMAP,
    nlrow2idx: *mut SCIP_HASHMAP,
    nlscore: *mut f64,
    cutoffbound: f64,
    setobj: c_uint,
    onlyconvex: c_uint,
) -> SCIP_RETCODE
Expand description

creates a NLPI problem from given nonlinear rows

The function computes for each variable the number of non-linear occurrences and stores it in the nlscore array.

@note the first row corresponds always to the cutoff row (even if cutoffbound is SCIPinfinity(scip))