public class ILPBranchAndBound extends java.lang.Object implements IPMinimizer<ILPProblem,MinimizationSolution<Vector>>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ILPBranchAndBound.ActiveListFactory
This factory constructs a new instance of
ActiveList for each Integer Linear Programming problem. |
| Constructor and Description |
|---|
ILPBranchAndBound()
Construct a Branch-and-Bound minimizer to solve Integer Linear Programming problems.
|
ILPBranchAndBound(ILPBranchAndBound.ActiveListFactory factory)
Construct a Branch-and-Bound minimizer to solve Integer Linear Programming problems.
|
| Modifier and Type | Method and Description |
|---|---|
MinimizationSolution<Vector> |
solve(ILPProblem problem)
Solve an optimization problem, e.g.,
OptimProblem. |
public ILPBranchAndBound(ILPBranchAndBound.ActiveListFactory factory)
factory - a factory that constructs a new instance of ActiveList for each problempublic ILPBranchAndBound()
public MinimizationSolution<Vector> solve(ILPProblem problem) throws java.lang.Exception
OptimizerOptimProblem.solve in interface Optimizer<ILPProblem,MinimizationSolution<Vector>>problem - an optimization problemjava.lang.Exception - when there is an error solving the problem