-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IObjectiveManager<V>
public interface IBoundsManager extends Serializable
interface to monitor bounds.- Author:
- Jean-Guillaume Fages, Charles Prud'homme, Arnaud Malapert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Number
getBestLB()
Number
getBestSolutionValue()
Number
getBestUB()
ResolutionPolicy
getPolicy()
default boolean
isOptimization()
default void
resetBestBounds()
Reset best bounds to the initial domain of the objective variablesdefault void
updateBestBounds(IBoundsManager b)
States that b is global bounds on the problemvoid
updateBestLB(Number lb)
States that lb is a global lower bound on the problemvoid
updateBestUB(Number ub)
States that ub is a global upper bound on the problem
-
-
-
Method Detail
-
getPolicy
ResolutionPolicy getPolicy()
- Returns:
- the ResolutionPolicy of the problem
-
isOptimization
default boolean isOptimization()
- Returns:
- true iff the problem is an optimization problem
-
getBestLB
Number getBestLB()
- Returns:
- the best lower bound computed so far
-
getBestUB
Number getBestUB()
- Returns:
- the best upper bound computed so far
-
updateBestLB
void updateBestLB(Number lb)
States that lb is a global lower bound on the problem- Parameters:
lb
- lower bound
-
updateBestUB
void updateBestUB(Number ub)
States that ub is a global upper bound on the problem- Parameters:
ub
- upper bound
-
updateBestBounds
default void updateBestBounds(IBoundsManager b)
States that b is global bounds on the problem- Parameters:
b
- lower and upper bounds
-
getBestSolutionValue
Number getBestSolutionValue()
- Returns:
- the best solution value found so far (returns the initial bound if no solution has been found yet)
-
resetBestBounds
default void resetBestBounds()
Reset best bounds to the initial domain of the objective variables
-
-