Class KNumNearestRelaxedValue

java.lang.Object
com.artelys.kalis.KNumValueSelector
com.artelys.kalis.KNumNearestRelaxedValue

public class KNumNearestRelaxedValue extends KNumValueSelector
This value selector chooses the value closest to the relaxed solution
contained in the provided solver.

If the relaxed value for a KFloatVar variable is within its bounds, the
selected value is simply the relaxed value. Otherwise, it is the upper or
lower bound of the KFloatVar.

Since:
2016.1