SCIPgetNLPNlRowsStat

Function SCIPgetNLPNlRowsStat 

Source
pub unsafe extern "C" fn SCIPgetNLPNlRowsStat(
    scip: *mut SCIP,
    nlinear: *mut c_int,
    nconvexineq: *mut c_int,
    nnonconvexineq: *mut c_int,
    nnonlineareq: *mut c_int,
) -> SCIP_RETCODE
Expand description

gets statistics on convexity of rows in NLP

Reports counts on the current number of linear rows, convex inequalities, nonconvex inequalities, and nonlinear equalities or ranged rows.

  • A nonlinear inequality with infinity left-hand-side is accounted as convex if its expression has been marked as convex.
  • A nonlinear inequality with infinity right-hand-side is accounted as convex if its expression has been marked as concave.
  • Other nonlinear rows are accounted as nonconvex. Note that convexity for a nonlinear row may just not have been detected.

@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED