|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.cp.solver.search.real.objective.RealObjectiveManager
public abstract class RealObjectiveManager
Field Summary | |
---|---|
protected double |
bound
|
protected RealIntervalConstant |
boundInterval
|
protected double |
floorBound
|
RealVar |
objective
|
protected double |
targetBound
|
Constructor Summary | |
---|---|
RealObjectiveManager(RealVar objective)
|
Method Summary | |
---|---|
Number |
getBestObjectiveValue()
v1.0 accessing the best found objective value of an optimization model (note that the objective value may not be instantiated, while all other variables are) |
abstract double |
getCeilValue()
|
abstract double |
getFloorValue()
|
abstract double |
getInitialBoundValue()
|
Var |
getObjective()
|
Number |
getObjectiveFloor()
Currently best known bound on the optimal solution value of the problem. |
Number |
getObjectiveTarget()
the target for the objective function: we are searching for a solution at least as good as this (tentative bound) |
Number |
getObjectiveValue()
v1.0 accessing the objective value of an optimization model (note that the objective value may not be instantiated, while all other variables are) |
void |
incrementFloorBound()
|
void |
initBounds()
initialization of the optimization bound data structure |
void |
postFloorBound()
propagating the optimization cuts from the new floor bounds |
void |
postIncFloorBound()
|
void |
postTargetBound()
propagating the optimization cuts from the new target bounds |
protected abstract void |
setBoundInterval()
|
void |
writeObjective(Solution sol)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface choco.kernel.solver.search.IObjectiveManager |
---|
isTargetInfeasible, setBound, setTargetBound |
Field Detail |
---|
public final RealVar objective
protected RealIntervalConstant boundInterval
protected double bound
protected double floorBound
protected double targetBound
Constructor Detail |
---|
public RealObjectiveManager(RealVar objective)
Method Detail |
---|
public abstract double getInitialBoundValue()
public abstract double getFloorValue()
public abstract double getCeilValue()
public final Var getObjective()
getObjective
in interface IObjectiveManager
public final Number getObjectiveValue()
IObjectiveManager
getObjectiveValue
in interface IObjectiveManager
public final Number getBestObjectiveValue()
IObjectiveManager
getBestObjectiveValue
in interface IObjectiveManager
public final Number getObjectiveTarget()
IObjectiveManager
getObjectiveTarget
in interface IObjectiveManager
public final Number getObjectiveFloor()
IObjectiveManager
getObjectiveFloor
in interface IObjectiveManager
public final void initBounds()
IObjectiveManager
initBounds
in interface IObjectiveManager
protected abstract void setBoundInterval()
public final void postTargetBound() throws ContradictionException
IObjectiveManager
postTargetBound
in interface IObjectiveManager
ContradictionException
public final void postFloorBound() throws ContradictionException
IObjectiveManager
postFloorBound
in interface IObjectiveManager
ContradictionException
public final void postIncFloorBound() throws ContradictionException
postIncFloorBound
in interface IObjectiveManager
ContradictionException
public final void incrementFloorBound()
incrementFloorBound
in interface IObjectiveManager
public final void writeObjective(Solution sol)
writeObjective
in interface IObjectiveManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |