Learn R Programming

rneos (version 0.4-0)

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: https://neos-server.org/neos/xml-rpc.html

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