GAMSSolver

(class from pyomo.solvers.plugins.solvers.GAMS)

class pyomo.solvers.plugins.solvers.GAMS.GAMSSolver(*args, **kwds)[source]

Bases: _GAMSSolver

A generic interface to GAMS solvers.

Pass solver_io keyword arg to SolverFactory to choose solver mode:
solver_io=’direct’ or ‘python’ to use GAMS Python API

Requires installation, visit Python API page on gams.com for help.

solver_io=’shell’ or ‘gms’ to use command line to call gams

Requires the gams executable be on your system PATH.

__init__(**kwds)

Methods

__init__(**kwds)

default_variable_value()

set_options(istr)

version()

Returns a 4-tuple describing the solver executable version.

warm_start_capable()

True is the solver can accept a warm-start solution.

Member Documentation

version()

Returns a 4-tuple describing the solver executable version.

warm_start_capable()

True is the solver can accept a warm-start solution.