GRBModel::addGenConstrNorm()

Add a new general constraint of type GRB_GENCONSTR_NORM to a model.

A NORM constraint $r = \mbox{norm}\{x_1,\ldots,x_n\}$ states that the resultant variable $r$ should be equal to the vector norm of the argument vector $x_1,\ldots,x_n$.

GRBGenConstr addGenConstrNorm ( GRBVar resvar,
    const GRBVar* vars,
    int len,
    double which,
    string name="" )