Documentation

GRBModel::getCol()


GRBModel::getCol()

Retrieve the list of constraints in which a variable participates, and the associated coefficients. The result is returned as a GRBColumn object.

GRBColumn getCol ( GRBVar var )

    Arguments:

    var: The variable of interest.

    Return value:

    A GRBColumn object that captures the set of constraints in which the variable participates.