SCIPgetLPObjval

Function SCIPgetLPObjval 

Source
pub unsafe extern "C" fn SCIPgetLPObjval(scip: *mut SCIP) -> f64
Expand description

gets objective value of current LP (which is the sum of column and loose objective value)

@return the objective value of current LP (which is the sum of column and loose objective value).

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

@note This method returns the objective value of the current LP solution, which might be primal or dual infeasible if a limit was hit during solving. It must not be used as a dual bound if the LP solution status returned by SCIPgetLPSolstat() is SCIP_LPSOLSTAT_ITERLIMIT or SCIP_LPSOLSTAT_TIMELIMIT.

See \ref SCIP_Stage “SCIP_STAGE” for a complete list of all possible solving stages.