Skip to content

Commit 1f462e5

Browse files
author
Norman_Tran
committed
Removed unused _parse_special_value method. Ran black -S -C on GAMS.py
1 parent 88aa608 commit 1f462e5

File tree

1 file changed

+0
-12
lines changed
  • pyomo/solvers/plugins/solvers

1 file changed

+0
-12
lines changed

pyomo/solvers/plugins/solvers/GAMS.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -747,18 +747,6 @@ def _get_version(self):
747747
)
748748
return _extract_version(results.stdout)
749749

750-
@staticmethod
751-
def _parse_special_values(value):
752-
if value == 1.0e300 or value == 2.0e300:
753-
return float('nan')
754-
if value == 3.0e300:
755-
return float('inf')
756-
if value == 4.0e300:
757-
return -float('inf')
758-
if value == 5.0e300:
759-
return sys.float_info.epsilon
760-
return value
761-
762750
def _rewrite_path_win8p3(self, path):
763751
"""
764752
Return the 8.3 short path on Windows; unchanged elsewhere.

0 commit comments

Comments
 (0)