Resource Profile Detailed DescriptionFunction Documentation
creates resource profile
Definition at line 4965 of file misc.c. References BMSallocMemory, BMSallocMemoryArray, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by computeAlternativeBounds(), computeEffectiveHorizonCumulativeCondition(), and propagateCumulativeCondition().
frees given resource profile
Definition at line 4989 of file misc.c. References BMSfreeMemory, BMSfreeMemoryArray, and NULL. Referenced by computeAlternativeBounds(), computeEffectiveHorizonCumulativeCondition(), and propagateCumulativeCondition().
output of the given resource profile
Definition at line 5003 of file misc.c. References SCIP_Profile::capacity, SCIP_Profile::loads, SCIP_Profile::ntimepoints, SCIPmessageFPrintInfo(), and SCIP_Profile::timepoints. Referenced by computeEffectiveHorizonCumulativeCondition(), and coretimesUpdateUb().
returns the capacity of the resource profile
Definition at line 5025 of file misc.c. References SCIP_Profile::capacity, and NULL.
returns the number time points of the resource profile
Definition at line 5035 of file misc.c. References SCIP_Profile::ntimepoints, and NULL. Referenced by computeCoreEngeryAfter(), computeEffectiveHorizonCumulativeCondition(), coretimesUpdateLb(), coretimesUpdateUb(), propagateTimetable(), SCIPcomputeHmax(), and SCIPcomputeHmin().
returns the time points of the resource profile
Definition at line 5045 of file misc.c. References NULL, and SCIP_Profile::timepoints. Referenced by computeEffectiveHorizonCumulativeCondition(), SCIPcomputeHmax(), and SCIPcomputeHmin().
returns the loads of the resource profile
Definition at line 5055 of file misc.c. References SCIP_Profile::loads, and NULL. Referenced by computeEffectiveHorizonCumulativeCondition(), SCIPcomputeHmax(), and SCIPcomputeHmin().
returns the time point for given position of the resource profile
Definition at line 5065 of file misc.c. References NULL, and SCIP_Profile::timepoints. Referenced by computeCoreEngeryAfter(), coretimesUpdateLb(), coretimesUpdateUb(), createCoreProfile(), and propagateTimetable().
returns the loads of the resource profile at the given position
Definition at line 5077 of file misc.c. References SCIP_Profile::loads, and NULL. Referenced by computeCoreEngeryAfter(), coretimesUpdateLb(), and coretimesUpdateUb().
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
Definition at line 5091 of file misc.c. References FALSE, SCIP_Profile::ntimepoints, NULL, SCIPsortedvecFindInt(), SCIP_Profile::timepoints, and TRUE. Referenced by coretimesUpdateLb(), coretimesUpdateUb(), profileInsertTimepoint(), SCIPprofileDeleteCore(), SCIPprofileGetEarliestFeasibleStart(), and SCIPprofileGetLatestFeasibleStart().
insert a core into resource profile; if the core is non-empty the resource profile will be updated otherwise nothing happens
Definition at line 5238 of file misc.c. References FALSE, NULL, profileUpdate(), SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by createCoreProfile(), propagateTimetable(), and SCIPcreateWorstCaseProfile().
subtracts the height from the resource profile during core time subtracts the demand from the resource profile during core time
Definition at line 5268 of file misc.c. References profileUpdate(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, and SCIPprofileFindLeft(). Referenced by propagateTimetable().
return the earliest possible starting point within the time interval [lb,ub] for a given core (given by its height and duration) return the earliest possible starting point within the time interval [lb,ub] for a given core (given by its demand and duration)
Definition at line 5358 of file misc.c. References SCIP_Profile::capacity, FALSE, SCIP_Profile::loads, SCIP_Profile::ntimepoints, NULL, profileFindFeasibleStart(), SCIP_Bool, SCIPdebugMessage, SCIPprofileFindLeft(), and SCIP_Profile::timepoints.
return the latest possible starting point within the time interval [lb,ub] for a given core (given by its height and duration) return the latest possible starting point within the time interval [lb,ub] for a given core (given by its demand and duration)
Definition at line 5508 of file misc.c. References SCIP_Profile::capacity, FALSE, SCIP_Profile::loads, SCIP_Profile::ntimepoints, NULL, profileFindDownFeasibleStart(), SCIP_Bool, SCIPdebugMessage, SCIPprofileFindLeft(), and SCIP_Profile::timepoints. |