set

Variable.set(value)

Update the value of the variable.

Parameters

value (np.ndarray) – The new value of this variable. It must be real and within the interval defined by lower_bound and upper_bound.

Was this useful?