Skip to main content

Highs_getDualRay

Function Highs_getDualRay 

Source
pub unsafe extern "C" fn Highs_getDualRay(
    highs: *const c_void,
    has_dual_ray: *mut HighsInt,
    dual_ray_value: *mut f64,
) -> HighsInt
Expand description

Indicates whether a dual ray that is a certificate of primal infeasibility currently exists, and (at the expense of solving an LP) gets it if it does not and dual_ray_value is not nullptr.

@param highs A pointer to the Highs instance. @param has_dual_ray A pointer to a HighsInt to store 1 if a dual ray currently exists. @param dual_ray_value An array of length [num_row] filled with the unbounded ray.

@returns A kHighsStatus constant indicating whether the call succeeded.