CNLP_Bounds_CB

Type Alias CNLP_Bounds_CB 

Source
pub type CNLP_Bounds_CB = Option<unsafe extern "C" fn(n: CNLP_Index, x_l: *mut CNLP_Number, x_u: *mut CNLP_Number, m: CNLP_Index, g_l: *mut CNLP_Number, g_u: *mut CNLP_Number, user_data: CNLP_UserDataPtr) -> CNLP_Bool>;
Expand description

Type defining the callback function for specifying variable and constraint lower and upper bounds.

Aliased Type§

pub enum CNLP_Bounds_CB {
    None,
    Some(unsafe extern "C" fn(i32, *mut f64, *mut f64, i32, *mut f64, *mut f64, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, *mut f64, *mut f64, i32, *mut f64, *mut f64, *mut c_void) -> i32)

Some value of type T.