Scippy

SCIP

Solving Constraint Integer Programs

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

callback function for handling signals

Parameters
signumsignal code

Definition at line 43 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 53 of file main.c.

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