We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e95128 commit 3effba1Copy full SHA for 3effba1
suspect/pyomo/osil_reader.py
@@ -49,7 +49,7 @@ def _instance_variables(root):
49
for v in vars_:
50
attr = v.attrib
51
name = attr['name']
52
- lb = float(attr['lb']) if 'lb' in attr else None
+ lb = float(attr['lb']) if 'lb' in attr else 0.0
53
ub = float(attr['ub']) if 'ub' in attr else None
54
type_ = attr.get('type', 'C')
55
if type_ == 'S':
0 commit comments