Skip to content

Commit 3effba1

Browse files
committed
Fix OSiL variable default lower bound
1 parent 1e95128 commit 3effba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

suspect/pyomo/osil_reader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _instance_variables(root):
4949
for v in vars_:
5050
attr = v.attrib
5151
name = attr['name']
52-
lb = float(attr['lb']) if 'lb' in attr else None
52+
lb = float(attr['lb']) if 'lb' in attr else 0.0
5353
ub = float(attr['ub']) if 'ub' in attr else None
5454
type_ = attr.get('type', 'C')
5555
if type_ == 'S':

0 commit comments

Comments
 (0)