Scippy

SCIP

Solving Constraint Integer Programs

type_tpi.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2018 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_tpi.h
17  * @ingroup TASKINTERFACE
18  * @brief the type definitions for the task processing interface
19  * @author Robert Lion Gottwald
20  * @author Stephen J. Maher
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __TYPE_TPI_H__
26 #define __TYPE_TPI_H__
27 
28 #include "scip/type_retcode.h"
29 #include "tpi/type_tpi_openmp.h"
30 #include "tpi/type_tpi_tnycthrd.h"
31 #include "tpi/type_tpi_none.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /** The status after submitting a job */
39 {
44 };
46 
47 /** The job status
48  *
49  * There is more than one job per job id. So the job status will return either SCIP_JOB_DOESNOTEXIST or the lowest level
50  * of execution. For example, if there is a job running and a job in the queue, then the return will be
51  * SCIP_JOB_INQUEUE.
52  */
54 {
59 };
61 
62 typedef struct SCIP_Job SCIP_JOB; /**< a job to be submitted to a separate thread */
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif
enum SCIP_Submitstatus SCIP_SUBMITSTATUS
Definition: type_tpi.h:45
enum SCIP_Jobstatus SCIP_JOBSTATUS
Definition: type_tpi.h:60
type definitions for return codes for SCIP methods
the type definitions for the the locks and condition variables for the OpenMP implementation of the T...
SCIP_Submitstatus
Definition: type_tpi.h:38
the type definitions for the the locks and condition variables for the tinycthreads implementation of...
the type definitions for the the locks and condition variables for the dummy implementation of the TP...
SCIP_Jobstatus
Definition: type_tpi.h:53