Skip to content

Commit d41d895

Browse files
committed
NFC: document attributes
1 parent be4dd76 commit d41d895

File tree

1 file changed

+6
-0
lines changed
  • pyomo/contrib/solver/solvers

1 file changed

+6
-0
lines changed

pyomo/contrib/solver/solvers/gams.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def __init__(
110110

111111
@document_class_CONFIG(methods=['solve'])
112112
class GAMS(SolverBase):
113+
#: Global class configuration;
114+
#: see :ref:`pyomo.contrib.solver.solvers.gams.GAMS::CONFIG`.
113115
CONFIG = GAMSConfig()
114116

115117
# default behaviour of gams is to print to console, for
@@ -174,6 +176,10 @@ class GAMS(SolverBase):
174176
def __init__(self, **kwds):
175177
super().__init__(**kwds)
176178

179+
#: Instance configuration;
180+
#: see :ref:`pyomo.contrib.solver.solvers.gams.GAMS::CONFIG`.
181+
self.config = self.config
182+
177183
def available(self) -> Availability:
178184
ver, avail = self._get_version(self.config.executable.path())
179185
return avail

0 commit comments

Comments
 (0)