SCIPreadProb

Function SCIPreadProb 

Source
pub unsafe extern "C" fn SCIPreadProb(
    scip: *mut SCIP,
    filename: *const c_char,
    extension: *const c_char,
) -> SCIP_RETCODE
Expand description

reads problem from file and initializes all solving data structures

@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 @p scip is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM - \ref SCIP_STAGE_TRANSFORMED - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_EXITSOLVE

@post After the method was called, \SCIP is in one of the following stages: - \ref SCIP_STAGE_INIT if reading failed (usually, when a SCIP_READERROR occurs) - \ref SCIP_STAGE_PROBLEM if the problem file was successfully read