Follow these steps to submit a job to NEOS via XML-RPC clients:
Save the following template using your browser's copy and paste tools
Using your favorite editor, plug your data files and parameters into
the message in the indicated spots
Descriptions of the input are written with the web interface in
mind. If the description asks for the name of a file, then you will
instead need to insert the contents of the file itself.
The <![CDATA[ ... ]]> tag is an escape
indicator. This will ensure that any special characters in your inputs
(such as <, >, &, etc.) will be interpreted correctly.
For XML-RPC, you need to submit the contents of this file to NEOS with
the
submitJob() method, and retrieve the results with
the getResults() method.
Go here for more
information on using the XML-RPC interface to NEOS.
<document>
<category>lp</category>
<solver>MOSEK</solver>
<inputMethod>MPS</inputMethod>
<email> insert valid email address </email>
<MPS><![CDATA[...Insert Value Here...]]></MPS>
<param><![CDATA[...Insert Value Here...]]></param>
<wantsol><![CDATA[...Insert Value Here...]]></wantsol>
<wantint><![CDATA[...Insert Value Here...]]></wantint>
<wantbas><![CDATA[...Insert Value Here...]]></wantbas>
<comments><![CDATA[...Insert Value Here...]]></comments>
</document>
Description of input values
MPS
Enter the path to your MPS file
param
Enter the path to a parameter file
wantsol
Check the box to include the interior-point solution file as
part of the results
wantint
Check the box to include the int solution file as
part of the results (if the problem contains integer constrained variables)
wantbas
Check the box to include the basis solution file as part of the
results (if the problem is optimized using the simplex optimizer
or basis identification is performed)
comments