GenConstrBuilder::GetBinVal()

Get binary value associated with general constraint.

Synopsis

int GetBinVal()

Return

binary value.

GenConstrBuilder::GetBinVar()

Get binary variable associated with general constraint.

Synopsis

Var GetBinVar()

Return

binary vaiable object.

GenConstrBuilder::GetExpr()

Get expression associated with general constraint.

Synopsis

const Expr &GetExpr()

Return

expression object.

GenConstrBuilder::GetSense()

Get sense associated with general constraint.

Synopsis

char GetSense()

Return

constraint sense.

GenConstrBuilder::Set()

Set binary variable, binary value, expression and sense of general constraint.

Synopsis

void Set(

Var var,

int val,

const Expr &expr,

char sense)

Arguments

var: binary variable.

val: binary value.

expr: expression object.

sense: general constraint sense.