SCIPsetReaderWrite

Function SCIPsetReaderWrite 

Source
pub unsafe extern "C" fn SCIPsetReaderWrite(
    scip: *mut SCIP,
    reader: *mut SCIP_READER,
    readerwrite: Option<unsafe extern "C" fn(scip: *mut SCIP, reader: *mut SCIP_READER, file: *mut FILE, filename: *const c_char, name: *const c_char, probdata: *mut SCIP_PROBDATA, transformed: c_uint, objsense: SCIP_OBJSENSE, objoffset: f64, objscale: f64, objoffsetexact: *mut SCIP_RATIONAL, objscaleexact: *mut SCIP_RATIONAL, vars: *mut *mut SCIP_VAR, nvars: c_int, nbinvars: c_int, nintvars: c_int, nimplvars: c_int, ncontvars: c_int, fixedvars: *mut *mut SCIP_VAR, nfixedvars: c_int, startnvars: c_int, conss: *mut *mut SCIP_CONS, nconss: c_int, maxnconss: c_int, startnconss: c_int, genericnames: c_uint, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
) -> SCIP_RETCODE
Expand description

set write method of reader

@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.

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