Class MSCTFastLowerBound
- All Implemented Interfaces:
FastLowerBound<MSCTState>
The MSCTFastLowerBound class estimates a lower bound on the total completion time (or
cost) that can be achieved from a given partial state of the problem. This lower bound is used
within search-based optimization algorithms (such as A*, ACS, or DDO) to prune suboptimal
branches and guide the search toward promising solutions.
Computation logic: a job v scheduled from the current state cannot complete
before max(currentTime, release[v]) + processing[v]. Exactly k more jobs are
scheduled, k being the number of remaining variables, so the bound is the sum of the
k smallest of these completion times.
Note that on a merged (relaxed) state, the set of remaining jobs may contain more than
k jobs: summing the completion times of all of them would overestimate the remaining cost.
Example:
MSCTProblem problem = new MSCTProblem("data/MSCT/msct1.txt");
MSCTState state = new MSCTState(...);
MSCTFastLowerBound lb = new MSCTFastLowerBound(problem);
double lowerBound = lb.fastLowerBound(state, Set.of(0, 1, 2));
System.out.println("Estimated lower bound: " + lowerBound);
-
Constructor Summary
ConstructorsConstructorDescriptionMSCTFastLowerBound(MSCTProblem problem) Constructs a lower bound evaluator for a specific instance of the MSCT problem. -
Method Summary
Modifier and TypeMethodDescriptiondoublefastLowerBound(MSCTState state, Set<Integer> variables) Computes a fast lower bound on the total completion time (or cost) from the given state and remaining variables.
-
Constructor Details
-
MSCTFastLowerBound
Constructs a lower bound evaluator for a specific instance of the MSCT problem.- Parameters:
problem- theMSCTProbleminstance containing the task data (processing times, release dates, etc.).
-
-
Method Details
-
fastLowerBound
Computes a fast lower bound on the total completion time (or cost) from the given state and remaining variables.This method evaluates how good a partial solution can potentially become by estimating the minimal additional cost required to schedule the remaining tasks.
- Specified by:
fastLowerBoundin interfaceFastLowerBound<MSCTState>- Parameters:
state- the current state of the problem, representing already scheduled tasksvariables- the set of remaining variables (tasks) to be scheduled- Returns:
- an estimated lower bound on the minimal total cost achievable from the current state
-