Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
abs_()
abs_ ( argvar )
Used to set a decision variable equal to the absolute value of another decision variable.
Arguments:
argvar (Var): The variable whose absolute value will be taken.
Example usage:
m.addConstr(y == abs_(x))
Return value:
Returns a GenExpr object.