Detailed Description
main file for linear ordering example
Definition in file cmain.c.
#include <string.h>
#include <scip/scip.h>
#include <scip/scipdefplugins.h>
#include "cons_lop.h"
#include "reader_lop.h"
Go to the source code of this file.
Macros | |
#define | SCIP_CALL_ERROR(x) |
Functions | |
int | main (int argc, char **argv) |
Macro Definition Documentation
◆ SCIP_CALL_ERROR
#define SCIP_CALL_ERROR | ( | x | ) |
Value:
do \
{ \
SCIP_RETCODE _restat_; \
{ \
SCIPprintError(_restat_); \
return -1; \
} \
} \
while( FALSE )
Definition: type_retcode.h:42
define macro to print error message and exit
Definition at line 41 of file cmain.c.
Referenced by main().
Function Documentation
◆ main()
int main | ( | int | argc, |
char ** | argv | ||
) |
main function, which starts the solution of the linear ordering problem
- Parameters
-
argc number of arguments from the shell argv array of shell arguments
Definition at line 54 of file cmain.c.
References BMScheckEmptyMemory, NULL, SCIP_CALL_ERROR, SCIPcreate(), SCIPfree(), SCIPincludeConshdlrLOP(), SCIPincludeDefaultPlugins(), SCIPincludeReaderLOP(), SCIPinfoMessage(), and SCIPprocessShellArguments().