|
|
SCIP_RETCODE | SCIPprofileCreate (SCIP_PROFILE **profile, int capacity) |
|
void | SCIPprofileFree (SCIP_PROFILE **profile) |
|
void | SCIPprofilePrint (SCIP_PROFILE *profile, SCIP_MESSAGEHDLR *messagehdlr, FILE *file) |
|
int | SCIPprofileGetCapacity (SCIP_PROFILE *profile) |
|
int | SCIPprofileGetNTimepoints (SCIP_PROFILE *profile) |
|
int * | SCIPprofileGetTimepoints (SCIP_PROFILE *profile) |
|
int * | SCIPprofileGetLoads (SCIP_PROFILE *profile) |
|
int | SCIPprofileGetTime (SCIP_PROFILE *profile, int pos) |
|
int | SCIPprofileGetLoad (SCIP_PROFILE *profile, int pos) |
|
SCIP_Bool | SCIPprofileFindLeft (SCIP_PROFILE *profile, int timepoint, int *pos) |
|
SCIP_RETCODE | SCIPprofileInsertCore (SCIP_PROFILE *profile, int left, int right, int height, int *pos, SCIP_Bool *infeasible) |
|
SCIP_RETCODE | SCIPprofileDeleteCore (SCIP_PROFILE *profile, int left, int right, int height) |
|
int | SCIPprofileGetEarliestFeasibleStart (SCIP_PROFILE *profile, int est, int lst, int duration, int height, SCIP_Bool *infeasible) |
|
int | SCIPprofileGetLatestFeasibleStart (SCIP_PROFILE *profile, int lb, int ub, int duration, int height, SCIP_Bool *infeasible) |
|
creates resource profile
- Parameters
-
profile | pointer to store the resource profile |
capacity | resource capacity |
frees given resource profile
- Parameters
-
profile | pointer to the resource profile |
output of the given resource profile
- Parameters
-
profile | resource profile to output |
messagehdlr | message handler |
file | output file (or NULL for standard output) |
returns the capacity of the resource profile
- Parameters
-
profile | resource profile to use |
returns the number time points of the resource profile
- Parameters
-
profile | resource profile to use |
returns the time points of the resource profile
- Parameters
-
profile | resource profile to use |
returns the loads of the resource profile
- Parameters
-
profile | resource profile to use |
returns the time point for given position of the resource profile
- Parameters
-
profile | resource profile to use |
pos | position |
returns the loads of the resource profile at the given position
- Parameters
-
profile | resource profile |
pos | position |
returns if the given time point exists in the resource profile and stores the position of the given time point if it exists; otherwise the position of the next smaller existing time point is stored
- Parameters
-
profile | resource profile to search |
timepoint | time point to search for |
pos | pointer to store the position |
insert a core into resource profile; if the core is non-empty the resource profile will be updated otherwise nothing happens
- Parameters
-
profile | resource profile to use |
left | left side of the core |
right | right side of the core |
height | height of the core |
pos | pointer to store the first position were it gets infeasible |
infeasible | pointer to store if the core does not fit due to capacity |
subtracts the height from the resource profile during core time
- Parameters
-
profile | resource profile to use |
left | left side of the core |
right | right side of the core |
height | height of the core |
int SCIPprofileGetEarliestFeasibleStart |
( |
SCIP_PROFILE * |
profile, |
|
|
int |
est, |
|
|
int |
lst, |
|
|
int |
duration, |
|
|
int |
height, |
|
|
SCIP_Bool * |
infeasible |
|
) |
| |
return the earliest possible starting point within the time interval [lb,ub] for a given core (given by its height and duration)
- Parameters
-
profile | resource profile to use |
est | earliest starting time of the given core |
lst | latest starting time of the given core |
duration | duration of the core |
height | height of the core |
infeasible | pointer store if the corer cannot be inserted |
int SCIPprofileGetLatestFeasibleStart |
( |
SCIP_PROFILE * |
profile, |
|
|
int |
lb, |
|
|
int |
ub, |
|
|
int |
duration, |
|
|
int |
height, |
|
|
SCIP_Bool * |
infeasible |
|
) |
| |
return the latest possible starting point within the time interval [lb,ub] for a given core (given by its height and duration)
- Parameters
-
profile | resource profile to use |
lb | earliest possible start point |
ub | latest possible start point |
duration | duration of the core |
height | height of the core |
infeasible | pointer store if the core cannot be inserted |
|