heuristic for cumulative scheduling with optional activities
Definition in file heur_optcumulative.h.
#include "scip/scip.h"
Go to the source code of this file.
Functions | |
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_RETCODE SCIPincludeHeurOptcumulative | ( | SCIP * | scip | ) |
creates the clique primal heuristic and includes it in SCIP
creates the optcumulative primal heuristic and includes it in SCIP
scip | SCIP data structure |
Definition at line 671 of file heur_optcumulative.c.
References DEFAULT_MAXNODES, DEFAULT_MAXPROPROUNDS, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, HEUR_USESSUBSCIP, heurdata, heurdataReset(), heurExitOptcumulative, heurExitsolOptcumulative, heurInitOptcumulative, heurInitsolOptcumulative, NULL, SCIP_CALL, SCIP_LONGINT_MAX, SCIP_OKAY, SCIPaddIntParam(), SCIPaddLongintParam(), SCIPallocBlockMemory, SCIPincludeHeur(), and TRUE.
Referenced by runShell(), and SCIP_DECL_HEURCOPY().
SCIP_RETCODE SCIPinitHeurOptcumulative | ( | SCIP * | scip, |
int | nmachines, | ||
int | njobs, | ||
int * | machines, | ||
SCIP_VAR *** | binvars, | ||
SCIP_VAR *** | vars, | ||
int ** | durations, | ||
int ** | demands, | ||
int * | capacities ) |
initialize the heuristics data structure
scip | original SCIP data structure |
nmachines | number of machines |
njobs | number of njobs |
machines | number of jobs for each machines |
binvars | machnine job matrix (choice variables) |
vars | machnine job matrix (start time variables) |
durations | machnine job duration matrix |
demands | machnine job demands matrix |
capacities | machine capacities |
Definition at line 701 of file heur_optcumulative.c.
References assert(), HEUR_NAME, heurdata, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPallocBlockMemory, SCIPallocBlockMemoryArray, SCIPduplicateBlockMemoryArray, SCIPerrorMessage, SCIPfindHeur(), SCIPheurGetData(), SCIPsortPtrPtrIntInt(), TRUE, and vars.
Referenced by createCipFormulation().