get#

VarDictND.get(key, default=None, /)#

Get the variable for the specified key, or the default if not found.

Parameters:
keykey
defaultAny, optional
Returns:
docplex.mp.dvar.Var or default