File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
pyomo/contrib/solver/solvers Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ def __init__(
110110
111111@document_class_CONFIG (methods = ['solve' ])
112112class 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
You can’t perform that action at this time.
0 commit comments