QConstraint.get()
Get information value of the quadratic constraint.
Synopsis
double get(String info)
Arguments
info
: name of the information being queried.Return
information value.
QConstraint.getIdx()
Get index of the quadratic constraint.
Synopsis
int getIdx()
Return
the index of the quadratic constraint.
QConstraint.getName()
Get name of the constraint.
Synopsis
String getName()
Return
the name of the constraint.
QConstraint.getRhs()
Get rhs of quadratic constraint.
Synopsis
double getRhs()
Return
rhs of quadratic constraint.
QConstraint.getSense()
Get rhs of quadratic constraint.
Synopsis
char getSense()
Return
rhs of quadratic constraint.
QConstraint.remove()
Remove this constraint from model.
Synopsis
void remove()
QConstraint.set()
Set information value of the quadratic constraint.
Synopsis
void set(String info, double val)
Arguments
info
: name of the information.
val
: new information value.
QConstraint.setName()
Set name of quadratic constraint.
Synopsis
void setName(String name)
Arguments
name
: the name to set.
QConstraint.setRhs()
Set rhs of quadratic constraint.
Synopsis
void setRhs(double rhs)
Arguments
rhs
: rhs of quadratic constraint.
QConstraint.setSense()
Set sense of quadratic constraint.
Synopsis
void setSense(char sense)
Arguments
sense
: sense of quadratic constraint.