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: http://neos-guide.org/content/NEOS-API,
Omegahat web site for RCurl: http://www.omegahat.net/RCurl,
Omegahat web site for XMLRPC: http://www.omegahat.net/XMLRPC

See Also

NeosXml, NlistAllSolvers and CreateNeosComm

Examples

1
2
3
4
5
## Not run: 

NgetSolverTemplate(category = "go", solvername = "ASA", inputMethod = "AMPL")

## End(Not run)

rneos documentation built on May 2, 2019, 5:19 p.m.