Learn R Programming

rneos (version 0.3-2)

NgetSolverTemplate: XML-RPC method getSolverTemplate of Neos

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

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.

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

Run this code
# NOT RUN {
NgetSolverTemplate(category = "go", solvername = "ASA", inputMethod = "AMPL")
# }

Run the code above in your browser using DataLab