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-2022 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 scipopt.org. */
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 */
36  SCIP* scip /**< SCIP data structure */
37  );
38 
39 /** initialize heuristic */
41  SCIP* scip, /**< SCIP data structure */
42  SCIP_DIGRAPH* precedencegraph, /**< precedence graph */
43  SCIP_VAR** vars, /**< start time variables */
44  int* durations, /**< duration of the jobs independent of the resources */
45  int** resourcedemands, /**< resource demand matrix */
46  int* capacities, /**< resource capacities */
47  int njobs, /**< number if jobs */
48  int nresources /**< number of resources */
49  );
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
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.