22 SCIP_Var*
var {
nullptr };
37 [[nodiscard]] SCIP_Var*
const getVar()
const;
Wrapper for a SCIP solution.
Wrapper for a SCIP variable.
long long getSolValAsLongInt(const Solution &solution) const
Gets the assigned value in the solution and converts it to long long.
SCIP_Var * var
Pointer to the underlying SCIP variable.
SCIP_Var *const getVar() const
Pointer to the underlying SCIP variable.
bool isVoid() const
Checks whether an existing SCIP variable is wrapped or the wrapper is empty.
int getSolValAsInt(const Solution &solution) const
Gets the assigned value in the solution and converts it to int.
SCIP_Var * getVar()
Pointer to the underlying SCIP variable.
double getSolVal(const Solution &solution) const
Get the assigned value in the solution.
bool isZero(const Solution &solution) const
Checks whether the value of this variable in the primal solution is in range epsilon of 0....