public class ILPBranchAndBoundMinimizer extends Object implements IPMinimizer<ILPProblem,MinimizationSolution<Vector>>
Modifier and Type | Class and Description |
---|---|
static interface |
ILPBranchAndBoundMinimizer.ActiveListFactory
This factory constructs a new instance of
ActiveList for each Integer Linear Programming problem. |
Constructor and Description |
---|
ILPBranchAndBoundMinimizer()
Construct a Branch-and-Bound minimizer to solve Integer Linear Programming problems.
|
ILPBranchAndBoundMinimizer(ILPBranchAndBoundMinimizer.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 ILPBranchAndBoundMinimizer(ILPBranchAndBoundMinimizer.ActiveListFactory factory)
factory
- a factory that constructs a new instance of ActiveList
for each problempublic ILPBranchAndBoundMinimizer()
public MinimizationSolution<Vector> solve(ILPProblem problem) throws Exception
Optimizer
OptimProblem
.solve
in interface Optimizer<ILPProblem,MinimizationSolution<Vector>>
problem
- an optimization problemException
- when there is an error solving the problemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.