scheduling specific primal heuristic which is based on bidirectional serial generation scheme.
Definition in file heur_listscheduling.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
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_RETCODE SCIPincludeHeurListScheduling | ( | SCIP * | scip | ) |
creates the list scheduling primal heuristic and includes it in SCIP
scip | SCIP data structure |
Definition at line 843 of file heur_listscheduling.c.
References assert(), FALSE, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, heurdata, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPincludeHeurBasic(), and SCIPsetHeurFree().
Referenced by runShell().
SCIP_RETCODE SCIPinitializeHeurListScheduling | ( | SCIP * | scip, |
SCIP_DIGRAPH * | precedencegraph, | ||
SCIP_VAR ** | vars, | ||
int * | durations, | ||
int ** | resourcedemands, | ||
int * | capacities, | ||
int | njobs, | ||
int | nresources ) |
initialize heuristic
scip | SCIP data structure |
precedencegraph | precedence graph |
vars | start time variables |
durations | duration of the jobs independent of the resources |
resourcedemands | resource demand matrix |
capacities | resource capacities |
njobs | number if jobs |
nresources | number of resources |
Definition at line 870 of file heur_listscheduling.c.
References assert(), HEUR_NAME, heurdata, heurdataFree(), heurdataInit(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfindHeur(), SCIPheurGetData(), and vars.
Referenced by SCIPcreateSchedulingProblem().