NgetSolverTemplate: XML-RPC method getSolverTemplate of Neos

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/NgetSolverTemplate.R

Description

This functions calls the XML-RPC method “getSolverTemplate()” of NEOS. If the solver category:solvername:inputMethod exists on NEOS, then an XML template is returned as an object of class NeosXml.

Usage

1
2
NgetSolverTemplate(category, solvername, inputMethod,
                   nc = CreateNeosComm())

Arguments

category

Character, the abbreviation of a category

solvername

Character, the name of the solver to be used.

inputMethod

Character, the name of the solver for which the xml-template shall be returned.

nc

Object of class NeosComm: By default, this argument is set by calling CreateNeosComm() and thereby using the default values of this function.

Value

An object of class NeosXml.

Author(s)

Bernhard Pfaff

References

NEOS API: https://neos-server.org/neos/xml-rpc.html

See Also

NeosXml, NlistAllSolvers and CreateNeosComm

Examples

1
2
3
4
## Not run: 
NgetSolverTemplate(category = "go", solvername = "ASA", inputMethod = "AMPL")

## End(Not run)

rneos documentation built on April 23, 2020, 9:05 a.m.