Scippy

SCIP

Solving Constraint Integer Programs

heur_optcumulative.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_optcumulative.h
17  * @brief heuristic for cumulative scheduling with optional activities
18  * @author Stefan Heinz
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_HEUR_OPTCUMULATIVE_H__
24 #define __SCIP_HEUR_OPTCUMULATIVE_H__
25 
26 
27 #include "scip/scip.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 /** creates the clique primal heuristic and includes it in SCIP */
35  SCIP* scip /**< SCIP data structure */
36  );
37 
38 /** initialize the heuristics data structure */
40  SCIP* scip, /**< original SCIP data structure */
41  int nmachines, /**< number of machines */
42  int njobs, /**< number of njobs */
43  int* machines, /**< number of jobs for each machines */
44  SCIP_VAR*** binvars, /**< machnine job matrix (choice variables) */
45  SCIP_VAR*** vars, /**< machnine job matrix (start time variables) */
46  int** durations, /**< machnine job duration matrix */
47  int** demands, /**< machnine job demands matrix */
48  int* capacities /**< machine capacities */
49  );
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_RETCODE SCIPincludeHeurOptcumulative(SCIP *scip)
SCIP_RETCODE SCIPinitHeurOptcumulative(SCIP *scip, int nmachines, int njobs, int *machines, SCIP_VAR ***binvars, SCIP_VAR ***vars, int **durations, int **demands, int *capacities)
SCIP callable library.