Skip to content

Commit 8d70fc4

Browse files
authored
[#100] Fix add_vars upper bound default in docs (#101)
1 parent 5460118 commit 8d70fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gurobipy_pandas/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def add_vars(
128128
Upper bound for created variables. Can be a single numeric value. If
129129
``pandas_obj`` is an Index or Series, can be a Series aligned with
130130
``pandas_obj``. If ``pandas_obj`` is a dataframe, can be a string
131-
referring to a column of ``pandas_obj``. Defaults to 0.0.
131+
referring to a column of ``pandas_obj``. Defaults to ``GRB.INFINITY``.
132132
obj : float, str, or Series, optional
133133
Linear objective function coefficient for created variables. Can be a
134134
single numeric value. If ``pandas_obj`` is an Index or Series, can be a

0 commit comments

Comments
 (0)