Scippy

SCIP

Solving Constraint Integer Programs

heur_optcumulative.h File Reference

Detailed Description

heuristic for cumulative scheduling with optional activities

Author
Stefan Heinz

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)
 

Function Documentation

◆ SCIPincludeHeurOptcumulative()

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

Parameters
scipSCIP data structure

Definition at line 691 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, 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().

◆ SCIPinitHeurOptcumulative()

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

Parameters
sciporiginal SCIP data structure
nmachinesnumber of machines
njobsnumber of njobs
machinesnumber of jobs for each machines
binvarsmachnine job matrix (choice variables)
varsmachnine job matrix (start time variables)
durationsmachnine job duration matrix
demandsmachnine job demands matrix
capacitiesmachine capacities

Definition at line 721 of file heur_optcumulative.c.

References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPallocBlockMemory, SCIPallocBlockMemoryArray, SCIPduplicateBlockMemoryArray, SCIPerrorMessage, SCIPfindHeur(), SCIPheurGetData(), SCIPsortPtrPtrIntInt(), and TRUE.

Referenced by createCipFormulation().