Scippy

SCIP

Solving Constraint Integer Programs

heur_listscheduling.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-2019 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 visit scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file heur_listscheduling.h
17  * @brief scheduling specific primal heuristic which is based on bidirectional serial generation scheme.
18  * @author Eamonn Coughlan
19  *
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_HEUR_LISTSCHEDULING_H__
25 #define __SCIP_HEUR_LISTSCHEDULING_H__
26 
27 
28 #include "scip/scip.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /** creates the list scheduling primal heuristic and includes it in SCIP */
35 extern
37  SCIP* scip /**< SCIP data structure */
38  );
39 
40 /** initialize heuristic */
41 extern
43  SCIP* scip, /**< SCIP data structure */
44  SCIP_DIGRAPH* precedencegraph, /**< precedence graph */
45  SCIP_VAR** vars, /**< start time variables */
46  int* durations, /**< duration of the jobs independent of the resources */
47  int** resourcedemands, /**< resource demand matrix */
48  int* capacities, /**< resource capacities */
49  int njobs, /**< number if jobs */
50  int nresources /**< number of resources */
51  );
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
SCIP_RETCODE SCIPincludeHeurListScheduling(SCIP *scip)
SCIP_RETCODE SCIPinitializeHeurListScheduling(SCIP *scip, SCIP_DIGRAPH *precedencegraph, SCIP_VAR **vars, int *durations, int **resourcedemands, int *capacities, int njobs, int nresources)
SCIP callable library.