Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Model.getCol()
getCol ( var )
Retrieve the list of constraints in which a variable participates, and the associated coefficients. The result is returned as a Column object.
Arguments:
var: The variable of interest.
Return value:
A Column object that captures the set of constraints in which the variable participates.
Example usage:
print(model.getCol(model.getVars()[0]))