Scippy

SCIP

Solving Constraint Integer Programs

retcode.h File Reference

Detailed Description

internal methods for return codes for SCIP methods

Author
Tobias Achterberg

Definition in file retcode.h.

#include <stdio.h>
#include "scip/pub_message.h"

Go to the source code of this file.

Functions

void SCIPretcodePrint (SCIP_MESSAGEHDLR *messagehdlr, FILE *file, SCIP_RETCODE retcode)
 
void SCIPretcodePrintError (SCIP_RETCODE retcode)
 

Function Documentation

◆ SCIPretcodePrint()

void SCIPretcodePrint ( SCIP_MESSAGEHDLR messagehdlr,
FILE *  file,
SCIP_RETCODE  retcode 
)

prints error message for return code

prints error message for return code via message handler

Parameters
messagehdlrmessage handler
filefile stream to write error message
retcodeSCIP return code causing the error

Definition at line 38 of file retcode.c.

References SCIP_BRANCHERROR, SCIP_ERROR, SCIP_FILECREATEERROR, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_INVALIDRESULT, SCIP_KEYALREADYEXISTING, SCIP_LPERROR, SCIP_MAXDEPTHLEVEL, SCIP_NOFILE, SCIP_NOMEMORY, SCIP_NOPROBLEM, SCIP_NOTIMPLEMENTED, SCIP_OKAY, SCIP_PARAMETERUNKNOWN, SCIP_PARAMETERWRONGTYPE, SCIP_PARAMETERWRONGVAL, SCIP_PLUGINNOTFOUND, SCIP_READERROR, SCIP_WRITEERROR, and SCIPmessageFPrintInfo().

◆ SCIPretcodePrintError()