Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBVar::set()
Set the value of a variable attribute.
void | set ( | GRB_CharAttr | attr, |
char | newvalue ) |
-
Set the value of a char-valued attribute.
Arguments:
attr: The attribute being modified.
newvalue: The desired new value of the attribute.
void | set ( | GRB_DoubleAttr | attr, |
double | newvalue ) |
-
Set the value of a double-valued attribute.
Arguments:
attr: The attribute being modified.
newvalue: The desired new value of the attribute.
void | set ( | GRB_IntAttr | attr, |
int | newvalue ) |
-
Set the value of an int-valued attribute.
Arguments:
attr: The attribute being modified.
newvalue: The desired new value of the attribute.
void | set ( | GRB_StringAttr | attr, |
const string& | newvalue ) |
-
Set the value of a string-valued attribute.
Arguments:
attr: The attribute being modified.
newvalue: The desired new value of the attribute.