Scippy

SCIP

Solving Constraint Integer Programs

src/main.c File Reference

Detailed Description

main file for C compilation

Author
Tobias Achterberg

Definition in file main.c.

#include <stdio.h>
#include <signal.h>
#include "scip/scip.h"
#include "scip/scipshell.h"
#include "scip/interrupt.h"

Go to the source code of this file.

Functions

static void handleSigterm (int signum)
 
int main (int argc, char **argv)
 

Function Documentation

◆ handleSigterm()

static void handleSigterm ( int  signum)
static
Parameters
signumsignal code

Definition at line 41 of file main.c.

References SCIPtryTerminate().

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

main method starting SCIP

Parameters
argcnumber of arguments from the shell
argvarray of shell arguments

Definition at line 49 of file main.c.

References handleSigterm(), SCIP_OKAY, SCIPprintError(), and SCIPrunShell().