KNearestRelaxedValue

class KNearestRelaxedValue : public KValueSelector

This value selector chooses the value closest to the relaxed solution contained in the provided solver.

Since

2016.1

Public Functions

KNearestRelaxedValue(KLinearRelaxationSolver*)

Constructor.

KNearestRelaxedValue(const KNearestRelaxedValue &toCopy)

Copy constructor.

virtual ~KNearestRelaxedValue()

Destructor.

virtual int selectNextValue(KIntVar *intVar)

get Next Value