GenConstrBuilder.GenConstrBuilder()

Constructor of genconstrbuilder.

Synopsis

GenConstrBuilder()

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

Expr GetExpr()

Return

expression object.

GenConstrBuilder.GetIndType()

Get type of general constraint.

Synopsis

int GetIndType()

Return

type of general constraint.

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 binvar,

int binval,

Expr expr,

char sense,

int type)

Arguments

binvar: binary variable.

binval: binary value.

expr: expression object.

sense: general constraint sense.

type: type of general constraint.